/* Meeting Scheduler Modal Styles - Light Theme */
.meeting-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Slate overlay */
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.meeting-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.meeting-modal-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.4s ease;
}

.meeting-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.meeting-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.meeting-modal-header {
    padding: 3rem 3rem 2rem 3rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 24px 24px 0 0;
}

.meeting-modal-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #e0e7ff;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.meeting-modal-badge span {
    color: #4f46e5;
    font-size: 13px;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meeting-modal-title {
    color: #0f172a;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 0.75rem;
}

.meeting-modal-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.meeting-modal-body {
    padding: 2rem 3rem 3rem 3rem;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
}

.scheduler-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Modal Panels */
.modal-panel {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.panel-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.calendar-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.user-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.panel-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
}

/* Form Elements */
.input-card {
    margin-bottom: 1.5rem;
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #475569;
    font-family: 'DM Sans', sans-serif;
}

label span {
    color: #ef4444;
}

input,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    color: #0f172a;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

/* Date Picker */
#meetingDate {
    cursor: pointer;
}

/* Time Slots Grid */
.time-selection {
    margin-bottom: 1.5rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'DM Sans', sans-serif;
    text-align: center;
}

.time-slot:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    transform: translateY(-1px);
}

.time-slot.selected {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Selected Info Box */
.selected-info {
    padding: 16px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    display: none;
    animation: fadeIn 0.3s ease;
}

.selection-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    color: #15803d;
    font-weight: 600;
    font-size: 13px;
}

#selectedDateTime {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    color: #166534;
}

/* Submit Button */
#scheduleMeetingBtn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    font-family: 'DM Sans', sans-serif;
    margin-top: 1rem;
}

#scheduleMeetingBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

#scheduleMeetingBtn span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.trust-item {
    text-align: center;
}

.trust-title {
    color: #4f46e5;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.trust-desc {
    color: #64748b;
    font-size: 13px;
}

/* Result Message */
#schedulerResult {
    margin-top: 1rem;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.success-message {
    color: #16a34a;
    background: #dcfce7;
    padding: 10px;
    border-radius: 8px;
}

.error-message {
    color: #dc2626;
    background: #fee2e2;
    padding: 10px;
    border-radius: 8px;
}

/* Add to Calendar Buttons */
.calendar-btn-group {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.calendar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'DM Sans', sans-serif;
    border: 1px solid #e2e8f0;
}

.calendar-apple {
    background: #ffffff;
    color: #000000;
}

.calendar-apple:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.calendar-outlook {
    background: #0078d4;
    color: #ffffff;
    border-color: #0078d4;
}

.calendar-outlook:hover {
    background: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.calendar-close {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.calendar-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.calendar-btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .scheduler-grid {
        grid-template-columns: 1fr;
    }

    .meeting-modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .meeting-modal-header {
        padding: 2rem 1.5rem;
    }

    .meeting-modal-body {
        padding: 1.5rem;
    }

    .modal-panel {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .time-slots-grid {
        grid-template-columns: 1fr !important;
    }

    .meeting-modal-title {
        font-size: 24px !important;
    }

    .meeting-modal-header {
        padding: 2rem 1rem 1rem 1rem !important;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}