/* ===========================================
   Admin Dashboard Shared Styles
   =========================================== */

/* Action Buttons - Rectangular with Icons */
.admin-actions,
.partner-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-action {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
}

.btn-action i {
    font-size: 1rem;
}

.btn-action:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
}

.btn-action.danger:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.4);
    color: #fca5a5;
}

.btn-action.success:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.btn-action.warning:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fcd34d;
}

.btn-action.info:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

/* Primary Action Buttons - Rectangular Style */
.btn-admin-primary {
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 0.5rem;
    color: #c4b5fd;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

.btn-admin-primary:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.6);
    color: #ddd6fe;
}

.btn-admin-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Secondary Action Buttons - Rectangular Style */
.btn-admin-secondary {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

.btn-admin-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.8);
}

/* Danger Action Buttons - Rectangular Style */
.btn-admin-danger {
    padding: 0.75rem 1.5rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 0.5rem;
    color: #fca5a5;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

.btn-admin-danger:hover {
    background: rgba(220, 38, 38, 0.25);
    border-color: rgba(220, 38, 38, 0.6);
    color: #fecaca;
}

.btn-admin-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Card Action Buttons (for grid layouts) */
.card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Empty State */
.admin-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.admin-empty-state i {
    font-size: 3rem;
    color: rgba(139, 92, 246, 0.5);
    margin-bottom: 1rem;
}

.admin-empty-state h3 {
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.admin-empty-state p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.5rem 0;
}

/* ==================================
   Admin Users Page Styles
   ================================== */

.admin-users-page {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.admin-users-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.admin-users-page .header-content h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.admin-users-page .page-subtitle {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.admin-users-page .header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Stats Row */
.admin-users-page .stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-users-page .stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-users-page .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.admin-users-page .stat-icon.global-admin { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.admin-users-page .stat-icon.partner-admin { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.admin-users-page .stat-icon.technician { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.admin-users-page .stat-icon.inactive { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.admin-users-page .stat-content {
    display: flex;
    flex-direction: column;
}

.admin-users-page .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
}

.admin-users-page .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

/* Filter Bar */
.admin-users-page .filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.admin-users-page .search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.admin-users-page .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.admin-users-page .search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
}

.admin-users-page .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-users-page .filter-group {
    display: flex;
    gap: 0.75rem;
}

.admin-users-page .filter-select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    min-width: 140px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%23ffffff' fill-opacity='0.6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.admin-users-page .filter-select:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background-color: rgba(255, 255, 255, 0.12);
}

.admin-users-page .filter-select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.admin-users-page .filter-select option {
    background: #1e1b4b;
    color: #ffffff;
    padding: 0.5rem;
}

/* Users Table */
.admin-users-page .users-table-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.admin-users-page .users-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-users-page .users-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-users-page .users-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.admin-users-page .users-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.admin-users-page .user-name {
    font-weight: 600;
    color: #ffffff !important;
}

.admin-users-page .user-email {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

.admin-users-page .partner-name {
    color: rgba(255, 255, 255, 0.8);
}

/* Role Badges */
.admin-users-page .role-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.admin-users-page .role-badge.global-admin { background: rgba(99, 102, 241, 0.15); color: #818cf8; }
.admin-users-page .role-badge.partner-admin { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.admin-users-page .role-badge.technician { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

/* Status Badge */
.admin-users-page .status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
}

.admin-users-page .status-badge.active { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.admin-users-page .status-badge.inactive { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Action Buttons in Table */
.admin-users-page .action-buttons {
    display: flex;
    gap: 0.5rem;
}

.admin-users-page .action-buttons .btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-users-page .action-buttons .btn-action:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
}

.admin-users-page .action-buttons .btn-action.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.admin-users-page .action-buttons .btn-action.warning:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

/* Pending Invites Section */
.admin-users-page .invites-section {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.admin-users-page .invites-section h3 {
    margin: 0 0 1rem 0;
    color: #ffffff;
    font-size: 1.1rem;
}

.admin-users-page .invites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.admin-users-page .invite-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-users-page .invite-email {
    font-weight: 500;
    color: #ffffff;
}

.admin-users-page .invite-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.admin-users-page .partner-tag {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
}

.admin-users-page .expires {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.admin-users-page .invite-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-users-page .btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-users-page .btn-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

.admin-users-page .btn-icon.danger:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Last Login */
.admin-users-page .last-login {
    color: rgba(255, 255, 255, 0.7);
}

.admin-users-page .last-login .never {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* 2FA Badge */
.admin-users-page .twofa-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.admin-users-page .twofa-badge.enabled {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
}

.admin-users-page .twofa-badge.disabled {
    color: rgba(255, 255, 255, 0.4);
}

/* User Avatar */
.admin-users-page .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-users-page .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-users-page .page-header {
        flex-direction: column;
        gap: 1rem;
    }

    .admin-users-page .header-actions {
        width: 100%;
    }

    .admin-users-page .filter-bar {
        flex-direction: column;
    }

    .admin-users-page .stats-row {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   Admin Modal Styles (Shared)
   =========================================== */

.admin-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
}

.admin-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 1rem;
    width: 90%;
    max-width: 480px;
    z-index: 1001;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

.admin-modal.large {
    max-width: 640px;
    overflow: visible;
}

.admin-modal.danger .admin-modal-header h3 {
    color: #fca5a5;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.admin-modal-header h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.admin-modal-header h3 i {
    color: #a78bfa;
}

.btn-close-modal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    font-size: 1rem;
}

.btn-close-modal:hover {
    color: #fff;
}

.admin-modal-body {
    padding: 1.5rem;
    overflow: visible;
}

.modal-info {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.25rem 0;
}

.admin-modal .form-group {
    margin-bottom: 1rem;
    overflow: visible;
}

.admin-modal .form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.admin-modal .form-group input,
.admin-modal .form-group select,
.admin-modal .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
}

.admin-modal .form-group input:focus,
.admin-modal .form-group select:focus,
.admin-modal .form-group textarea:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.admin-modal .form-group input::placeholder,
.admin-modal .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.admin-modal .form-group select option {
    background: #1e1b4b;
    color: #fff;
}

.admin-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

/* Form Row - Multi column */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-row.three {
    grid-template-columns: 1fr 1fr 1fr;
}

/* Temporary Password Box */
.temp-password-box {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.temp-password-box > i {
    color: #86efac;
    font-size: 1.5rem;
}

.temp-password-box strong {
    color: #fff;
    font-size: 0.85rem;
}

.temp-password-box code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    color: #86efac;
    font-family: monospace;
    font-size: 0.95rem;
    margin-right: 0.5rem;
}

.temp-password-box small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.btn-copy {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.25rem;
}

.btn-copy:hover {
    color: #fff;
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toggle-switch input[type="checkbox"] {
    position: relative;
    width: 48px;
    height: 24px;
    appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.toggle-switch input[type="checkbox"]::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input[type="checkbox"]:checked {
    background: #8b5cf6;
}

.toggle-switch input[type="checkbox"]:checked::before {
    transform: translateX(24px);
}

.toggle-switch .toggle-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 0;
    padding: 0 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: stretch;
}

.modal-tab,
.tab-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
    padding: 0.875rem 1.25rem !important;
    margin: 0 !important;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}

.modal-tab:hover,
.tab-btn:hover {
    color: #fff !important;
    background: rgba(139, 92, 246, 0.1) !important;
}

.modal-tab.active,
.tab-btn.active {
    color: #c4b5fd !important;
    border-bottom: 2px solid #a78bfa !important;
    background: rgba(139, 92, 246, 0.15) !important;
}

/* Invite Item */
.invite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.invite-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.invite-email {
    color: #fff;
    font-weight: 500;
}

.invite-expires {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

/* Spinner */
.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Body Text and Checkboxes */
.admin-modal-body p,
.admin-modal-body .text-muted,
.admin-modal-body .modal-info {
    color: rgba(255, 255, 255, 0.8) !important;
}

.admin-modal-body label {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Checkbox list in modal */
.admin-modal-body input[type="checkbox"] + span,
.admin-modal-body input[type="checkbox"] ~ span,
.admin-modal-body .organizations-list label,
.admin-modal-body .checkbox-list label {
    color: #fff !important;
}

/* Organizations list */
.organizations-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.organizations-list label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff !important;
    cursor: pointer;
}

.organizations-list input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
}

/* Page Header fix */
.admin-users-page .page-header {
    background: transparent !important;
}

.admin-users-page .page-header h1,
.admin-users-page .page-header .page-subtitle,
.admin-users-page .page-header .header-content {
    color: #fff !important;
}

.admin-users-page .page-header .header-content h1 {
    color: #fff !important;
    font-size: 1.75rem;
    font-weight: 700;
}

.admin-users-page .page-header .header-content p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Use same button style as Partners page */
.admin-users-page .page-header .btn-admin-primary {
    padding: 0.75rem 1.5rem !important;
    background: rgba(139, 92, 246, 0.15) !important;
    border: 1px solid rgba(139, 92, 246, 0.4) !important;
    border-radius: 0.5rem !important;
    color: #c4b5fd !important;
    font-weight: 600 !important;
}

.admin-users-page .page-header .btn-admin-primary:hover {
    background: rgba(139, 92, 246, 0.25) !important;
    border-color: rgba(139, 92, 246, 0.6) !important;
    color: #ddd6fe !important;
}

.admin-users-page .page-header .btn-admin-secondary {
    padding: 0.75rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0.5rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 500 !important;
}

.admin-users-page .page-header .btn-admin-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Audit Info Styles */
.audit-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.audit-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.audit-label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
}

.audit-value {
    color: #fff !important;
    font-weight: 500;
}

/* Organization checkbox styles */
.org-checkbox {
    margin-bottom: 0.5rem;
}

.org-checkbox .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #fff !important;
}

.org-checkbox .org-name {
    color: #fff !important;
}

.org-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
}

/* Form help text */
.form-help {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
