/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
/*
html, body {
    height: 110%;
}

body {
    position: relative;
    margin: 0;
    padding-bottom: 60px; 
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px; 
}

*/

html, body {
    touch-action: manipulation;
}

body {
    background: #f8f9fa; 
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.4;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    color: #444;
  }


/* General Logo Styles */
.logo{
    max-height: 20px; /* Adjust to match your menu bar height */
    max-width: 100%; /* Ensures the logo doesn't stretch horizontally */
    height: auto; /* Maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
}

#middle-wizard {
    padding-top: 10px;
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 768px) {
    .logo {
        max-height: 25px; /* Slightly smaller for mobile */
    }
}


footer {
    padding: 10px 10px 15px 10px;
}

.header {
    font-family: Merriweather, Georgia, serif;
    font-size: 28px;
}

p {
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
}

.form-floating>label {
    left: auto;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}


@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    /* background-color: rgb(10, 10, 9); /* Cursor color */
    animation: blink-caret 0.8s step-end infinite; /* Blinking effect */
    vertical-align: text-bottom;
    position: relative; /* Ensures it doesn't escape its container */
    margin-left: 2px;
}

button.forward, button.submit {
    border: none;
    width: 100%;
    font-weight: 700;
    text-align: center;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transform-origin: center center;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 131);
    border: 1px solid transparent;
    transition: 0.3s, transform 0.5s;
    box-shadow: rgba(255, 0, 131, 0.5) 0px 10px 40px -10px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

button.forward:hover {
    background-color: #ff0083;
    box-shadow: 0px 10px 40px -10px rgba(255, 0, 131, .5);
    transform: translateY(-2px); /* Lift effect */
}

button.backward, button.submit {
    border: none;
    width: 100%;
    font-weight: 700;
    text-align: center;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transform-origin: center center;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    background-color: rgb(84, 81, 83);
    border: 1px solid transparent;
    transition: 0.3s, transform 0.5s;
    box-shadow: rgba(29, 29, 29, 0.5) 0px 10px 40px -10px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

button.backward:hover {
    background-color: #090909;
    box-shadow: rgba(29, 29, 29, 0.5) 0px 10px 40px -10px;
    transform: translateY(-2px); /* Lift effect */
}


button.alternative {
    border: none;
    width: 100%;
    font-weight: 700;
    text-align: center;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transform-origin: center center;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 131);
    border: 1px solid transparent;
    transition: 0.3s, transform 0.5s;
    box-shadow: rgba(255, 0, 131, 0.5) 0px 10px 40px -10px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

button.alternative:hover {
    background-color: #ff0083;
    box-shadow: 0px 10px 40px -10px rgba(255, 0, 131, .5);
    transform: translateY(-2px); /* Lift effect */
}
/*
p {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
}
*/

.step {
    width: 90vw;
    max-width: 420px;
}


/*============================================================================================*/
/* Step-1 Specific Styles */
/*============================================================================================*/
.step[name="step-1"] {
    position: relative;
    min-height: 70vh; /* Full viewport height */
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    justify-content: flex-start; /* Aligns content at the top */
    align-items: center; /* Centers content horizontally */
    text-align: center; /* Centers text content */
    padding: 0px 20px 0px 20px;
}

/* Title styling */
.step[name="step-1"] .question_title {
    margin-bottom: 25px; /* Space below the title */
    font-family: Merriweather, Georgia, serif;
    font-size: 28px;
}

.step[name="step-1"] h3 {
    font-size: 28px;
    font-weight: 400;
    color: #666;
   
}

.step[name="step-1"] p {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}


/* Button styling */
.step[name="step-1"] .button-container {
    margin: 10px 20px 30px 20px;
}

.step[name="step-1"] .forward {
    font-weight: 700;
    text-align: center;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transform-origin: center center;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 131);
    border: 1px solid transparent;
    transition: 0.3s, transform 0.5s;
    box-shadow: rgba(255, 0, 131, 0.5) 0px 10px 40px -10px;
    min-width: 233px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}


/* Background image settings */
.step[name="step-1"]::before {
    content: '';
    position: absolute;
    bottom: -85px; /* Anchors the background image to the bottom */
    left: 0;
    right: 0;
    height: 80%; /* Adjust for proper image height */
    background-image: url('../img/movers.png'); /* Replace with the actual image path */
    background-size: contain; /* Scales image proportionally */
    background-position: center bottom; /* Centers the image at the bottom */
    background-repeat: no-repeat; /* Prevents image repetition */
    z-index: -1; /* Ensures it is behind content */
}


