/* Users Page Specific Styles */

/* Statistics Section */
.stats {
    background: #fff3cd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    border: 1px solid #ffeaa7;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    color: #856404;
    display: block;
}

.stat-label {
    color: #856404;
    font-size: 14px;
    margin-top: 5px;
}

/* Page specific buttons */
.btn-create {
    background: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
}

.btn-create:hover {
    background: #e0a800;
    border-color: #d39e00;
}

.btn-password {
    background: #17a2b8;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    margin-right: 5px;
}

.btn-password:hover {
    background: #117a8b;
}

/* Page specific table styles */
th {
    background-color: #ffc107;
    color: #212529;
}

th:last-child {
    background-color: #ffc107;
}

tr:hover td:last-child,
tr:hover {
    background-color: #fff3cd;
}

/* Role badges */
.role-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.role-admin {
    background: #dc3545;
    color: white;
}

.role-staff {
    background: #28a745;
    color: white;
}

.role-ctv {
    background: #6f42c1;
    color: white;
}

.user-id {
    font-family: monospace;
    font-size: 11px;
    color: #6c757d;
}

.username {
    font-weight: 600;
    color: #333;
}

.created-date {
    color: #6c757d;
    font-size: 12px;
}

/* Page specific form focus color */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ffc107;
    box-shadow: 0 0 5px rgba(255,193,7,0.3);
}

.readonly-field {
    background-color: #f8f9fa;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-weight: 600;
}

/* Page specific spinner color */
.spinner {
    border-top: 4px solid #ffc107;
}

/* Mobile specific for users */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .role-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .btn-edit, .btn-password, .btn-delete {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@media (max-width: 1200px) {
    .role-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
}