/* ============================================
   SIM TECH TRACKER - Dashboard Styles
   ============================================ */

/* Dashboard Layout */
.dashboard-page {
    min-height: 100vh;
    background: var(--color-bg-primary);
    padding-top: var(--header-height);
}

/* Dashboard Header */
.dashboard-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.dashboard-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-header .container>div {
    display: flex;
    align-items: center;
}

.dashboard-logo {
    height: 60px;
    width: auto;
    display: block;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: var(--text-base);
}

.user-email {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.header-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
    margin-right: var(--space-3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


/* Dashboard Content */
.dashboard-content {
    padding: var(--space-8) 0;
}

.dashboard-title {
    margin-bottom: var(--space-8);
}

.dashboard-title h1 {
    font-size: var(--text-4xl);
    background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Profile Section */
.profile-content {
    display: grid;
    gap: var(--space-6);
}

.profile-info {
    display: grid;
    gap: var(--space-4);
}

.profile-field {
    padding: var(--space-4);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.profile-field label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-field p {
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    margin: 0;
}

/* App Management */
.app-management {
    padding: var(--space-2) 0;
}

.app-management p {
    margin-bottom: var(--space-6);
    color: var(--color-text-secondary);
}

.app-management strong {
    color: var(--color-accent-yellow);
    font-weight: 600;
}

/* Stats Grid (Optional Enhancement) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--color-accent-blue);
    transform: translateY(-2px);
}

.stat-value {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--color-accent-blue);
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.action-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.action-card:hover {
    border-color: var(--color-accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.action-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(94, 179, 228, 0.1), rgba(255, 200, 69, 0.1));
    border-radius: var(--radius-lg);
    color: var(--color-accent-blue);
}

.action-card h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.action-card p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-user {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .user-info {
        display: none;
    }

    .dashboard-title h1 {
        font-size: var(--text-3xl);
    }

    .profile-info {
        grid-template-columns: 1fr;
    }
}

/* Card Styles - Consistent, No Hover */
.card {
    background: rgba(30, 36, 52, 0.6);
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: none;
}

.card-header {
    padding: var(--space-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.card-body {
    padding: var(--space-6);
}

/* Section Separator */
.section-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: var(--space-6) 0;
}

/* Profile Grid */
.profile-grid {
    display: grid;
    gap: var(--space-6);
    grid-template-columns: 1fr;
}

/* Card Section Styles */
.card-section {
    padding: var(--space-6) 0;
}

.section-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    font-family: var(--font-display);
}

.text-muted {
    color: var(--color-text-muted);
}


/* Avatar Styles */
.profile-header {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.avatar-container {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.profile-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.avatar-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-container:hover .profile-avatar {
    transform: scale(1.1);
}

/* Button Styles - Consistent Design */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: rgba(251, 146, 60, 0.15);
    color: #FB923C;
    border-color: rgba(251, 146, 60, 0.5);
}

.btn-primary:hover {
    background: rgba(251, 146, 60, 0.3);
    border-color: #FB923C;
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.5);
    color: #FFA55C;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-primary);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-sm {
    padding: 0.45rem 1.2rem;
    font-size: 0.8125rem;
}

/* Form Styles for Inline Editing */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--text-base);
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    background: rgba(255, 255, 255, 0.05);
    /* Slight highlight */
}

.w-full {
    width: 100%;
}

.separator {
    height: 1px;
    background: var(--color-border);
    margin: 1.5rem 0;
}

/* Profile Layout Refactor */
.profile-layout {
    display: flex;
    flex-wrap: wrap;
    /* responsive */
    gap: 2rem;
    align-items: flex-start;
}

.profile-inputs {
    flex: 2;
    min-width: 250px;
}

.profile-avatar-section {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    gap: 1rem;
}

/* Adjust avatar container in new context */
.profile-avatar-section .avatar-container {
    margin: 0;
}

/* Adjust Save Button */
#save-profile-btn {
    width: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .profile-layout {
        flex-direction: column-reverse;
        /* Inputs top, avatar bottom? Or standard column */
        flex-direction: column;
    }

    .profile-avatar-section {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

/* Input Group Styles */
.input-group {
    display: flex;
    align-items: center;
}

.input-group .form-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

.input-group .btn-icon {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-left: none;
    padding: 0.75rem 1rem;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0;
}

.input-group .btn-icon:last-child {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.input-group .btn-icon:hover {
    background: var(--color-bg-hover);
}

#confirm-token {
    width: 80%;
    margin: 1rem auto;
    text-align: center;
    font-family: monospace;
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: nowrap;
}

/* Role Badges */
.badge-role-user {
    background: rgba(148, 163, 184, 0.25);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.badge-role-developer {
    background: rgba(139, 92, 246, 0.25);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge-role-betatester {
    background: rgba(245, 158, 11, 0.25);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-role-admin {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Status Badges */
.badge-status-active {
    background: rgba(34, 197, 94, 0.25);
    color: #6ee7b7;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.badge-status-deactivated,
.badge-status-banned {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-status-inactive {
    background: rgba(100, 116, 139, 0.25);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.4);
}

/* Verified Badge */
.badge-verified-yes {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.7rem;
}

.badge-verified-no {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Profile Details Spacing */
.profile-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 0.9rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

/* Danger Zone */
.danger-zone {
    border: 1px solid rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.03);
    border-radius: var(--radius-lg);
    padding: var(--space-6) !important;
}

.border-danger {
    border-color: rgba(239, 68, 68, 0.4) !important;
}

.opacity-20 {
    opacity: 0.2;
}

.bg-dark-subtle {
    background: rgba(0, 0, 0, 0.2);
}

.text-info {
    color: #5eb3e4 !important;
}

.font-bold {
    font-weight: 700;
}

/* ============================================
   Admin Table Styles
   ============================================ */
.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table thead {
    background: rgba(94, 179, 228, 0.1);
}

.admin-table thead th {
    padding: var(--space-2);
    text-align: center;
    font-weight: 600;
    font-size: 0.65rem;
    color: var(--color-accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(94, 179, 228, 0.3);
}

.admin-table tbody tr {
    transition: background-color var(--transition-fast);
    border-bottom: 1px solid var(--color-border);
}

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

.admin-table tbody td {
    padding: 0.6rem 0.5rem;
    font-size: 0.725rem;
    color: var(--color-text-primary);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: 2px var(--space-2);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Verification Status Badges */
.status-badge.verified {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-badge.unverified {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Account Status Badges */
.status-badge.active {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-badge.inactive {
    background: rgba(156, 163, 175, 0.15);
    color: #9CA3AF;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

/* Role Badges */
/* Online Status Indicator */
.online-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.online-indicator.online {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.online-indicator.offline {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.admin-table tbody td {
    padding: 0.6rem 0.5rem;
    font-size: 0.725rem;
    color: var(--color-text-primary);
    vertical-align: middle;
}

.status-badge.role-user {
    background: rgba(94, 179, 228, 0.15);
    color: #5EB3E4;
    border: 1px solid rgba(94, 179, 228, 0.3);
}

/* App Active Badges */
.status-badge.app-active {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-badge.app-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Inline Select Dropdowns */
.inline-select {
    display: inline-flex;
    align-items: center;
    padding: 3px 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid;
    cursor: pointer;
    transition: all var(--transition-fast);
    background-position: right 0.35rem center;
    background-repeat: no-repeat;
    background-size: 10px;
    padding-right: 1.25rem;
    min-width: 80px;
}

.inline-select:hover {
    opacity: 0.8;
}

.inline-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(94, 179, 228, 0.3);
}

.inline-select.updating {
    opacity: 0.5;
    cursor: wait;
}

/* Verified Checkmark */
.verified-check {
    display: inline;
    margin-right: var(--space-1);
    color: #34D399;
    font-weight: bold;
    font-size: 0.85rem;
}

/* Systems Select Styling */
.inline-select.systems-select {
    background: rgba(94, 179, 228, 0.15);
    color: #5EB3E4;
    border-color: rgba(94, 179, 228, 0.3);
    min-width: 50px;
}

.inline-select.systems-select:hover {
    background: rgba(94, 179, 228, 0.25);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--space-1);
    justify-content: flex-start;
}

.action-buttons .btn {
    min-width: 45px;
    padding: 4px 6px;
    font-size: 0.7rem;
}

/* Status Select Styling */
.inline-select.status-select option[value="active"],
.inline-select.status-select:has(option[value="active"]:checked) {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border-color: rgba(52, 211, 153, 0.3);
}

.inline-select.status-select option[value="inactive"],
.inline-select.status-select:has(option[value="inactive"]:checked) {
    background: rgba(156, 163, 175, 0.15);
    color: #9CA3AF;
    border-color: rgba(156, 163, 175, 0.3);
}

.inline-select.status-select option[value="suspended"],
.inline-select.status-select:has(option[value="suspended"]:checked) {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border-color: rgba(251, 191, 36, 0.3);
}

.inline-select.status-select option[value="banned"],
.inline-select.status-select:has(option[value="banned"]:checked) {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Role Select Styling */
.inline-select.role-select option[value="admin"],
.inline-select.role-select:has(option[value="admin"]:checked) {
    background: rgba(251, 146, 60, 0.15);
    color: #FB923C;
    border-color: rgba(251, 146, 60, 0.3);
}

.inline-select.role-select option[value="user"],
.inline-select.role-select:has(option[value="user"]:checked) {
    background: rgba(94, 179, 228, 0.15);
    color: #5EB3E4;
    border-color: rgba(94, 179, 228, 0.3);
}

.inline-select.role-select option[value="developer"],
.inline-select.role-select:has(option[value="developer"]:checked) {
    background: rgba(168, 85, 247, 0.15);
    color: #A855F7;
    border-color: rgba(168, 85, 247, 0.3);
}

.inline-select.role-select option[value="tester"],
.inline-select.role-select:has(option[value="tester"]:checked) {
    background: rgba(34, 211, 238, 0.15);
    color: #22D3EE;
    border-color: rgba(34, 211, 238, 0.3);
}

/* App Select Styling */
.inline-select.app-select option[value="true"],
.inline-select.app-select:has(option[value="true"]:checked) {
    background: rgba(52, 211, 153, 0.15);
    color: #34D399;
    border-color: rgba(52, 211, 153, 0.3);
}

.inline-select.app-select option[value="false"],
.inline-select.app-select:has(option[value="false"]:checked) {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
    .admin-table {
        font-size: var(--text-xs);
    }

    .admin-table thead th,
    .admin-table tbody td {
        padding: var(--space-2) var(--space-3);
    }

    .status-badge,
    .inline-select {
        font-size: 0.65rem;
        padding: 2px var(--space-2);
    }
}

/* Edit User Modal Styles */
.edit-user-popup {
    background: var(--color-bg-card) !important;
    border: 1px solid var(--color-border) !important;
}

.edit-user-modal h3 {
    color: var(--color-accent-blue-light);
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
    text-align: center;
}

.user-data-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--space-2);
}

.data-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.data-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-field input {
    padding: var(--space-2);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 0.85rem;
    font-family: monospace;
}

.data-field input:focus {
    outline: none;
    border-color: var(--color-accent-blue);
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: var(--space-6);
    padding: var(--space-4);
    gap: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-btn {
    padding: 0.45rem 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(94, 179, 228, 0.15);
    border-color: rgba(94, 179, 228, 0.3);
    color: var(--color-accent-blue-light);
}

.pagination-btn.active {
    background: var(--color-accent-blue);
    border-color: var(--color-accent-blue);
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: grayscale(1);
}

.pagination-info {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: var(--space-3);
    }
}
/* ============================================
   Flight Logs Styles
   ============================================ */

.flight-logs-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.flight-logs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(30, 36, 52, 0.4);
}

.flight-logs-table thead {
    background: rgba(94, 179, 228, 0.1);
}

.flight-logs-table thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--color-accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid rgba(94, 179, 228, 0.3);
}

.flight-logs-table tbody tr {
    transition: background-color var(--transition-fast);
    border-bottom: 1px solid var(--color-border);
}

.flight-logs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.flight-logs-table tbody td {
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-primary);
    vertical-align: middle;
}

.flight-id-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: rgba(94, 179, 228, 0.15);
    color: #5EB3E4;
    border: 1px solid rgba(94, 179, 228, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.05em;
}

.airport-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.airport-name {
    font-size: 0.875rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.airport-code {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

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

.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--color-text-muted);
}

/* Flight Detail Modal */
.flight-detail-modal .swal2-html-container {
    max-height: 500px;
    overflow-y: auto;
}

/* Responsive Flight Logs */
@media (max-width: 768px) {
    .flight-logs-table {
        font-size: 0.75rem;
    }
    
    .flight-logs-table thead th,
    .flight-logs-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .airport-name {
        font-size: 0.75rem;
    }
    
    .airport-code {
        font-size: 0.7rem;
    }
}
