/* ===================================
   Users Page - Complete Modern Redesign
   Cyan/Aqua Theme with Pagination & Filters
   FIXED: Dropdown styling, X overlay positioning, page persistence
   =================================== */

/* Page Header */
.users-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    padding: 40px 45px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15), 0 0 100px rgba(6, 182, 212, 0.05);
    animation: slideInDown 0.6s ease;
    position: relative;
    overflow: hidden;
}

.users-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

.header-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.users-page-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #f1f5f9;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 18px;
    letter-spacing: -0.5px;
}

.users-page-title i {
    color: #06b6d4;
    font-size: 2.25rem;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
}

.users-page-subtitle {
    color: #94a3b8;
    font-size: 1.125rem;
    font-weight: 500;
}

.header-stats {
    display: flex;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.stat-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    color: #f1f5f9;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.2);
}

.stat-badge i {
    color: #06b6d4;
    font-size: 1.25rem;
}

.stat-badge.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-badge.active i {
    color: #10b981;
}

/* Filters Section */
.users-filters-section {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeInUp 0.7s ease;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-tab:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-color: rgba(6, 182, 212, 0.4);
    color: #06b6d4;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-color: #06b6d4;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.filter-tab i {
    font-size: 1.125rem;
}

/* Search Box */
.search-box-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.search-box-wrapper i {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    color: #06b6d4;
    font-size: 1.25rem;
}

.users-search-input {
    width: 100%;
    padding: 20px 65px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    color: #f1f5f9;
    font-size: 1.0625rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.15);
}

.users-search-input:focus {
    outline: none;
    border-color: #06b6d4;
    box-shadow: 0 10px 40px rgba(6, 182, 212, 0.3), 0 0 50px rgba(6, 182, 212, 0.2);
}

.users-search-input::placeholder {
    color: #94a3b8;
}

/* FIXED ISSUE #2: Properly positioned clear button overlay */
.search-clear-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.search-clear-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-50%) scale(1.05);
}

.search-clear-btn i {
    position: static;
    transform: none;
    color: #ef4444;
    font-size: 0.875rem;
}

/* Users Container */
.users-container {
    animation: fadeInUp 0.8s ease;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* User Card */
.user-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    position: relative;
}

.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.user-card:hover::before {
    opacity: 1;
}

.user-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(6, 182, 212, 0.2);
}

/* Card Header */
.user-card-header {
    position: relative;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, transparent 100%);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.user-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    border: 3px solid rgba(6, 182, 212, 0.5);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.3), 0 0 30px rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.user-card:hover .user-card-avatar {
    transform: scale(1.08);
    border-color: #06b6d4;
    box-shadow: 0 20px 50px rgba(6, 182, 212, 0.5), 0 0 50px rgba(6, 182, 212, 0.3);
}

.user-card-status-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
}

.user-card-status-indicator.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.user-card-status-indicator.active::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

.user-card-status-indicator.inactive {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.user-card-status-indicator.inactive::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Card Body */
.user-card-body {
    padding: 25px;
    text-align: center;
}

.user-card-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f1f5f9;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.user-card-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.user-card-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.user-card-info:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-color: rgba(6, 182, 212, 0.3);
}

.user-card-info i {
    color: #06b6d4;
    font-size: 1rem;
}

/* Card Footer */
.user-card-footer {
    padding: 0 20px 20px;
}

.user-card-manage-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.user-card-manage-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

/* Pagination */
.users-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    animation: fadeIn 0.5s ease;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    color: #06b6d4;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pagination-page {
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination-page:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-color: rgba(6, 182, 212, 0.4);
    color: #06b6d4;
    transform: translateY(-2px);
}

.pagination-page.active {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border-color: #06b6d4;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.pagination-dots {
    color: #64748b;
    font-weight: 700;
    padding: 0 5px;
}

/* Empty State */
.users-empty-state {
    text-align: center;
    padding: 100px 40px;
    color: #94a3b8;
}

.users-empty-state i {
    font-size: 6rem;
    color: rgba(6, 182, 212, 0.2);
    margin-bottom: 30px;
    display: block;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.3));
}

.users-empty-state p {
    font-size: 1.5rem;
    font-weight: 900;
    color: #f1f5f9;
    margin-bottom: 15px;
}

