.form-section {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    align-items: center;
    justify-content: center;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-title {
    text-align: left;
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.form-input {
    background-color: var(--white);
    font-weight: 700;
    border-radius: 0.7rem;
    border: 0;
    padding: 1rem;
    margin: 0.5rem 0;
    font-size: 0.8rem;
    height: 3rem;
    width: 100%;
}

.form-section span {
    font-size: 0.8rem;
    color: var(--light-gray);
}

.form-section .blue {
    color: var(--dark-turquoise);
    cursor: pointer;
}

.form-section .account-creation {
    margin-top: 3rem;
    font-size: 1rem;
    color: var(--light-gray);
    font-weight: 400;
}

.form-section .account-creation .blue {
    font-size: 1rem;
}

.form-btn {
    background: var(--dark-turquoise);
    color: var(--white);
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin: 1rem auto;
}

.form-btn:hover {
    background-color: var(--light-turquoise);
}



.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--dark-gray);
}

.divider span {
    padding: 0 15px;
    font-weight: bold;
    color: var(--dark-gray);
    white-space: nowrap;
}


.mindroom-host-intro {
    flex: 1;
    height: fit-content;
}

.mindroom-host-intro h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.mindroom-host-intro p {
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--light-gray);
}

.mindroom-host-form-section {
    flex: 2;
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mindroom-host-header {
    text-align: center;
    margin-bottom: 2rem;
}

.mindroom-host-header h1 {
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.mindroom-host-header p {
    color: var(--light-gray);
    margin-bottom: 1rem;
}

.mindroom-host-load-preset {
    display: inline-block;
    color: var(--dark-turquoise);
    font-weight: bold;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.mindroom-host-form {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 1rem;

}

.mindroom-host-form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.mindroom-host-form-group {
    display: flex;
    flex: 1;
}

.mindroom-host-form-group label {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--very-light-gray);
}

.mindroom-host-form-section h2 {
    text-align: left;
    width: 100%;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 0.5rem;
}

.mindroom-host-checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.mindroom-host-checkbox-group input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin: 0;
}

.mindroom-host-checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--very-light-gray);
}

.mindroom-host-checkbox-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 0.5rem 0;
}

.mindroom-host-price-breakdown {
    padding: 1rem;
    width: 17rem;
    margin-left: 4rem;
    margin-top: 2rem;
}

.mindroom-host-price-breakdown h3 {
    padding-bottom: 2rem;
}

.mindroom-host-price-item {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.mindroom-host-price-total {
    padding-top: 2rem;
    margin-top: 0.5rem;
    font-weight: bold;
}

.mindroom-host-divider {
    width: 100%;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    text-align: center;
}

.mindroom-host-divider::before,
.mindroom-host-divider::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--dark-gray);
}

.mindroom-host-divider span {
    padding: 0 15px;
    font-weight: bold;
    color: var(--dark-gray);
    white-space: nowrap;
}

.mindroom-host-form-input {
    background-color: #f8f6f2;
    color: #b3b3b3;
    font-weight: 700;
    border-radius: 0.7rem;
    border: none;
    padding: 1rem;
    margin: 0.5rem 0;
    font-size: 1rem;
    height: 3rem;
    box-sizing: border-box;
}

.mindroom-host-calendar-form-input {
    color: rgb(124, 124, 255);
    background-color: #f8f6f2;
    font-weight: 700;
    border-radius: 0.7rem;
    border: none;
    padding: 1rem;
    margin: 0.5rem 0;
    font-size: 1rem;
    height: 3rem;
    box-sizing: border-box;
}

