﻿/* Add Contact Page Styles - Exact Match to Design */
/* Add Contact Page Styles - Exact Match to Design */
.content-wrapper {
    background-color: #f8f9fa;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    padding: 24px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
}

.container-fluid {
    margin: 0 auto;
    padding-top: 35px;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    margin-bottom: 24px;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
}

.breadcrumb-item {
    color: #6b7280;
}

.breadcrumb-item a {
    color: #123159;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

    .breadcrumb-item a:hover {
        color: #5A5A5A;
    }

    .breadcrumb-item.active {
        color: #5A5A5A;
        font-weight: 500;
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6b7280;
    font-weight: normal;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #D32F2F;
}

.btn-close {
    background: none;
    border: none;
    font-size: 18px;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 1;
}

/* Form Card Styles - Exact Match */
.form-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-header {
    background: #ffffff;
    padding: 24px 24px 0 24px;
    border-bottom: none;
    position: relative;
}

.form-title {
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: #123159;
    margin: 0 0 24px 0;
    text-align: left;
}

/* Collapse/Expand Icon */


/* Form Body Styles */
.form-body {
    padding: 0 24px 24px 24px;
}



.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    z-index: 1;
}

    .form-row:last-child {
        margin-bottom: 0;
    }

    /* Two-column layout for some rows */
    .form-row.two-columns {
        grid-template-columns: 1fr 1fr;
    }

/* Form Group Styles */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.form-label {
    font-size: 16px !important;
    font-weight: 500;
    color: #3C3C3C;
    margin-bottom: 8px;
    display: block;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

    .form-label.required::after {
        content: "*";
        color: #D32F2F;
        font-weight: bold;
        margin-left: 2px;
    }

/* Form Control Styles - Exact Match */
.form-control {
    width: 100%;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #909090;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
    height: 40px;
    min-height: 44px;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    color: #374151;
    background-color: #ffffff;
    border-color: #3b82f6;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #909090;
    opacity: 1;
    font-weight: 400;
}

/* Select Styles - Exact Match */
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' 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");
}
/* Ensure consistent styling for all select elements */
#agentSelect,
#companySelect {
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 40px 10px 12px;
    font-size: 14px;
    color: #374151;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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;
}

#agentSelect:focus,
#companySelect:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' 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");
}

/* Remove any conflicting styles */
#agentSelect::-ms-expand,
#companySelect::-ms-expand {
    display: none;
}
/* Date Input Styles */
input[type="date"].form-control {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

input[type="date"].form-control:focus {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

/* Custom styling for empty date fields */
input[type="date"].form-control[data-empty="true"]::before {
    content: "MM/DD/YYYY";
    color: #9ca3af;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
}

/* Validation Error Styles */
.field-validation-error {
    color: #D32F2F;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    font-weight: 400;
}

.form-control.input-validation-error {
    border-color: #D32F2F;
}

.form-control.input-validation-error:focus {
    border-color: #D32F2F;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Form Actions - Exact Match */
.form-actions {
    background: #ffffff;
    padding: 20px 24px 24px 24px;
    display: flex;
    gap: 12px;
    border-top: none;
    margin-top: 0;
}

/* Button Styles - Exact Match */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.15s ease-in-out;
    min-width: 80px;
    height: 40px;
}

    .btn:focus {
        outline: 0;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    }

    .btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* Primary Button (Save) - Exact Match */
.btn-save {
    color: #ffffff;
    background-color: #123159;
    border-color: #123159;
    font-weight: 400;
    font-size: 16px;
}

    .btn-save:hover {
        color: #ffffff;
        background-color: #1e3a8a;
        border-color: #1e3a8a;
    }

    .btn-save:focus {
        box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.25);
    }

    .btn-save:active {
        color: #ffffff;
        background-color: #1e3a8a;
        border-color: #1e3a8a;
    }

/* Secondary Button (Cancel) - Exact Match */
.btn-cancel {
    color: #0F4080;
    background-color: #ffffff;
    border-color: #0F4080;
    font-weight: 500;
    font-size: 16px;
}

    .btn-cancel:hover {
        color: #0F4080;
        background-color: #f9fafb;
        border-color: #0F4080;
        font-size: 16px;
    }

.btn-cancel:focus {
    box-shadow: 0 0 0 3px rgba(209, 213, 219, 0.25);
}

    .btn-cancel:active {
        color: #374151;
        background-color: #f3f4f6;
        border-color: #0F4080;
        font-size: 16px;
    }

/* Icon spacing in buttons */
.btn i {
    margin-right: 6px;
    font-size: 16px;
}

/* Remove icon from save button to match design */
.btn-save i {
    display: none;
}
/* State Dropdown Styles */
.state-dropdown-container {
    position: relative;
    width: 100%;
}

.state-dropdown-container .state-input {
    cursor: pointer;
    background-color: #fff;
    padding-right: 40px;
}

.state-dropdown-container .dropdown-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    z-index: 2;
}

