﻿/**
 * Consolidated Modal Styles
 * This file contains all modal-related styles from individual Razor components
 */

/* ==================== Closure Modal (BusinessHoursPresentation/Components/ClosureModal) ==================== */
.closure-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.closure-modal {
    background: white;
    border-radius: 16px;
    width: 450px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.closure-modal-header {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.closure-modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

@media (max-width: 576px) {
    .closure-modal {
        width: 95vw;
        margin: 1rem;
    }

    .closure-modal-header {
        padding: 0.875rem 1rem;
    }

    .closure-modal-body {
        padding: 1.25rem;
    }
}

/* ==================== Business Hour Modal (BusinessHoursPresentation/Components/BusinessHourModal) ==================== */
.business-hour-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.business-hour-modal {
    background: white;
    border-radius: 16px;
    width: 420px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.business-hour-modal-header {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.business-hour-modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.time-range-field {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

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

@media (max-width: 576px) {
    .business-hour-modal {
        width: 95vw;
        margin: 1rem;
    }

    .business-hour-modal-header {
        padding: 0.875rem 1rem;
    }

    .business-hour-modal-body {
        padding: 1.25rem;
    }

    .time-range-field {
        flex-direction: column;
        gap: 0;
    }

    .half-width {
        margin-bottom: 1.25rem;
    }
}

/* ==================== Product Editor Modal (ProductsPresentation/Components/ProductEditorModal) ==================== */
.modal-dialog.modal-fullscreen {
    margin: 0;
    max-width: 100%;
    height: 100vh;
}

.modal-fullscreen .modal-content {
    height: 100vh;
    border: none;
    border-radius: 0;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

.modal-title {
    font-weight: 600;
    font-size: 1.3rem;
}

.modal-title i {
    margin-right: 0.75rem;
}

.btn-close {
    opacity: 0.8;
    font-size: 18px;
}

.btn-close:hover {
    opacity: 1;
}

.editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: calc(100vh - 120px);
    gap: 0;
}

@media (max-width: 1200px) {
    .editor-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
}

@media (max-width: 768px) {
    .modal-fullscreen .modal-content {
        height: 100vh;
    }

    .editor-container {
        height: calc(100vh - 100px);
    }
}

/* ==================== Appointment Modal (SchedulerComponets/Components/AppointmentModal) ==================== */
.appointment-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease-out;
}

.appointment-modal {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-width: 95vw;
    max-height: 90vh;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.appointment-modal-header {
    background-color: #e9ecef;
    border-bottom: none;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
}

.appointment-modal-body {
    padding: 24px 20px;
    background-color: white;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
}

@media (max-width: 768px) {
    .appointment-modal {
        width: 95vw;
        max-height: 95vh;
        margin: 0;
    }

    .appointment-modal-header {
        padding: 16px;
    }

    .appointment-modal-body {
        max-height: calc(90vh - 120px);
    }
}

/* ==================== Service Editor Modal (ServicesPresentation/Components/ServiceEditorModal) ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease-out;
}

.modal-dialog-custom {
    background: white;
    border-radius: 20px;
    width: 550px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

.modal-content-custom {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.modal-header-custom {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modal-header-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.modal-title-custom {
    margin: 0;
    font-weight: 600;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.modal-title-custom i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.btn-close-custom {
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: rgba(255, 0, 0, 0.4);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    opacity: 0.9;
    z-index: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-custom:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transform: scale(1.05);
}

.btn-close-custom:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.modal-body-custom {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    background: white;
}

.modal-footer-custom {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 20px 20px;
}

.btn-secondary-custom {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    color: #495057;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.btn-secondary-custom:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

.btn-secondary-custom:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.25);
}

.btn-primary-custom:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(32, 201, 151, 0.35);
}

.btn-primary-custom:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .modal-dialog-custom {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header-custom {
        padding: 1rem 1.5rem;
    }

    .modal-title-custom {
        font-size: 1.2rem;
    }

    .modal-title-custom i {
        font-size: 1.1rem;
    }

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

    .modal-footer-custom {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-footer-custom button {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== Image Upload Modal (ImagesPresentation/Components/ImageUploadModal) ==================== */
.upload-section {
    height: 100%;
}

.preview-section {
    height: 100%;
}

.image-preview {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    background: white;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preview-image {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
}

.preview-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.modal-lg {
    max-width: 1200px;
}

@media (max-width: 768px) {
    .image-preview {
        min-height: 200px;
    }

    .preview-image {
        max-height: 150px;
    }
}

/* ==================== Operator Editor Modal (OperatorsPresentation/Components/OperatorEditorModal) ==================== */
.operator-editor-modal .modal-content {
    border-radius: 12px !important;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.operator-editor-modal .modal-header {
    background: linear-gradient(135deg, #20c997, #28a745) !important;
    color: white !important;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.operator-editor-modal .modal-body {
    padding: 2rem;
    background: white;
}

.operator-editor-modal .modal-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 2rem;
    border-radius: 0 0 12px 12px;
}

@media (max-width: 768px) {
    .operator-editor-modal .modal-dialog {
        margin: 1rem;
    }

    .operator-editor-modal .modal-header,
    .operator-editor-modal .modal-body,
    .operator-editor-modal .modal-footer {
        padding: 1rem 1.5rem;
    }

    .operator-editor-modal .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .operator-editor-modal .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== Operator Schedule Modal (OperatorsPresentation/Components/OperatorScheduleModal) ==================== */
.operator-schedule-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    backdrop-filter: blur(3px);
}

.operator-schedule-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
}

.operator-schedule-modal-header {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.operator-schedule-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.operator-schedule-modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

/* Date unavailable styling */
.operator-schedule-modal select.date-unavailable {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.operator-schedule-modal select option:disabled {
    color: #999;
    font-style: italic;
}

.no-slots-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.no-slots-warning i {
    color: #ff9800;
}

.no-slots-warning span {
    color: #856404;
    font-weight: 600;
}

.no-slots-warning small {
    color: #856404;
    font-size: 0.875rem;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .operator-schedule-modal {
        width: 95%;
        margin: 1rem;
    }

    .operator-schedule-modal-header {
        padding: 1rem 1.5rem;
    }

    .operator-schedule-modal-body {
        padding: 1.5rem;
    }
}

/* ==================== Common Modal Utilities ==================== */
.header-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    letter-spacing: 0.5px;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-save {
    background: #28a745;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover:not(:disabled) {
    background: #218838;
    transform: translateY(-1px);
}

.btn-save:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.error-message {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.modal-backdrop.show {
    opacity: 0.5;
}

/* ==================== Operator Assignment Modal (BusinessHoursPresentation/Components/OperatorAssignmentModal) ==================== */
.operator-assignment-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.2s ease-out;
}

.operator-assignment-modal {
    background: white;
    border-radius: 20px;
    width: 600px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
    animation: slideUp 0.3s ease-out;
}

.operator-assignment-modal-header {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
}

.operator-assignment-modal-header .header-title {
    color: #495057;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.operator-assignment-modal-header .header-title i {
    color: #20c997;
    margin-right: 0.5rem;
}

.operator-assignment-modal-header .btn-close-custom {
    background: rgba(255, 255, 255, 1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: rgba(255, 0, 0, 0.4);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.operator-assignment-modal-header .btn-save {
    background: #20c997;
    border: 2px solid #17a085;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}

.operator-assignment-modal-header .btn-save:hover:not(:disabled) {
    background: #17a085;
    border-color: #138f73;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(32, 201, 151, 0.4);
}

.operator-assignment-modal-header .btn-save:disabled {
    background: #6c757d;
    border-color: #5a6268;
    cursor: not-allowed;
    opacity: 0.6;
}

.operator-assignment-modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    background: #f8f9fa;
}

/* Time Slot Info */
.time-slot-info {
    background: linear-gradient(135deg, #0a2b22 0%, #143d32 100%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(10, 43, 34, 0.2);
}

.time-slot-info i {
    color: #20c997;
}

.time-slot-info .premium-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #0a2b22;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Info Box */
.info-box {
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.info-box.info-blue {
    background: rgba(32, 201, 151, 0.08);
    color: #0a2b22;
    border: 1px solid rgba(32, 201, 151, 0.2);
}

.info-box i {
    color: #20c997;
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Scrollable List */
.scrollable-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.scrollable-list::-webkit-scrollbar {
    width: 6px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: #20c997;
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #17a085;
}

/* Operator Assignment Item */
.operator-assignment-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    overflow: hidden;
}

.operator-assignment-item:hover {
    border-color: #ced4da;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.operator-assignment-item.selected {
    border-color: #20c997;
    background: rgba(32, 201, 151, 0.03);
    box-shadow: 0 4px 16px rgba(32, 201, 151, 0.15);
}

/* Operator Row */
.operator-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.operator-row:hover {
    background: rgba(0, 0, 0, 0.02);
}

.operator-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

/* Avatar */
.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a2b22 0%, #20c997 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(10, 43, 34, 0.2);
}

.avatar.avatar-md {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
}

/* Operator Details */
.operator-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.operator-name {
    font-weight: 600;
    font-size: 1rem;
    color: #0a2b22;
}

.operator-role {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

/* Operator Status */
.operator-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.status-badge.badge-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.status-badge.badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #0a2b22;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* Custom Checkbox */
.custom-checkbox {
    position: relative;
    flex-shrink: 0;
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.custom-checkbox input[type="checkbox"]:hover {
    border-color: #20c997;
}

.custom-checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #20c997 0%, #17a085 100%);
    border-color: #17a085;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Operator Options (Expanded) */
.operator-options {
    padding: 0 1.25rem 1rem 1.25rem;
    animation: expandDown 0.2s ease-out;
}

@keyframes expandDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}

.option-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 50%, transparent 100%);
    margin-bottom: 0.75rem;
}

.inheritance-option {
    background: rgba(32, 201, 151, 0.05);
    border: 1px solid rgba(32, 201, 151, 0.15);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.inheritance-option:hover {
    background: rgba(32, 201, 151, 0.08);
    border-color: rgba(32, 201, 151, 0.25);
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.option-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #20c997;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.option-checkbox input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #20c997 0%, #17a085 100%);
}

.option-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
    font-weight: bold;
}

.option-checkbox label {
    font-weight: 600;
    color: #0a2b22;
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
}

.option-checkbox label i {
    color: #20c997;
}

.option-hint {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.option-hint i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Assignment Summary */
.assignment-summary {
    background: white;
    border: 2px solid #20c997;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 16px rgba(32, 201, 151, 0.15);
}

.summary-title {
    font-weight: 700;
    color: #0a2b22;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.summary-title i {
    color: #20c997;
}

.summary-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(32, 201, 151, 0.05);
    border-radius: 8px;
}

.stat-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #495057;
    display: flex;
    align-items: center;
}

.stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a2b22;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    min-width: 36px;
    text-align: center;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 576px) {
    .operator-assignment-modal {
        width: 95vw;
        margin: 1rem;
        border-radius: 16px;
    }

    .operator-assignment-modal-header {
        padding: 1rem;
    }

    .operator-assignment-modal-header .header-title {
        font-size: 0.875rem;
    }

    .operator-assignment-modal-body {
        padding: 1rem;
    }

    .time-slot-info {
        flex-wrap: wrap;
        font-size: 0.875rem;
        padding: 0.875rem 1rem;
    }

    .operator-row {
        padding: 0.875rem 1rem;
    }

    .operator-info {
        gap: 0.75rem;
    }

    .avatar.avatar-md {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .operator-name {
        font-size: 0.9rem;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .operator-options {
        padding: 0 1rem 0.875rem 1rem;
    }

    .inheritance-option {
        padding: 0.875rem;
    }

    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .stat-value {
        align-self: flex-end;
    }
}
