/**
 * Maskan Dashboard Operator Styles
 */

.maskan-operator-desk-wrap {
    margin-top: 15px;
    font-family: inherit;
}

.maskan-desk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.maskan-desk-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

/* Metric Cards */
.maskan-operator-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.maskan-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border-left: 4px solid #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.maskan-stat-card.maskan-stat-warning {
    border-left-color: #f59e0b;
}

.maskan-stat-card.maskan-stat-danger {
    border-left-color: #ef4444;
}

.maskan-stat-card.maskan-stat-success {
    border-left-color: #10b981;
}

.maskan-stat-card.maskan-stat-info {
    border-left-color: #0284c7;
}

.maskan-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.maskan-stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.maskan-stat-link {
    font-size: 12px;
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    margin-top: 4px;
}

.maskan-stat-link:hover {
    text-decoration: underline;
}

/* Section Table */
.maskan-desk-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
}

.maskan-desk-section h3 {
    margin-top: 0;
    font-size: 18px;
}

.maskan-origin-tag {
    font-size: 10px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    color: #475569;
}

/* Modal Overlay */
.maskan-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maskan-modal-dialog {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.maskan-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.maskan-modal-header h3 {
    margin: 0;
}

.maskan-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

.maskan-modal-close:hover {
    color: #0f172a;
}
