/* Shared Component Styles - Consolidated from multiple CSS files */

/* Button components moved to buttons.css for unified styling */

/* === MODAL COMPONENTS === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    outline: none; /* Remove focus outline */
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
    background: #f8f9fa;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-800, #1f2937);
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    color: #6c757d;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.modal-close:focus {
    outline: 2px solid var(--primary-500, #3b82f6);
    outline-offset: 2px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 24px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

/* === PAGINATION COMPONENTS === */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 12px 0;
}

.pagination-info {
    color: #6c757d;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-controls .btn {
    min-width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
}

/* === FORM COMPONENTS === */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #495057;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #007bff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

/* === STATUS INDICATORS === */
.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-preparing {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.status-ongoing {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, #007bff 0%, #4dabf7 100%);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.status-locked {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.status-preparing {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
}

.status-badge.status-ongoing {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.status-badge.status-completed {
    background: linear-gradient(135deg, #007bff 0%, #4dabf7 100%);
}

.status-badge.status-locked {
    background: linear-gradient(135deg, #6c757d 0%, #adb5bd 100%);
}

/* === STATE COMPONENTS === */
.state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 200px;
}

.state-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.state-icon i {
    font-size: 2rem;
}

.state-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-800, #1f2937);
}

.state-message {
    color: var(--gray-600, #4b5563);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.state-action {
    margin-top: 1rem;
}

/* Loading State */
.state-loading .state-icon {
    background: var(--primary-100, #dbeafe);
    color: var(--primary-600, #2563eb);
}

.state-loading .state-text {
    color: var(--gray-600, #4b5563);
    margin-top: 1rem;
}

/* Empty State */
.state-empty .state-icon {
    background: var(--gray-100, #f3f4f6);
    color: var(--gray-500, #6b7280);
}

/* Error State */
.state-error .state-icon {
    background: var(--error-100, #fee2e2);
    color: var(--error-600, #dc2626);
}

.state-error .state-title {
    color: var(--error-700, #b91c1c);
}

/* Responsive styles moved to responsive.css */



