/* =================================
   1. BASE STYLES & RESET
   ================================= */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

/* =================================
   2. MAIN LAYOUT STRUCTURE
   ================================= */
.login-wrapper {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    padding: 0;
}

.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    background: transparent;
    overflow: hidden;
}

/* Left Side - Illustration */
.login-left {
    flex: 1;
    background: #f6f6f626;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    border-right: 1px solid #e8ecef;
    min-height: 100vh;
}

.illustration-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-illustration {
    width: 100%;
    height: auto;
    max-width: 671px;
    max-height: 688px;
    object-fit: contain;
}

/* Right Side - Form */
.login-right {
    flex: 1;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    background: white;
    overflow-y: auto;
    min-height: 100vh;
}

/* =================================
   3. HEADER & BRANDING
   ================================= */
.vendor-header {
    text-align: right;
    padding: 0 0 25px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f2f5;
}

.vendor-logo .vendor-access {
    font-size: 19px;
    font-weight: 700;
    color: #0d6efd;
    display: block;
    letter-spacing: 0.3px;
}

.vendor-logo .powered-by {
    font-size: 11px;
    color: #9ca3af;
    display: block;
    margin-top: 3px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.brand-header {
    text-align: center;
    margin-bottom: 30px;
    flex-shrink: 0;
    padding-top: 20px;
}

.brand-header h1 {
    color: #0d6efd;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.brand-header .powered-by {
    color: #8e9aaf;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* =================================
   4. STEP MANAGEMENT SYSTEM
   ================================= */
.step-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    z-index: 10;
}

.progress-bar-container {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    width: 100%;
}

.progress-segment {
    flex: 1;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    transition: background-color 0.4s ease;
}

.progress-segment.active {
    background-color: #292929;
}

.progress-text {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    font-weight: 500;
}

/* Step Transitions */
.form-step {
    width: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.form-step.hidden {
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

.form-step.sliding-out {
    opacity: 0;
    transform: translateX(-20px);
}

.form-step.sliding-in {
    opacity: 0;
    transform: translateX(20px);
}

/* =================================
   5. FORM CONTAINER & STRUCTURE
   ================================= */
.login-form-container {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 40px;
}

.form-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-align: left;
}

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

#create_vendor_div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* =================================
   6. FORM FIELDS - REUSABLE COMPONENTS
   ================================= */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.optional {
    font-weight: 400;
    color: #888;
    font-size: 13px;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
}

/* Base Form Field Styles */
.form-field {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #1a1a1a;
    font-family: inherit;
    font-weight: 400;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.form-field::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-field:focus {
    outline: none;
    border-color: #0d6efd;
    transform: translateY(-1px);
}

.form-field:hover:not(:focus) {
    border-color: #d1d5db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* .form-field.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1), 0 4px 12px rgba(220, 53, 69, 0.1);
} */

/* Select Dropdown */
select.form-field {
    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='currentColor' 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 12px center;
    background-size: 16px;
    padding-right: 45px;
    appearance: none;
    cursor: pointer;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: #888;
    transition: all 0.2s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #0d6efd;
    background-color: rgba(228, 33, 39, 0.08);
}

.password-toggle svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.input-wrapper .form-field:not([type="checkbox"]):not([type="radio"]) {
    padding-right: 45px;
}

/* Checkbox Field */
.form-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #0d6efd;
    flex-shrink: 0;
}

/* Error Messages */
.field-error,
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

.small-text p {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0 0;
    font-weight: 400;
    line-height: 1.2;
}

/* =================================
   7. FORM LAYOUTS
   ================================= */
.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.form-group.half-width {
    flex: 1;
    margin-bottom: 0;
}

/* Phone and Company Row */
.phone-company-row .phone-field {
    flex: 0.6;
}

.phone-company-row .company-field {
    flex: 1;
}

/* Address Fields */
.address-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-row {
    display: flex;
    gap: 12px;
}

.address-city {
    flex: 2;
}

.address-state {
    flex: 1;
}

.address-zip {
    flex: 1;
}

.address-row .form-group {
    margin-bottom: 0;
}

/* =================================
   8. SPECIAL FORM COMPONENTS
   ================================= */

.terms-field {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.terms-field:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.terms-field:focus-within {
    border-color: #0d6efd;
    transform: translateY(-1px);
}

.terms-field-label {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
    margin: 0;
}

.terms-field-label .terms-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.terms-field-label .terms-link:hover {
    text-decoration: underline;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.file-upload-display {
    border: 2px dashed #e8eaed;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.file-upload-display:hover {
    border-color: #0d6efd;
    background: #fff;
}

.file-upload-display.dragover {
    border-color: #0d6efd;
    background: rgba(228, 33, 39, 0.02);
}

.file-upload-icon {
    color: #8e9aaf;
    margin-bottom: 8px;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-upload-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.file-upload-subtitle {
    font-size: 12px;
    color: #8e9aaf;
}

.file-selected {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.02);
}

.file-selected .file-upload-icon {
    color: #28a745;
}

/* =================================
   9. PAYMENT COMPONENTS
   ================================= */

/* Payment Methods */
.payment-methods {
    margin-bottom: 24px;
}

.payment-method-option {
    border: 2px solid #e8eaed;
    border-radius: 8px;
    margin-bottom: 12px;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
}

.payment-method-option:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.payment-method-option.selected {
    border-color: #0d6efd;
    box-shadow: 0 0 0 1px rgba(228, 33, 39, 0.1);
}

.payment-method-header {
    display: flex;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    gap: 16px;
}

.payment-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    flex-shrink: 0;
}

.payment-method-option.selected .payment-icon {
    background: rgba(228, 33, 39, 0.1);
    color: #0d6efd;
}

.payment-content {
    flex: 1;
}

.payment-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.payment-description {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.payment-method-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0d6efd;
}

.payment-details {
    padding: 0 18px 18px 18px;
    border-top: 1px solid #f0f2f5;
    background: #fafbfc;
}

.payment-details .form-group {
    margin-bottom: 16px;
}

.payment-details .form-group:last-child {
    margin-bottom: 0;
}

/* Payment Information Sections */
.payment-information-sections {
    margin-bottom: 24px;
}

.payment-info-section {
    background: #f8f9fa;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.info-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8eaed;
}

.info-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.info-link {
    font-size: 13px;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.info-link:hover {
    text-decoration: underline;
}

/* reCAPTCHA */
.recaptcha-group {
    margin-bottom: 24px;
}

.recaptcha-wrapper {
    border: 2px solid #e8eaed;
    border-radius: 8px;
    padding: 16px 18px;
    background: #fafbfc;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.recaptcha-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 10px;
    color: #666;
}

.recaptcha-text {
    font-weight: 600;
    margin-bottom: 2px;
}

.recaptcha-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.recaptcha-link {
    color: #666;
    text-decoration: none;
    font-size: 9px;
}

.recaptcha-link:hover {
    text-decoration: underline;
}

/* =================================
   10. BUTTONS & ACTIONS
   ================================= */

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Back Button */
.back-btn {
    flex: 1;
    padding: 14px 24px;
    background: #E0E0E0;
    color: #000000;
    border: 2px solid #e8eaed;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.back-btn:hover {
    background: #d0d0d0;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.back-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Next Button */
.next-btn {
    width: 100%;
    padding: 14px 24px;
    background: #E42127;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(228, 33, 39, 0.2);
}

.next-btn:hover {
    background: #c31e24;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(228, 33, 39, 0.3);
}

.next-btn:active {
    background: #b01b21;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(228, 33, 39, 0.2);
}

/* Create Account Button */
.create-account-btn {
    flex: 1;
    padding: 14px 24px;
    background: #E42127;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(228, 33, 39, 0.2);
}

.create-account-btn:hover {
    background: #c31e24;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(228, 33, 39, 0.3);
}

.create-account-btn:active {
    background: #b01b21;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(228, 33, 39, 0.2);
}

/* =================================
   11. RESPONSIVE DESIGN
   ================================= */

/* Large Screens (1440px+) */
@media (min-width: 1440px) {
    .login-form-container {
        max-width: 480px;
    }

    .login-right {
        padding: 45px 55px;
    }

    .form-title {
        font-size: 21px;
    }

    .vendor-logo .vendor-access {
        font-size: 19px;
    }
}

/* Large Desktops (1200px-1439px) */
@media (max-width: 1439px) and (min-width: 1200px) {
    .login-form-container {
        max-width: 460px;
    }

    .login-right {
        padding: 42px 52px;
    }

    .form-title {
        font-size: 20px;
    }
}

/* Medium Desktops (992px-1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .login-form-container {
        max-width: 450px;
    }

    .login-right {
        padding: 40px 50px;
    }
}

/* Small Laptops/Large Tablets (768px-991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .login-form-container {
        max-width: 420px;
    }

    .login-right {
        padding: 38px 45px;
    }

    .form-row {
        gap: 14px;
    }

    .phone-company-row .phone-field {
        flex: 0.65;
    }
}

/* Mobile Base (767px and below) */
@media (max-width: 767px) {
    .login-wrapper {
        background: white;
    }

    .login-container {
        background: white;
    }

    .login-left {
        display: none !important;
    }

    .login-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .vendor-header {
        text-align: center;
    }

    .form-title {
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: 18px !important;
    }

    .form-group.half-width {
        margin-bottom: 18px !important;
    }

    .address-row {
        flex-direction: column;
        gap: 12px;
    }

    .address-city,
    .address-state,
    .address-zip {
        flex: 1;
    }

    .form-actions {
        flex-direction: column;
        gap: 12px;
    }

    /* Payment adjustments */
    .payment-method-header {
        padding: 14px 16px;
        gap: 12px;
    }

    .payment-icon {
        width: 36px;
        height: 36px;
    }

    .payment-title {
        font-size: 15px;
    }

    .payment-description {
        font-size: 12px;
    }

    .payment-details {
        padding: 0 16px 16px 16px;
    }

    .recaptcha-wrapper {
        padding: 14px 16px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .recaptcha-logo {
        align-items: flex-start;
    }
}

/* Tablets (576px-767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .login-right {
        padding: 30px 25px;
    }

    .vendor-header {
        padding-bottom: 15px;
        margin-bottom: 20px;
    }

    .form-title {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .vendor-logo .vendor-access {
        font-size: 17px;
    }

    .form-field {
        font-size: 16px;
        padding: 13px 15px;
    }

    .terms-field {
        padding: 11px 14px;
    }

    .terms-field-label {
        font-size: 13px;
    }

    .file-upload-display {
        padding: 20px;
    }
}

/* Large Mobile (480px-575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .login-right {
        padding: 20px 15px;
    }

    .vendor-header {
        padding-bottom: 10px;
        margin-bottom: 15px;
    }

    .form-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .vendor-logo .vendor-access {
        font-size: 16px;
    }

    .vendor-logo .powered-by {
        font-size: 10px;
    }

    .form-group {
        margin-bottom: 16px !important;
    }

    .form-group.half-width {
        margin-bottom: 16px !important;
    }

    .form-field {
        font-size: 16px;
        padding: 12px 14px;
    }

    .terms-field {
        padding: 10px 12px;
    }

    .next-btn {
        padding: 14px 20px;
        margin-bottom: 20px;
    }

    .file-upload-display {
        padding: 16px;
    }
}

/* Medium Mobile (375px-479px) */
@media (max-width: 479px) and (min-width: 375px) {
    .login-right {
        padding: 15px 12px;
    }

    .vendor-header {
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .form-title {
        font-size: 17px;
        margin-bottom: 18px;
    }

    .vendor-logo .vendor-access {
        font-size: 15px;
    }

    .vendor-logo .powered-by {
        font-size: 9px;
    }

    .form-group {
        margin-bottom: 14px !important;
    }

    .form-group.half-width {
        margin-bottom: 14px !important;
    }

    .form-field {
        font-size: 16px;
        padding: 11px 12px;
    }

    .terms-field {
        padding: 9px 11px;
    }

    .next-btn {
        padding: 13px 18px;
        font-size: 15px;
        margin-bottom: 15px;
    }

    /* Payment mobile adjustments */
    .payment-method-header {
        padding: 12px 14px;
        gap: 10px;
    }

    .payment-icon {
        width: 32px;
        height: 32px;
    }

    .payment-title {
        font-size: 14px;
    }

    .payment-description {
        font-size: 11px;
    }

    .payment-details {
        padding: 0 14px 14px 14px;
    }

    .recaptcha-wrapper {
        padding: 12px 14px;
    }

    .file-upload-display {
        padding: 16px;
    }

    .file-upload-title {
        font-size: 13px;
    }

    .file-upload-subtitle {
        font-size: 11px;
    }
}

/* Small Mobile (320px-374px) */
@media (max-width: 374px) {
    .login-right {
        padding: 10px 8px;
    }

    .vendor-header {
        padding-bottom: 6px;
        margin-bottom: 10px;
    }

    .form-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .vendor-logo .vendor-access {
        font-size: 14px;
    }

    .vendor-logo .powered-by {
        font-size: 8px;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

    .form-group.half-width {
        margin-bottom: 12px !important;
    }

    .form-field {
        font-size: 16px;
        padding: 10px 11px;
    }

    .terms-field {
        padding: 8px 10px;
    }

    .terms-field-label {
        font-size: 12px;
        line-height: 1.2;
    }

    .form-checkbox {
        width: 14px;
        height: 14px;
    }

    .next-btn {
        padding: 12px 16px;
        font-size: 14px;
        margin-bottom: 12px;
    }

    .error-message {
        font-size: 11px;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .login-right {
        padding: 20px 40px;
    }

    .vendor-header {
        margin-bottom: 10px;
    }

    .form-title {
        margin-bottom: 15px;
        font-size: 16px;
    }

    .form-group {
        margin-bottom: 10px;
    }
}

/* =================================
   SERVICES SELECTION STYLES
   ================================= */

/* Wrapper for the entire custom multiselect component */
.custom-multiselect-wrapper {
    position: relative;
}

/* The trigger button that looks like a form field */
.multiselect-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding-right: 30px !important; /* Make space for the arrow */
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Placeholder text (e.g., "Select All That Apply") */
.multiselect-placeholder {
    color: #6b7280;
}

/* Element to display selected values */
.multiselect-values {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1f2937;
    font-weight: 500;
}

/* Arrow icon for the dropdown */
.multiselect-arrow-down {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6b7280;
    transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is open */
.custom-multiselect-wrapper.open .multiselect-arrow-down {
    transform: translateY(-50%) rotate(180deg);
}

/* Container for the checkbox options */
.services-selection-container {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 12px;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default, shown by JS */
}

/* Show the dropdown when the wrapper has the 'open' class */
.custom-multiselect-wrapper.open .services-selection-container {
    display: block;
}

/* Individual checkbox option styles */
.service-option {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.service-option:not(:last-child) {
    margin-bottom: 2px;
}

.service-option:hover {
    background-color: #f3f4f6;
}

/* "Select All" option styling */
#select_all_services + .service-label {
    font-weight: 600;
}

.service-option:first-child {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 6px;
    padding-bottom: 8px;
}

/* Checkbox styles */
.service-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #0d6efd;
}

/* Label for the checkbox */
.service-label {
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    flex: 1;
}

/* Scrollbar styling */
.services-selection-container::-webkit-scrollbar {
    width: 6px;
}

.services-selection-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.services-selection-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.services-selection-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Success Message Styles */
.success-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-message {
    margin-bottom: 30px;
    width: 100%;
    max-width: 800px;
}

.success-box {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.success-box .va-header {
    margin: 0;
}

.success-box .alert {
    margin: 0;
    background-color: transparent;
    border: none;
    color: #155724;
    font-weight: 500;
}

.success-video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Responsive adjustments for success message */
@media (max-width: 768px) {
    .success-container {
        padding: 15px;
    }

    .success-box {
        padding: 15px;
    }

    .success-video {
        max-width: 100%;
    }
}
