/* Specialty Supervisor Dashboard Styles */
.specialty-dashboard {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a1a;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specialty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.specialty-header h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #2c3e50;
}

.specialty-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.specialty-role-badge {
    background: #4a6fa5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.specialty-logout {
    color: #4a6fa5;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.specialty-logout:hover {
    opacity: 0.8;
}

.specialty-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.specialty-filters input,
.specialty-filters select {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.875rem;
}

.specialty-button {
    background: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.specialty-button:hover {
    background: #3a5a80;
}

.specialty-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.specialty-stat-card {
    flex: 1;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: center;
}

.specialty-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #4a6fa5;
    margin-bottom: 0.5rem;
}

.specialty-stat-label {
    color: #666;
    font-size: 0.875rem;
}

.specialty-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.specialty-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.specialty-table th {
    text-align: left;
    padding: 1rem;
    background: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.specialty-table td {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.specialty-view {
    background: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: background 0.2s;
}

.specialty-view:hover {
    background: #3a5a80;
}

.specialty-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.specialty-modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: auto;
    padding: 2rem;
    position: relative;
}

.specialty-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.specialty-user-details {
    margin-top: 1.5rem;
}

.specialty-detail-row {
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.specialty-detail-label {
    width: 120px;
    font-weight: 600;
    color: #666;
}

.specialty-notice {
    padding: 1rem;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
    text-align: center;
    margin: 2rem 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .specialty-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .specialty-stats {
        flex-direction: column;
    }
    
    .specialty-filters input,
    .specialty-filters select {
        min-width: 100%;
    }
    
    .specialty-detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .specialty-detail-label {
        width: 100%;
    }
}