/* Footer styling for step-1 */
.step[name="step-1"] .footer {
    position: absolute; /* Keeps footer at the bottom of the step */
    bottom: 0;
    left: 0;
    width: 100%; /* Stretches footer across the step width */
    background-color: #f8f9fa; /* Light gray background */
    text-align: center;
    padding: 10px 20px; /* Padding inside the footer */
    font-size: 14px; /* Font size for footer text */
    color: #666;
    border-top: 1px solid #ddd; /* Optional border for separation */
    z-index: 1; /* Ensures it's above the background */
}



.step[name="step-6"] {
    min-height: 70vh; /* Full viewport height */
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    justify-content: flex-start; /* Aligns content at the top */

}

/* Background image settings */
.step[name="step-6"]::before {
    content: '';
    position: absolute;
    bottom: -200px; /* Anchors the background image to the bottom */
    left: 0;
    right: 0;
    height: 80%; /* Adjust for proper image height */
    background-image: url('../img/moving-quotes.png'); /* Replace with the actual image path */
    background-size: contain; /* Scales image proportionally */
    background-position: center bottom; /* Centers the image at the bottom */
    background-repeat: no-repeat; /* Prevents image repetition */
    z-index: -1; /* Ensures it is behind content */
}

.avatar {
    background: center center no-repeat;
    display: inline-block;
    border-radius: 50%;
    flex-shrink: 0;
    flex-grow: 0;
    transition: width .15s, height .15s, background-size .15s;
}

.avatar.med {
    width: 70px;
    height: 70px;
    background-image: url(../img/lily.jpg);
    background-size: 70px 70px;
}




.header-avatar {
    margin-bottom: 1px;
    text-align: center;
    vertical-align: top;
}

.typed-out-wrapper {
    height: 110px; /* Fixed height for the container */
    width: 100%; /* Full width of the container */

    overflow: hidden; /* Prevent overflow */
   
    padding: 10px;
    box-sizing: border-box;
    background-color: #1f1f1d;
    color: #ddd;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    display: flex; /* Use flexbox for alignment */
    align-items: flex-start; /* Align content to the top */
    justify-content: flex-start; /* Align content to the left */
    align-content: flex-start;
}

.typed-out {
    white-space: pre-wrap; /* Allow text to wrap naturally */
    word-wrap: break-word; /* Handle long words */
    font-size: inherit;
    line-height: inherit;
    margin: 0; /* Reset margin for proper alignment */
    padding: 0; /* Reset padding for proper alignment */
}



input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: rgb(255, 0, 131); /* Pink color */
    cursor: pointer;
    margin-right: 1px; /* Add space between checkbox and label */
}

.checkbox_radio_container input[type="checkbox"]:checked ~ .wrapper, .checkbox_radio_container input[type="radio"]:checked ~ .wrapper {
    background-color: #f7274a;
    color: #fff;
    color: rgb(255, 255, 255);
    background-color: rgb(255, 0, 131);
    border: 1px solid transparent;
    transition: 0.9s, transform 0.9s;
    box-shadow: rgba(255, 0, 131, 0.5) 0px 10px 40px -10px;
    min-width: 233px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  }

  .checkbox_radio_container .wrapper {

    background-color: rgba(155, 155, 155, 0.58);
    min-width: 233px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  }
  .checkbox_radio_container {
    margin-bottom: 0px;
    position: relative;
    color: black;
  }
@media (max-width: 550px) {
    /* Increase the size of the calendar container */
    .daterangepicker {
    /*transform: scale(1.2); /* Adjust scale factor for larger size */
    /* transform-origin: center top; /* Center the scaling */
    /* width: auto !important; /* Let the calendar adapt dynamically */
    }
}
.daterangepicker, .daterangepicker.single .ranges ul {
    width: fit-content !important;
}

/* Increase font sizes for calendar text */
.daterangepicker td,
.daterangepicker th {
    font-size: 18px; /* Larger font size for better readability */
}

/* Adjust navigation buttons */
.daterangepicker .prev,
.daterangepicker .next {
    font-size: 24px; /* Larger navigation arrows */
    width: 40px; /* Adjust width */
    height: 40px; /* Adjust height */
    line-height: 40px; /* Align arrows vertically */
}

/* Highlight selected date with a larger circle */
.daterangepicker .active,
.daterangepicker .active:hover {
    font-size: 18px; /* Match calendar text size */
    font-weight: 800;
    padding: 0px; /* Add padding for larger highlight */
    border-radius: 50%; /* Keep it circular */
    box-shadow: 0px 0px 10px rgba(255, 0, 131, 0.5); /* Optional glowing effect */
}

