a.link {
    color: #a5c422 !important;
    transition: all 1s !important;
    display: inline-block;
    position: relative;
}

a.link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #a5c422;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a.link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.font-weight-bold {
    font-weight: bold;
}

.btn-green, .btn-green:focus {
    background-color: #a5c422;
    color: #fff;
    transition: all 0.6s;
}
.btn-green:hover {
    background-color: #000;
    color: #fff;
}

.btn-delete, .pro-submit-btn{background-image: linear-gradient(to right, #ADD100 0%, #7B920A  51%, #ADD100  100%)}
.btn-delete, .pro-submit-btn {
   margin: 10px;
   padding: 5px 25px;
   text-align: center;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 20px #eee;
   border-radius: 5px;
   display: block;
   border:none;
}

.btn-delete:hover, .pro-submit-btn:hover{
   background-position: right center;
   color: #fff;
   text-decoration: none;
}

.delete-header {
}

.logo {
    width: 75px;
}


.section-btn, .section-btn.btn.btn-default.smoothScroll{background-image: linear-gradient(to right, #ADD100 0%, #7B920A  51%, #ADD100  100%)}
.section-btn, .section-btn.btn.btn-default.smoothScroll {
   margin: 10px;
   text-align: center;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 20px #eee;
   border-radius: 4px;
   border:none;
}

.section-btn:hover, .section-btn.btn.btn-default.smoothScroll:hover {
   background-position: right center;
   color: #fff;
   text-decoration: none;
}

.custom-angle-up {
  display: inline-block;
  position: relative;
  height: 30px;
  width: 100px; /* adjust width as needed */
  font-size: 20px; /* adjust font size as needed */
  text-indent: -1000px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}

.custom-angle-up::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation-name: arrow-up;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes arrow-up {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, -10px);
  }
}

.main-form {
    margin-top: 2.5rem !important;
    width: 100%;
}

.generic-main-content {
    width: 80%;
    margin-top: 2.5rem !important;
    margin-top: 15vh;
}

.post-infered-table {
    width: 100%;
    margin: 0 auto;
}

.outside-help-options-table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin: 0 auto;
}

.cat-submit-button {
    background: #a5c422;
    text-align: center;
    color:#ffffff !important;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 14px;
}

.hidden-error-message {
    visibility: hidden; /* Hides the element but keeps its space occupied */
    color: red; /* Sets the text color */
    height: 0; /* Ensures it doesn't take up space */
    overflow: hidden; /* Ensures no content spills over */
    margin: 0; /* Resets margin to avoid spacing */
    padding: 0; /* Resets padding */
}

.hidden-error-message.visible {
  visibility: visible; /* Makes the element visible */
  height: auto; /* Allows the content to occupy its natural height */
  padding: initial; /* Restores padding */
}

.appeal_text {
    width: 100%;
    height: 20em;
}

.full_address {
    height: 5em;
    width: 80em;
}

.comments {
    height: 10em;
    width: 80em;
}

.spacer {
    height: 5px;
}

.img-fluid.img-thumbnail {
    max-width: 200px;
    margin: auto;
    border: none;
    height: auto;
    padding: 5px;
}

.img-fluid.img-logo {
    max-width: 25px;
    margin: auto;
    border: none;
    height: auto;
    padding: 5px;
}

.row.align-items-center {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.row {
    display: flex;
    flex-wrap: nowrap;
}

.row.no-gutters {
    margin: 0;
    justify-content: center;
}

.row.no-gutters .col-md-2 {
    padding: 0;
    flex-basis: 20%;
}

.row.no-gutters .col-md-2 img{
    width: 100%;
    height: auto;
    margin: 5px;
    flex-basis: 20%;
}

.row .col-md-2 {
    margin: 10px;
    flex-basis: 20%;
}

#id_name, #id_job_title_or_provider_type, #id_email, #id_phone_number, #id_business_name, #id_address, #id_most_common_denial, #id_comments{
    border-radius: .375rem;
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
}

#id_address, #id_business_name{
    width: 30em;
}
/* Handle form stacking v.s. non-stacking on mobile v.s. desktop. */

/* Form Prompts Layout */

.together-form-group {
    /* Default layout for desktop */
    display: flex;
    flex-wrap: nowrap; /* Keep items on one line */
}

.together-form-group > div {
  /* Individual prompt container */
    margin: 10px;
    flex: 1;
}

/* Mobile-specific layout (vertically stacked prompts) */
@media only screen and (max-width: 768px) {
    .together-form-group {
	/* Switch to vertical layout on mobile */
	flex-direction: column;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
    }

    .together-form-group > div {
	/* Individual prompt container on mobile */
	margin: 10px 0;
    }
}