.users-empty-state small {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Admin Dashboard Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.admin-dashboard-modal {
    position: relative;
    width: 98%;
    max-width: 1400px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 100px rgba(6, 182, 212, 0.2);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.7) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Dashboard Header */
.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 35px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, transparent 100%);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.admin-dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-dashboard-avatar {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    border: 3px solid #06b6d4;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
}

.admin-dashboard-username {
    font-size: 1.75rem;
    font-weight: 900;
    color: #f1f5f9;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.admin-dashboard-close {
    width: 42px;
    height: 42px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    color: #ef4444;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-dashboard-close:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: rotate(90deg);
}

/* Dashboard Tabs */
.admin-dashboard-tabs {
    display: flex;
    padding: 0 35px;
    gap: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    overflow-x: auto;
    min-height: 60px;
    align-items: center;
}

.admin-dashboard-tabs::-webkit-scrollbar {
    height: 0;
}

.admin-tab {
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab:hover {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.08);
}

.admin-tab.active {
    color: #06b6d4;
    border-bottom-color: #06b6d4;
    background: rgba(6, 182, 212, 0.15);
}

.admin-tab i {
    font-size: 1rem;
}

.tab-text {
    display: inline-block;
}

.tab-badge {
    padding: 3px 8px;
    background: #06b6d4;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
}

/* Dashboard Content */
.admin-dashboard-content {
    flex: 1;
    overflow-y: auto;
    padding: 35px;
}

.admin-dashboard-content::-webkit-scrollbar {
    width: 10px;
}

.admin-dashboard-content::-webkit-scrollbar-track {
    background: rgba(148, 163, 184, 0.05);
    border-radius: 10px;
}

.admin-dashboard-content::-webkit-scrollbar-thumb {
    background: rgba(6, 182, 212, 0.4);
    border-radius: 10px;
}

.admin-dashboard-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px;
    gap: 20px;
    color: #94a3b8;
}

/* Tab Content Sections */
.admin-tab-content {
    animation: fadeIn 0.4s ease;
}

/* Overview Tab */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.overview-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 18px;
    padding: 25px;
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.overview-card.loa-active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.08) 100%);
    border-color: rgba(245, 158, 11, 0.4);
}

.overview-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.overview-card-title i {
    color: #06b6d4;
    font-size: 1.25rem;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.overview-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.overview-stat:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(4px);
}

.stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 600;
}

.stat-value {
    color: #06b6d4;
    font-size: 1.375rem;
    font-weight: 900;
}

.overview-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 10px;
}

.info-label {
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 600;
}

.info-value {
    color: #f1f5f9;
    font-weight: 700;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.status-badge.inactive {
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.4);
    color: #64748b;
}

.loa-details p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 8px;
}

.loa-details strong {
    color: #06b6d4;
}

/* Notes with Pagination */
.overview-notes {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.overview-note {
    padding: 18px;
    background: rgba(6, 182, 212, 0.08);
    border-left: 4px solid #06b6d4;
    border-radius: 10px;
}

.note-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(6, 182, 212, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.note-author .rank-badge {
    margin: 0;
    padding: 4px 10px;
    font-size: 0.7rem;
}

.note-author-username {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 0.875rem;
}

.note-content {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.note-date {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.notes-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.notes-page-info {
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
}

.notes-nav-buttons {
    display: flex;
    gap: 8px;
}

.notes-nav-btn {
    padding: 6px 14px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    color: #06b6d4;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notes-nav-btn:hover:not(:disabled) {
    background: rgba(6, 182, 212, 0.25);
    border-color: #06b6d4;
    transform: translateY(-2px);
}

.notes-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Form Sections */
.admin-form-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
}

.form-section-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #06b6d4;
    font-size: 1.25rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* FIXED ISSUE #1: Proper styling for select dropdowns */
.form-input,
.form-select {
    padding: 12px 16px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-select {
    cursor: pointer;
    appearance: none;
    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='%2306b6d4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-select option {
    background: #1e293b;
    color: #f1f5f9;
    padding: 10px;
}

.form-select option:hover,
.form-select option:checked,
.form-select option:focus {
    background: rgba(6, 182, 212, 0.2);
    color: #ffffff;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

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

.form-submit-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
    align-self: flex-start;
}

.form-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(6, 182, 212, 0.6);
}

.form-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* List Sections */
.admin-list-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(51, 65, 85, 0.6) 100%);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 25px;
}

.list-section-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-section-title i {
    color: #06b6d4;
    font-size: 1.25rem;
}

.list-section-title.pending i {
    color: #f59e0b;
}

/* Infractions List */
.infractions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.infraction-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.infraction-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateX(4px);
}

