

.admin-header-top {
    background: rgba(0, 0, 0, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-role-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(52, 152, 219, 0.15);
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 8px;
    color: #3498db;
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-role-badge i {
    font-size: 0.9rem;
}

.admin-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
}

.admin-email {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 968px) {
    .admin-user-info {
        gap: 1rem;
    }
    
    .admin-role-badge {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .admin-username {
        font-size: 0.9rem;
    }
    
    .admin-email {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .admin-user-info {
        gap: 0.75rem;
    }
    
    .admin-role-badge {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .admin-role-badge i {
        font-size: 0.8rem;
    }
    
    .admin-username {
        font-size: 0.85rem;
    }
    
    .admin-email {
        font-size: 0.7rem;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    .admin-user-info {
        gap: 0.5rem;
    }
    
    .admin-role-badge {
        padding: 0.35rem 0.65rem;
        font-size: 0.7rem;
    }
    
    .admin-role-badge i {
        font-size: 0.75rem;
    }
    
    .admin-user-details {
        gap: 0.2rem;
    }
    
    .admin-username {
        font-size: 0.8rem;
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .admin-email {
        font-size: 0.65rem;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .admin-user-info {
        gap: 0.4rem;
    }
    
    .admin-role-badge {
        padding: 0.3rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .admin-role-badge i {
        display: none;
    }
    
    .admin-user-details {
        display: none;
    }
}

.admin-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-page-header h1 i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.75rem;
}

.admin-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.solve-types-list {
    padding: 1.5rem;
}

.solve-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.solve-type-item:last-child {
    border-bottom: none;
}

.solve-type-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.solve-type-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.payment-stats-list {
    padding: 1.5rem;
}

.payment-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.payment-stat-item:last-child {
    margin-bottom: 0;
}

.payment-stat-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-stat-info i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.payment-stat-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.payment-stat-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.payment-count {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.payment-amount {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4ade80;
}

.support-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.support-stat-box {
    text-align: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.support-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.support-stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.performance-list {
    padding: 1.5rem;
}

.performance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.performance-item:last-child {
    border-bottom: none;
}

.performance-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.performance-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.65rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.filter-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.table-responsive {
    overflow-x: auto;
    padding: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.03);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
    padding: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ticket-subject {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.balance-cell,
.amount-cell {
    font-weight: 600;
    color: #4ade80;
}

.status-badge,
.category-badge,
.method-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.status-open,
.status-badge.status-pending {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.status-badge.status-in_progress {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.status-badge.status-closed,
.status-badge.status-completed {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.status-badge.status-failed {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.status-badge.status-active {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.status-badge.status-inactive {
    background: rgba(149, 165, 166, 0.15);
    color: #95a5a6;
}

.status-badge.status-suspended {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.category-badge {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
}

.method-badge {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-icon.btn-view:hover {
    background: rgba(52, 152, 219, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
    color: #3498db;
}

.btn-icon.btn-edit:hover {
    background: rgba(241, 196, 15, 0.15);
    border-color: rgba(241, 196, 15, 0.3);
    color: #f1c40f;
}

.btn-icon.btn-delete:hover,
.btn-icon.btn-close:hover {
    background: rgba(231, 76, 60, 0.15);
    border-color: rgba(231, 76, 60, 0.3);
    color: #e74c3c;
}

.btn-icon.btn-approve:hover {
    background: rgba(46, 204, 113, 0.15);
    border-color: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.btn-icon.btn-balance:hover {
    background: rgba(155, 89, 182, 0.15);
    border-color: rgba(155, 89, 182, 0.3);
    color: #9b59b6;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-btn {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.pagination-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
}

.pagination-dots {
    color: rgba(255, 255, 255, 0.4);
    padding: 0 0.5rem;
}

.notification-form,
.role-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.notifications-list {
    padding: 1.5rem;
}

.notifications-list .notification-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.notifications-list .notification-item:last-child {
    margin-bottom: 0;
}

.notifications-list .notification-item.notification-info {
    border-left-color: #3498db;
}

.notifications-list .notification-item.notification-success {
    border-left-color: #2ecc71;
}

.notifications-list .notification-item.notification-warning {
    border-left-color: #f1c40f;
}

.notifications-list .notification-item.notification-error {
    border-left-color: #e74c3c;
}

.notifications-list .notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notifications-list .notification-info .notification-icon {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.notifications-list .notification-success .notification-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.notifications-list .notification-warning .notification-icon {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.notifications-list .notification-error .notification-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.notifications-list .notification-content {
    flex: 1;
}

.notifications-list .notification-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-state i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.search-input {
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    min-width: 250px;
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.sidebar-category {
    padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.category-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.form-select,
.search-input,
.form-input,
.form-textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none;
}

.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    min-width: 300px;
    padding: 1rem 1.5rem;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideInRight 0.3s ease;
    backdrop-filter: blur(10px);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.toast-success {
    border-color: rgba(46, 204, 113, 0.5);
    background: rgba(46, 204, 113, 0.1);
}

.toast.toast-error {
    border-color: rgba(231, 76, 60, 0.5);
    background: rgba(231, 76, 60, 0.1);
}

.toast.toast-warning {
    border-color: rgba(241, 196, 15, 0.5);
    background: rgba(241, 196, 15, 0.1);
}

.toast.toast-info {
    border-color: rgba(52, 152, 219, 0.5);
    background: rgba(52, 152, 219, 0.1);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.toast-success .toast-icon {
    color: #2ecc71;
}

.toast.toast-error .toast-icon {
    color: #e74c3c;
}

.toast.toast-warning .toast-icon {
    color: #f1c40f;
}

.toast.toast-info .toast-icon {
    color: #3498db;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.toast-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.toast-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #ffffff;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.urgent-blink {
    animation: blink 2s ease-in-out infinite;
}

.priority-high {
    border-left: 3px solid #e74c3c !important;
}

.priority-medium {
    border-left: 3px solid #f1c40f !important;
}

.priority-low {
    border-left: 3px solid #3498db !important;
}

.ticket-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ticket-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.ticket-stat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.04);
}

.ticket-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
}

.ticket-stat-card.urgent .stat-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.ticket-stat-card.open .stat-icon {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.ticket-stat-card.progress .stat-icon {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.ticket-stat-card.closed .stat-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.ticket-stat-card .stat-info {
    flex: 1;
}

.ticket-stat-card .stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.ticket-stat-card .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .ticket-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .admin-page-header h1 {
        font-size: 1.75rem;
    }
    
    .admin-subtitle {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ticket-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .admin-page-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .admin-page-header h1 {
        font-size: 1.5rem;
    }
    
    .admin-page-header h1 i {
        font-size: 1.25rem;
    }
    
    .admin-subtitle {
        font-size: 0.85rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .filter-tab {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .table-responsive {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .admin-table {
        min-width: 600px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .support-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .support-stat-box {
        padding: 1rem;
    }
    
    .support-stat-number {
        font-size: 1.75rem;
    }
    
    .support-stat-label {
        font-size: 0.8rem;
    }
    
    .payment-stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.85rem;
    }
    
    .payment-stat-values {
        align-items: flex-start;
    }
    
    .search-input {
        min-width: 100%;
        padding: 0.55rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .notification-form,
    .role-form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .admin-page-header h1 {
        font-size: 1.35rem;
    }
    
    .admin-page-header h1 i {
        font-size: 1.1rem;
    }
    
    .admin-subtitle {
        font-size: 0.8rem;
    }
    
    .ticket-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    
    .ticket-stat-card {
        padding: 1rem;
    }
    
    .ticket-stat-card .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .ticket-stat-card .stat-number {
        font-size: 1.5rem;
    }
    
    .ticket-stat-card .stat-label {
        font-size: 0.8rem;
    }
    
    .solve-types-list,
    .payment-stats-list,
    .performance-list {
        padding: 1rem;
    }
    
    .solve-type-item,
    .performance-item {
        padding: 0.65rem 0;
    }
    
    .solve-type-name,
    .performance-label {
        font-size: 0.85rem;
    }
    
    .solve-type-count,
    .performance-value {
        font-size: 0.95rem;
    }
    
    .payment-stat-item {
        padding: 0.75rem;
    }
    
    .payment-stat-info i {
        font-size: 1.25rem;
    }
    
    .payment-stat-info span {
        font-size: 0.85rem;
    }
    
    .payment-count {
        font-size: 0.75rem;
    }
    
    .payment-amount {
        font-size: 1rem;
    }
    
    .action-buttons {
        gap: 0.35rem;
    }
    
    .btn-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .pagination {
        padding: 1rem;
        gap: 0.35rem;
    }
    
    .pagination-btn {
        min-width: 32px;
        height: 32px;
        padding: 0 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .admin-page-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .admin-page-header h1 {
        font-size: 1.2rem;
    }
    
    .admin-page-header h1 i {
        font-size: 1rem;
    }
    
    .admin-subtitle {
        font-size: 0.75rem;
    }
    
    .stats-grid {
        gap: 0.65rem;
    }
    
    .stat-card {
        padding: 0.85rem;
        gap: 0.75rem;
    }
    
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .content-card {
        margin-bottom: 0.85rem;
    }
    
    .card-header {
        padding: 0.85rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-header h2 {
        font-size: 0.85rem;
    }
    
    .filter-tabs {
        gap: 0.35rem;
    }
    
    .filter-tab {
        padding: 0.5rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .table-responsive {
        padding: 0.75rem;
    }
    
    .admin-table {
        min-width: 500px;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.65rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .status-badge,
    .category-badge,
    .method-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
}

.confirm-modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.confirm-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.confirm-modal-header.confirm-type-warning {
    background: rgba(241, 196, 15, 0.1);
    border-bottom-color: rgba(241, 196, 15, 0.2);
}

.confirm-modal-header.confirm-type-danger {
    background: rgba(231, 76, 60, 0.1);
    border-bottom-color: rgba(231, 76, 60, 0.2);
}

.confirm-modal-header.confirm-type-info {
    background: rgba(52, 152, 219, 0.1);
    border-bottom-color: rgba(52, 152, 219, 0.2);
}

.confirm-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.confirm-type-warning .confirm-modal-icon {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
}

.confirm-type-danger .confirm-modal-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.confirm-type-info .confirm-modal-icon {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
}

.confirm-modal-title {
    margin: 0;
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 600;
}

.confirm-modal-body {
    padding: 1.5rem;
}

.confirm-modal-message {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.confirm-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.02);
}

.confirm-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.confirm-btn-cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.confirm-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.confirm-btn-confirm {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: 1px solid rgba(231, 76, 60, 0.3);
    color: #ffffff;
}

.confirm-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .confirm-modal-content {
        max-width: 95%;
    }
    
    .confirm-modal-header {
        padding: 1rem;
    }
    
    .confirm-modal-body {
        padding: 1rem;
    }
    
    .confirm-modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column-reverse;
    }
    
    .confirm-btn {
        width: 100%;
        justify-content: center;
    }
}