/* Increase the header font size (Month & Year) */
.daterangepicker .drp-calendar {
    font-size: 20px; /* Header font size for Month/Year */
    padding: 0px;
}
.daterangepicker .calendar {
    display: none;
    padding: 0px;
    margin: 0px; 
    margin-top: 20px;
    
}


/* Progress bar container */
.progress-container {
    width: 90%;
    background-color: #e7e2e2;
    border-radius: 4px;
    overflow: hidden;
    height: 10px;
    margin-top: 20px;
    position: relative;
    padding: 0px !important;
}

.progress-bar {
    height: 100%;
    width: 0%;
    

    background-color: rgb(255, 0, 131);
    border-radius: 4px;
    transition: width 0.7s ease-out;
}

/* Company name container for scrolling */
.company-name-container {
    font-weight: 600;
    font-size: 18px;
    /*text-transform: uppercase;*/
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    height: 22px; /* Fixed height to show one item at a time */
    overflow: hidden; /* Hide overflowing text */

    margin-top: 1px;
}

.custom-switch {
    margin-left: 28px;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}
.form-check-input {
    border: none;
    border-radius: 25px;
    transition: background-color 0.3s ease-in-out;
}

.form-check-input:checked {
    background-color: rgb(255, 0, 131);
}

.table {
    --bs-table-bg:  #f8f8f8;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    position: static;
    top: 100px;
  }


span.error {
    background-color: red;
    color: white;
}

span.error::after {
    border-color: transparent red;
    color: white;
}
.company-table-checkbox {
    vertical-align: top;
    padding-top: 11px;
    background-color: #f8f8f8;
}


.company-table-ratings {
    display: inline;
    align-items: center;
    font-size: 12px;
    font-weight: 200;
    margin-left: 7px;
    background-color: #f8f8f8;
}
.company-table-rating-stars {
    color: #FFD700; /* Gold color for stars */
    background-color: #f8f8f8;
}


.company-table-name {
    background-color: #f8f8f8;
    word-wrap: break-word;
    font-size: 15px;
    font-weight: 600;
    border-bottom: #666;
    border-bottom: 0px;
}

.company-table-comments {
    font-size: 15px;
    font-weight: 300;
}

.questions-container {
    margin-top: 5px;
}

.questions-container[id="questions-container-step-7"] {
    margin: 10px;
}




.flex-container {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%; /* Ensure full container height */

    
}




/*
.ui-menu .ui-menu-item a,.ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active {
	font-weight: normal;
	margin: -1px;
	text-align:left;
	font-size:16px;
    color: blue;
    text-decoration: underline !important;
}

.ui-autocomplete-loading { background:url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/images/ui-anim_basic_16x16.gif) no-repeat right center }

.ui-menu .ui-menu-item a:hover {
    background-image: none !important;
    background-color: white !important;
}
.ui-menu .ui-menu-item {
    background-image: none !important;
    background-color: white !important;
}
*/
.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    color: blue;
    text-decoration: underline !important;
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    overflow: hidden; /* Hide overflowing text */
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
.ui-autocomplete > li {
  padding: 3px 20px;
}
.ui-autocomplete > li.ui-state-focus {
  background-color: #DDD;
}
.ui-helper-hidden-accessible {
  display: none;
}
.ui-menu .ui-menu-item a,.ui-menu .ui-menu-item a.ui-state-hover, .ui-menu .ui-menu-item a.ui-state-active {
    color: blue;
    text-decoration: underline !important;
}

.leaflet-tile-pane {
    filter: grayscale(100%);
    
}

img.leaflet-tile {

    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
  
    /* Safari seems to support, but seems deprecated and does the same thing as the others. */
    image-rendering: -webkit-optimize-contrast;
  }

.map-container {
    position: relative;
    width: 94vw;
    max-width: 94%;
    height: 230px;
    margin-bottom: 15px;
}

.map-marker {
    font-size: 18px; 
    color: rgb(255, 0, 131);
}

.location_name{
    font-family: Lato, "Helvetica Neue", Arial, sans-serif;
    margin-bottom: 10px;
}


.input-loading {
    position: relative;
}

.input-loading::after {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid #ccc;
    border-top-color: #000000;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

button[name='check_sms_code'] {
    padding: 20px 0px;
}

.message-privacy-terms {
    font-size: 8px;
}

.custom-label {
    text-align: left;
    font-weight: bold;
    margin-bottom: 0.2rem; /* Equivalent to mb-2 */
    margin-top: 1rem;    /* Equivalent to mt-2 */
    font-size: 16px;
}