.infraction-item.invalid {
    opacity: 0.6;
    background: rgba(15, 23, 42, 0.5);
}

.infraction-item.expired {
    opacity: 0.7;
}

.infraction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.infraction-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.infraction-type-badge {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 6px;
}

.infraction-type-badge.warning {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.infraction-type-badge.strike {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.infraction-status-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
}

.infraction-status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.infraction-status-badge.invalid {
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.4);
    color: #64748b;
}

.infraction-status-badge.expired {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.infraction-date {
    color: #94a3b8;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.infraction-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.infraction-field {
    color: #cbd5e1;
    line-height: 1.6;
    padding: 12px 16px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgba(6, 182, 212, 0.4);
    font-size: 0.875rem;
}

.infraction-field strong {
    color: #06b6d4;
    font-weight: 700;
}

.infraction-item .infraction-issuer,
.infraction-item .infraction-remover {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(6, 182, 212, 0.05) !important;
    border-radius: 10px;
    border-left: 3px solid rgba(6, 182, 212, 0.4) !important;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.875rem;
}

.infraction-issuer-label,
.infraction-remover-label {
    color: #06b6d4;
    font-weight: 700;
    font-size: 0.875rem;
}

.infraction-issuer .rank-badge,
.infraction-remover .rank-badge {
    margin: 0;
    padding: 4px 10px;
    font-size: 0.7rem;
}

.infraction-user-name {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 0.875rem;
}

.infraction-actions {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.btn-remove-infraction {
    padding: 8px 18px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-remove-infraction:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-2px);
}

/* LOA List */
.loa-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loa-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 14px;
    padding: 22px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.loa-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateX(4px);
}

.loa-item.pending {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.08);
}

.loa-item.approved,
.loa-item.active {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
}

.loa-item.denied {
    opacity: 0.6;
}

.loa-item.cancelled {
    opacity: 0.7;
    background: rgba(100, 116, 139, 0.08);
}

.loa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 14px;
    flex-wrap: wrap;
}

.loa-reason {
    font-size: 1.125rem;
    font-weight: 800;
    color: #f1f5f9;
}

.loa-status-badge {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    border: 1px solid;
}