.state-dropdown-container .dropdown-toggle-btn:hover {
    color: #374151;
}

.state-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 300px;
    display: none;
    margin-top: 2px;
}

.state-dropdown-menu.show {
    display: block;
}

.dropdown-header {
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.dropdown-search {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.dropdown-search:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.states-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 4px 0;
}

.state-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #374151;
    transition: background-color 0.15s ease;
}

.state-option:hover,
.state-option.hover {
    background-color: #f3f4f6;
}

.state-option.selected {
    background-color: #3b82f6;
    color: #fff;
}

.state-option .state-name {
    display: block;
    font-weight: 400;
}

.no-results {
    padding: 12px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}
/* Custom Dropdown Styles */
.custom-dropdown-container {
    position: relative;
    width: 100%;
}

.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    color: #374151;
    transition: background-color 0.15s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words if necessary */
    word-break: break-word; /* Break long words that don't fit */
    line-height: 1.4; /* Better line spacing for multi-line text */
    min-height: auto; /* Allow height to adjust based on content */
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

    .dropdown-item.selected {
        background-color: #f8f9fa;
        color: black;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

.no-results {
    padding: 12px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    font-style: italic;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .state-dropdown-menu {
        max-height: 250px;
    }
    
    .states-list {
        max-height: 190px;
    }
}
/* Responsive Design */
@media (max-width: 1024px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .form-row.two-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 16px;
    }
    
    .form-header {
        padding: 20px 20px 0 20px;
    }
    
    .form-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .form-body {
        padding: 0 20px 20px 20px;
    }
    
    .form-row,
    .form-row.two-columns {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }
    
    .form-actions {
        padding: 16px 20px 20px 20px;
        flex-direction: column-reverse;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 12px;
    }
    
    .form-header {
        padding: 16px 16px 0 16px;
    }
    
    .form-body {
        padding: 0 16px 16px 16px;
    }
    
    .form-actions {
        padding: 12px 16px 16px 16px;
    }
    
    .breadcrumb {
        font-size: 12px;
    }
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus Management */
.form-control:focus,
.btn:focus {
    z-index: 2;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-control {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .form-control,
    .btn {
        transition: none;
    }
    
    .btn.loading::after {
        animation: none;
    }
}

/* Specific adjustments for exact match */
.form-row:first-child {
    margin-bottom: 24px;
}

.form-row:nth-child(2) {
    margin-bottom: 24px;
}

.form-row:nth-child(3) {
    margin-bottom: 24px;
}

/* Ensure proper spacing between sections */

/* Form Separator Line */
.form-separator {
    border: none;
    height: 1px;
    background-color: #e5e7eb;
    margin: 24px 0;
    width: 100%;
}

/* Two-column layout for specific rows */
.form-row.two-columns {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .form-separator {
        margin: 20px 0;
    }
    
    .form-row.two-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Ensure dropdowns don't interfere with each other */
.custom-dropdown-container {
    position: relative;
    width: 100%;
    z-index: 10; /* Base z-index for all dropdowns */
}

.custom-dropdown-container:nth-child(2) {
    z-index: 11; /* Company dropdown gets higher z-index */
}

.custom-dropdown-container:nth-child(3) {
    z-index: 12; /* Agent dropdown gets highest z-index */
}

.custom-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100; /* Very high z-index to appear above validation errors */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom scrollbar for webkit browsers */
.custom-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.custom-dropdown-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.custom-dropdown-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.custom-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Ensure dropdown container doesn't allow arrows to overflow into dropdown list */
.custom-dropdown-container {
    position: relative;
    width: 100%;
    z-index: 10;
    /* Ensure proper containment */
    overflow: visible;
}

/* Make sure the arrow is contained within the input area only */
.custom-dropdown-container .dropdown-arrow {
    /* Only show arrow when dropdown is closed */
    display: flex;
}

/* Hide arrow when dropdown is open to avoid conflicts */
.custom-dropdown-container:focus-within .dropdown-arrow {
    z-index: 1; /* Keep it below the dropdown list */
}

/* Ensure validation errors don't interfere with dropdowns */
.field-validation-error {
    color: #D32F2F;
    font-size: 12px;
    margin-top: 4px;
    display: block;
    font-weight: 400;
    position: relative;
    z-index: 1; /* Lower z-index than dropdowns */
}

.form-control.input-validation-error {
    border-color: #D32F2F;
    position: relative;
    z-index: 1; /* Lower z-index than dropdowns */
}





/* Specific z-index for agent dropdown to ensure it works */
#agentSearch {
    position: relative;
}

#agentDropdownList {
    z-index: 100 !important; /* Force highest z-index for agent dropdown */
}

/* Adjust input padding to make room for the arrow */
.custom-dropdown-container .form-control {
    padding-right: 35px;
}

.custom-dropdown-container:nth-child(2) {
    z-index: 2; /* Agent dropdown gets higher z-index */
}

.custom-dropdown-container:nth-child(3) {
    z-index: 3; /* State dropdown gets highest z-index */
}

.custom-dropdown-container {
    position: relative;
}

.dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    z-index: 1;
    font-size: 18px;
    /* Ensure arrow is only positioned relative to the input field */
    height: 40px; /* Match input height */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

/* Adjust input padding to make room for the arrow */
.custom-dropdown-container .form-control {
    padding-right: 35px;
}

/* Optional: Change arrow color on focus */
.custom-dropdown-container .form-control:focus + .dropdown-arrow {
    color: #007bff;
}

/* Custom Calendar Styles */
.custom-calendar-container {
    position: relative;
    width: 100%;
}

.custom-calendar-input {
    cursor: pointer;
    background-color: #fff;
    padding-right: 35px;
}


.custom-calendar-widget.show {
    display: block;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 8px 8px 0 0;
}

.calendar-title {
    font-size: 18px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.calendar-nav {
    display: flex;
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: black;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.15s ease;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.calendar-nav-btn:hover {
    background-color: #e5e7eb;
    color: #374151;
}

.calendar-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 0px 20px 8px 20px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: black;
    padding: 4px 0;
    text-transform: none;
    letter-spacing: 0.5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 20px 20px 20px;
}

.calendar-day {
    text-align: center;
    padding: 8px 4px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    transition: background-color 0.15s ease;
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .calendar-day:hover {
        background-color: #f3f4f6;
        border-radius: 100px;
    }

    .calendar-day.other-month {
        color: #9ca3af;
        border-radius: 100px;
    }

.calendar-day.selected {
    background-color: #123159;
    color: #ffffff;
    font-weight: 500;
    border-radius:100px;
}


.calendar-day.today:not(.selected) {
    background-color: white;
    color:inherit;
}
    .calendar-day.today{
        background-color: #123159;
        border-radius:100px;
        color:white;
    }

/* Calendar arrow icon */
.calendar-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    z-index: 1;
    font-size: 18px;
}

/* Adjust input padding to make room for the arrow */
.custom-calendar-container .form-control {
    padding-right: 35px;
    background-color: white;
}

/* Optional: Change arrow color on focus */
.custom-calendar-container .form-control:focus + .calendar-arrow {
    color: #007bff;
}

/* Ensure calendar appears above all other form elements */
.custom-calendar-widget {
    position: absolute;
    top: auto;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 280px;
    display: none;
    margin-top: 2px;
    z-index:999;
    margin-top:65px;
}

/* Ensure the calendar container has the highest stacking context */
.custom-calendar-container {
    position: relative;
}

/* Override any conflicting z-index values from other dropdowns */


/* Ensure form sections don't interfere with calendar */


/* Custom Success Message Styles */
.custom-success-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3C3C3C;
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 500px;
    word-wrap: break-word;
}

/* Override default alert styles for success messages */
.alert-success {
    display: none !important;
}

.custom-dropdown-container,
.custom-dropdown-container:nth-child(2),
.custom-dropdown-container:nth-child(3) {
    position: relative;
    z-index: auto;
}

