/* Registration Statistics Widget Styles */
/* Formerly: /static/registration/css/form.css */
/* Purpose: Backend admin interface styling for registration statistics and ticket management */

.registration-stats-container {
    margin-bottom: 30px;
}

.registration-stats-box {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 20px;
    border: 1px solid #e9ecef;
}

.registration-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.registration-stats-header h3 {
    margin: 0;
    color: #495057;
    font-size: 1.25rem;
}

.registration-count {
    background-color: #0066cc;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.disability-indicator {
    background-color: #e2d5f3;
    color: #5a3f72;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Status badge styles moved to /static/css/status-badges.css */

/* Ticket Statistics Widget Styles */
.ticket-stats-widget {
    margin-top: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.ticket-stats-header {
    padding: 12px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
}

.ticket-stats-header:hover {
    background-color: #f8f9fa;
}

.ticket-stats-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
}

.ticket-stats-title i {
    color: #0066cc;
}

.ticket-stats-chevron {
    transition: transform 0.2s ease;
    color: #6c757d;
}

.ticket-stats-chevron.expanded {
    transform: rotate(180deg);
}

.ticket-stats-content {
    padding: 16px;
    display: none;
}

.ticket-stats-content.expanded {
    display: block;
}

.ticket-stats-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.ticket-stat-item {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticket-stat-item:hover {
    background-color: #e3f2fd;
    border-color: #0066cc;
    color: #0066cc;
}

.ticket-stat-item.active {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
}

.ticket-stat-item strong {
    font-weight: 600;
}

.ticket-stats-actions {
    padding-top: 12px;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .ticket-stats-summary {
        flex-direction: column;
        gap: 8px;
    }
    
    .ticket-stat-item {
        text-align: center;
    }
    
    .ticket-stats-header {
        padding: 10px 14px;
    }
    
    .ticket-stats-title {
        font-size: 0.9rem;
    }
}

/* Table row highlighting for filtered results */
.data-table tbody tr.ticket-filtered {
    background-color: #e3f2fd !important;
}

.data-table tbody tr.ticket-hidden {
    display: none;
}

.no-items {
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.no-items h3 {
    color: #6c757d;
    margin-bottom: 1rem;
}

.no-items p {
    color: #adb5bd;
}