.loa-status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.loa-status-badge.approved,
.loa-status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.loa-status-badge.denied {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.loa-status-badge.cancelled {
    background: rgba(100, 116, 139, 0.15);
    border-color: rgba(100, 116, 139, 0.4);
    color: #64748b;
}

.loa-status-badge.completed {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
}

.loa-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loa-dates {
    color: #cbd5e1;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    font-size: 0.875rem;
}

.loa-dates i {
    color: #06b6d4;
}

.loa-notes,
.loa-denial,
.loa-requested {
    color: #cbd5e1;
    line-height: 1.6;
    padding: 10px 14px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgba(6, 182, 212, 0.4);
    font-size: 0.875rem;
}

.loa-notes strong,
.loa-denial strong,
.loa-requested strong {
    color: #06b6d4;
}

.loa-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.btn-approve {
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 10px;
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-approve:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    transform: translateY(-2px);
}

.btn-deny {
    padding: 10px 20px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-deny:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.btn-cancel-loa {
    padding: 10px 20px;
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.4);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-cancel-loa:hover {
    background: rgba(100, 116, 139, 0.25);
    border-color: #64748b;
    color: #cbd5e1;
    transform: translateY(-2px);
}

/* Notes List */
.notes-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.note-item {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-left: 4px solid #06b6d4;
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.note-item:hover {
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateX(4px);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.note-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(6, 182, 212, 0.12);
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.note-author .rank-badge {
    margin: 0;
    padding: 4px 10px;
    font-size: 0.7rem;
}

.note-author-name {
    color: #f1f5f9;
    font-weight: 700;
    font-size: 0.875rem;
}

.note-content {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 10px;
    padding: 12px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 10px;
    border-left: 3px solid rgba(6, 182, 212, 0.3);
    font-size: 0.875rem;
}

.note-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.btn-remove-note {
    padding: 6px 14px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 8px;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.btn-remove-note:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
}

/* Account Status Section - DEACTIVATE/REACTIVATE */
.account-status-section {
    margin-top: 30px;
    padding: 25px;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 14px;
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle i {
    color: #06b6d4;
}

.account-status-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.account-status-info span:first-child {
    color: #94a3b8;
    font-weight: 600;
}

.btn-deactivate {
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #ef4444;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-deactivate:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
    transform: translateY(-2px);
}

.btn-reactivate {
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 10px;
    color: #10b981;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-reactivate:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
    transform: translateY(-2px);
}

/* Settings Info */
.settings-info {
    margin-top: 30px;
}

.settings-info h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 12px;
}

/* Removal/Confirmation Form Overlay */
.removal-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.removal-form-container {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    padding: 35px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

.removal-form-container h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 20px;
}

.removal-form-container p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-cancel {
    padding: 12px 24px;
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.4);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(100, 116, 139, 0.25);
    border-color: #64748b;
}

.btn-danger {
    padding: 12px 24px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    color: #ef4444;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.25);
    border-color: #ef4444;
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 35px;
    color: #94a3b8;
}

.empty-state i {
    font-size: 4rem;
    color: rgba(6, 182, 212, 0.2);
    margin-bottom: 18px;
    display: block;
}

.empty-state p {
    font-size: 1.25rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.empty-state small {
    font-size: 0.9375rem;
    color: #94a3b8;
}

/* Action Bar */
.action-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: slideInRight 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

.action-bar.success {
    border-left: 4px solid #10b981;
}

.action-bar.error {
    border-left: 4px solid #ef4444;
}

.action-bar-icon {
    font-size: 1.375rem;
}

.action-bar.success .action-bar-icon {
    color: #10b981;
}

.action-bar.error .action-bar-icon {
    color: #ef4444;
}

.action-bar-content {
    flex: 1;
}

.action-bar-title {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 3px;
}

.action-bar-message {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.3;
}

.action-bar-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.action-bar-close:hover {
    color: #f1f5f9;
    transform: scale(1.1);
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1400px) {
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
    
    .admin-dashboard-modal {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-dashboard-modal {
        width: 95%;
    }
}

@media (max-width: 968px) {
    .users-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 30px;
    }
    
    .header-stats {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .filter-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .admin-dashboard-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .users-page-title {
        font-size: 1.875rem;
    }
    
    .users-page-header {
        padding: 25px 20px;
    }
    
    .stat-badge {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .users-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .user-card-avatar {
        width: 80px;
        height: 80px;
    }
    
    .admin-dashboard-header {
        padding: 20px 25px;
    }
    
    .admin-dashboard-username {
        font-size: 1.375rem;
    }
    
    .admin-dashboard-avatar {
        width: 55px;
        height: 55px;
    }
    
    .admin-dashboard-tabs {
        padding: 0 20px;
        gap: 5px;
    }
    
    .admin-tab {
        padding: 14px 18px;
        font-size: 0.8125rem;
    }
    
    .tab-text {
        display: none;
    }
    
    .admin-tab i {
        font-size: 1.125rem;
    }
    
    .admin-dashboard-content {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pagination-page {
        padding: 8px 12px;
        font-size: 0.875rem;
        min-width: 38px;
    }
    
    .action-bar {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .loa-actions {
        flex-direction: column;
    }
    
    .btn-approve,
    .btn-deny,
    .btn-cancel-loa {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .users-page-title {
        font-size: 1.5rem;
        gap: 12px;
    }
    
    .users-page-title i {
        font-size: 1.75rem;
    }
    
    .filter-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .filter-tab i {
        font-size: 1rem;
    }
    
    .search-box-wrapper i {
        left: 20px;
        font-size: 1.125rem;
    }
    
    .users-search-input {
        padding: 16px 50px;
        font-size: 0.9375rem;
    }
    
    .search-clear-btn {
        right: 16px;
        width: 32px;
        height: 32px;
    }
    
    .user-card-header {
        padding: 20px;
    }
    
    .user-card-avatar {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    
    .user-card-name {
        font-size: 1.25rem;
    }
    
    .admin-dashboard-modal {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .admin-dashboard-close {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .overview-grid {
        gap: 18px;
    }
    
    .overview-card {
        padding: 20px;
    }
    
    .removal-form-container {
        padding: 25px;
        width: 95%;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-cancel,
    .btn-danger,
    .btn-deactivate,
    .btn-reactivate {
        width: 100%;
        justify-content: center;
    }
}