select.mindroom-host-form-input {
    /* Add extra padding on the right for the arrow */
    padding-right: 2.5rem !important;

    /* Remove default arrow and add custom one */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* Add custom arrow icon */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.textArea {
    height: 10rem;
}

::placeholder {
    color: var(--very-light-gray);
    opacity: 1;
}

.w-75 {
    width: 75%
}

.w-100 {
    width: 100%
}

.w-50 {
    width: 50%
}

.w-25 {
    width: 25%
}

.w-40 {
    width: 40%
}

.mr-1 {
    margin-right: 1rem;
}

.tags-display {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;

}

.checkbox-switch {
    justify-content: space-around;
    align-items: center;
}


.mindroom-host-form-input:focus {
    outline: none;
    border-color: var(--dark-turquoise);
}

.mindroom-host-form-btn {
    background: var(--dark-turquoise);
    color: var(--white);
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.mindroom-host-form-btn:hover {

    background: var(--light-turquoise);

}

.mindroom-host-form-secondary-btn {
    color: var(--dark-turquoise);
    background-color: transparent;
    border: none;
}

.mindroom-host-form-secondary-btn:hover {
    color: var(--light-turquoise)
}

.mt-2 {
    margin-top: 2rem;
}

.btns {
    justify-content: flex-end;
}

.mindroom-host-form-btn:hover {
    background: var(--light-turquoise);
}

.mindroom-host-account-creation {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--light-gray);
    font-weight: 400;
    text-align: center;
}

.mindroom-host-account-creation .blue {
    font-size: 1rem;
    color: var(--dark-turquoise);
    text-decoration: none;
    font-weight: bold;
}

.mindroom-host-terms {
    font-size: 0.8rem;
    color: var(--light-gray);
    text-align: center;
    margin-top: 1rem;
}

.mindroom-host-terms .blue {
    color: var(--dark-turquoise);
    text-decoration: none;
}

.mindroom-host-w-25 {
    width: 25%;
}

.mindroom-host-w-30 {
    width: 30%;
}

.mindroom-host-w-50 {
    width: 50%;
}

.mindroom-host-w-75 {
    width: 75%;
}

.mindroom-host-w-100 {
    width: 100%;
}

.radio [type="radio"],
.features [type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    /* Square with slightly rounded corners */
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    background-color: transparent;
    transition: all 0.2s ease;
}

label {
    color: var(--light-gray);
}

.terms {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.responsability {
    color: var(--light-gray)
}

/* Square radio button when checked */
.radio input[type="radio"]:checked,
.features input[type="checkbox"]:checked {
    background-color: var(--light-turquoise);
    border-color: var(--dark-turquoise);
}

.selected-users-display {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.remove-user {
    background: none;
    border: none;
    color: var(--dark-gray)
}

/* Create the checkmark inside the square */
.radio input[type="radio"]:checked::after,
.features input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Hover state */
.radio input[type="radio"]:hover,
.features input[type="checkbox"]:hover {
    border-color: var(--dark-turquoise);
}

/* Focus state */
.radio input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(72, 209, 204, 0.2);
}


.switch {
    position: relative;
    display: inline-block;
    width: 4.4rem;
    height: 2rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    /* Add this */
    z-index: 1;
    /* Add this - makes it clickable but not visible */
}



.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f8f6f2;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.5rem;
    width: 2rem;
    left: 4px;
    bottom: 4px;
    background-color: #0f1521;
    -webkit-transition: .4s;
    transition: .4s;
}




input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    background-color: #7Eb2b0
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 47%;
}

/* Fix for checkbox groups */
.mindroom-host-checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}


/* For regular checkboxes (not switches) */
.radio input[type="checkbox"]:not(.switch input),
.radio input[type="radio"],
.features input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-right: 0.5rem;
}

.radio {
    align-items: center;
    display: flex;
}


.searchable-dropdown {
    position: relative;
}

.dropdown-input-container {
    position: relative;
    width: 100%;
}

.searchable-dropdown-input {
    width: 100%;
    background-color: #f8f6f2;
    color: #b3b3b3;
    font-weight: 700;
    border-radius: 0.7rem;
    border: none;
    padding: 1rem;
    margin: 0.5rem 0;
    font-size: 1rem;
    height: 3rem;
    box-sizing: border-box;
}

.searchable-dropdown-input:focus {
    outline: none;
    border-color: var(--dark-turquoise);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0.7rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    margin-top: 4px;
    color: #b3b3b3;
}

.dropdown-options.active {
    display: block;
}

.dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.95rem;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background-color: #f5f5f5;
    color: #0f1521;
}

.dropdown-option.selected {
    background-color: var(--dark-turquoise);
    color: white;
}

.dropdown-option.selected:hover {
    background-color: var(--light-turquoise);
}

.no-results {
    padding: 12px;
    color: var(--very-light-gray);
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
}

/* Clear button for searchable dropdown */
.clear-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--very-light-gray);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.clear-btn:hover {
    color: var(--dark-gray);
}

/* Loading state for dropdown */
.dropdown-loading {
    position: relative;
    opacity: 0.7;
}

.dropdown-loading::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--dark-turquoise);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Tablet and Mobile Styles - UPDATED FIX */
@media (max-width: 1300px) {

    /* Container fix for mindroom host */
    .mindroom-host-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        padding: 1rem;
        gap: 2rem;
    }

    /* Intro section - make it 80% width and centered */
    .mindroom-host-intro {
        width: 80%;
        max-width: 500px;
        text-align: center;
    }

    .mindroom-host-intro h1 {
        text-align: center;
        font-size: 1.5rem;
    }

    .mindroom-host-intro p {
        text-align: center;
    }

    /* Form section - full width and centered */
    .mindroom-host-form-section {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .mindroom-host-form {
        width: 100%;
    }

    /* Make all form rows stack vertically */
    .mindroom-host-form-row {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    /* Force all form groups to full width */
    .mindroom-host-form-group {
        width: 100%;
        flex: none;
        display: flex;
        flex-direction: column;
    }

    /* Center all text elements */
    .mindroom-host-header {
        text-align: center;
    }

    .mindroom-host-header h1 {
        text-align: center;
        font-size: 1.6rem;
    }

    .mindroom-host-header p {
        text-align: center;
    }

    /* Fix section headers */
    .mindroom-host-form-section h2 {
        text-align: center;
        margin: 1.5rem auto 0.5rem;
        width: 90%;
    }

    /* Checkbox grid adjustments */
    .mindroom-host-checkbox-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
    }

    /* Price breakdown - full width and centered */
    .mindroom-host-price-breakdown {
        width: 100%;
        max-width: 400px;
        margin: auto;
        padding-top: 1rem;
        text-align: center;
    }

    .mindroom-host-price-breakdown h3 {
        text-align: center;
    }

    .dropdown-options {
        position: absolute;
        top: 100%;
        left: 0px;
        right: 0px;
        max-height: 200px;
        overflow-y: auto;
        background-color: white;
        border-radius: 4px;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
        z-index: 1000;
        display: none;
        margin-top: 4px;
        color: #b3b3b3
    }

    /* Force all width utility classes to 100% */
    .w-25,
    .w-30,
    .w-40,
    .w-50,
    .w-75,
    .w-100,
    .mindroom-host-w-25,
    .mindroom-host-w-30,
    .mindroom-host-w-50,
    .mindroom-host-w-75,
    .mindroom-host-w-100 {
        width: 100%;
    }

    /* Remove right margin */
    .mr-1 {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    /* Fix tags display */
    .tags-display {
        gap: 0.5rem;
        justify-content: center;
    }

    /* Fix terms section */
    .terms {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    /* Fix user display */
    .selected-users-display {
        gap: 0.5rem;
        justify-content: center;
    }

    /* Adjust textarea */
    .textArea {
        height: 8rem;
    }

    /* Center buttons */
    .btns {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1.5rem;
    }

    .mindroom-host-form-btn,
    .mindroom-host-form-secondary-btn {
        width: 100%;
        text-align: center;
        margin: 0.25rem 0;
    }

    /* Center account creation text */
    .mindroom-host-account-creation {
        text-align: center;
        margin-top: 1.5rem;
    }

    /* Center terms */
    .mindroom-host-terms {
        text-align: center;
    }

    /* Fix checkbox groups */
    .mindroom-host-checkbox-group {
        justify-content: center;
        text-align: center;
    }

    /* Center radio groups */
    .radio {
        justify-content: center;
        text-align: center;
    }

    /* Center checkbox switch */
    .checkbox-switch {
        justify-content: center;
    }

    /* Center dividers */
    .mindroom-host-divider {
        justify-content: center;
    }

    .mindroom-host-price-item {
        display: block;
    }
}

/* Mobile-specific styles (under 768px) */
@media (max-width: 768px) {
    .mindroom-host-container {
        max-width: 95%;
        padding: 0.5rem;
    }

    .mindroom-host-intro,
    .mindroom-host-form-section {
        width: 90%;
    }

    .mindroom-host-checkbox-row {
        grid-template-columns: 1fr;
    }

    .mindroom-host-form-section h2 {
        font-size: 1.1rem;
        text-align: center;
    }

    .mindroom-host-header h1 {
        font-size: 1.4rem;
    }

    .mindroom-host-form-input {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

/* Small mobile (under 480px) */
@media (max-width: 480px) {

    .mindroom-host-intro,
    .mindroom-host-form-section {
        width: 95%;
    }

    .mindroom-host-intro h1 {
        font-size: 1.3rem;
    }

    .mindroom-host-header h1 {
        font-size: 1.2rem;
    }

    /* Adjust smaller elements */
    .switch {
        width: 3.5rem;
        height: 1.75rem;
    }

    .slider:before {
        height: 1.25rem;
        width: 1.5rem;
    }

    input:checked+.slider:before {
        transform: translateX(20px);
    }
}