/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 21 Apr 2026, 5:15:36 pm
    Author     : nurulfarhanabintijeefrilikhsan
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.admin-auth-body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f7fb;
    color: #0f172a;
    min-height: 100vh;
}

.top-bar {
    width: 100%;
    padding: 24px 48px 8px;
}

.back-link {
    text-decoration: none;
    color: #475569;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link i {
    font-size: 1.1rem;
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
    margin: 0 auto 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-badge {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    border-radius: 12px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.22);
}

.auth-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 1rem;
    color: #64748b;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 34px 34px 28px;
}

.alert-box {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 600;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #ecfdf5;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.input-field {
    margin-bottom: 18px;
}

.input-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111827;
}

.input-field label span {
    color: #ef4444;
}

.input-field input {
    width: 100%;
    height: 56px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 0 18px;
    font-size: 1rem;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: 0.2s ease;
}

.input-field input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10);
}

.input-field input::placeholder {
    color: #9ca3af;
}

.input-field input[readonly] {
    background: #f8fafc;
    color: #64748b;
}

.hint {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: #64748b;
}

.btn-auth-submit {
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #4f46e5, #4338ca);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 10px 18px rgba(79, 70, 229, 0.22);
    transition: 0.2s ease;
}

.btn-auth-submit:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.form-footer {
    margin-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.98rem;
}

.form-footer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .top-bar {
        padding: 20px 24px 8px;
    }

    .auth-wrapper {
        max-width: 92%;
    }

    .auth-header h1 {
        font-size: 2.2rem;
    }

    .auth-card {
        padding: 24px 20px;
    }
}

/* =========================
   ADMIN DASHBOARD
========================= */

.admin-dashboard-layout {
    display: flex;
    min-height: 100vh;
    background: #f4f7fb;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.admin-sidebar {
    width: 270px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.admin-logo h2 {
    font-size: 1.05rem;
    margin: 0;
    color: #111827;
    font-weight: 800;
}

.admin-logo span {
    font-size: 0.88rem;
    color: #64748b;
}

.admin-user-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.admin-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.admin-user-box strong {
    color: #111827;
    font-size: 1rem;
}

.admin-user-box small {
    color: #64748b;
    font-size: 0.88rem;
}

.admin-menu {
    list-style: none;
    padding: 14px 16px;
    margin: 0;
}

.admin-menu li {
    margin-bottom: 8px;
}

.admin-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.2s ease;
}

.admin-menu li a:hover {
    background: #f3f4f6;
}

.admin-menu li.active a {
    background: linear-gradient(90deg, #2563eb, #a21caf);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.20);
}

.admin-logout {
    padding: 18px;
    border-top: 1px solid #e5e7eb;
}

.admin-logout a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 700;
}

.admin-main-content {
    flex: 1;
    padding: 24px 30px;
}

.admin-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 26px;
}

.admin-top-header h1 {
    margin: 0 0 6px;
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
}

.admin-top-header p {
    margin: 0;
    font-size: 1rem;
    color: #64748b;
}

.admin-export-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    background: linear-gradient(90deg, #2563eb, #a21caf);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.20);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.admin-stat-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.admin-stat-icon.blue {
    background: #dbeafe;
    color: #2563eb;
}

.admin-stat-icon.purple {
    background: #f3e8ff;
    color: #9333ea;
}

.admin-stat-icon.green {
    background: #dcfce7;
    color: #16a34a;
}

.admin-stat-icon.yellow {
    background: #fef3c7;
    color: #d97706;
}

.admin-stat-growth {
    font-weight: 800;
    font-size: 0.95rem;
}

.admin-stat-growth.positive {
    color: #16a34a;
}

.admin-stat-card h3 {
    margin: 0 0 6px;
    font-size: 2rem;
    color: #111827;
    font-weight: 800;
}

.admin-stat-card p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.admin-middle-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
}

.admin-overview-card,
.admin-health-card,
.admin-quick-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    padding: 24px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-card-header h2,
.admin-health-card h2,
.admin-quick-card h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #111827;
    font-weight: 800;
}

.admin-card-header i {
    color: #94a3b8;
    font-size: 1.3rem;
}

.month-row {
    margin-bottom: 22px;
}

.month-label {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 600;
}

.month-bar-area {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 8px;
}

.month-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #a21caf);
}

.month-values {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    font-weight: 700;
}

.parcel-count {
    color: #9333ea;
}

.month-revenue {
    color: #16a34a;
}

.health-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.health-item p {
    margin: 0 0 6px;
    color: #475569;
    font-size: 1rem;
}

.health-item strong {
    color: #111827;
    font-size: 1.05rem;
}

.health-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.health-dot.green {
    background: #22c55e;
}

.health-dot.yellow {
    background: #eab308;
}

.admin-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.quick-action-btn {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111827;
    font-weight: 700;
    background: #ffffff;
    transition: 0.2s ease;
}

.quick-action-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.quick-action-btn i {
    font-size: 1.3rem;
}

.empty-row {
    text-align: center;
    color: #64748b;
    padding: 18px;
}

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

    .admin-middle-grid {
        grid-template-columns: 1fr;
    }

    .admin-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   ADMIN PAGE COMMON
========================= */

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.admin-page-header h1 {
    margin: 0 0 6px;
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
}

.admin-page-header p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

/* =========================
   USER MANAGEMENT
========================= */

.admin-user-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 24px;
}

.user-search-box {
    margin-bottom: 24px;
}

.admin-table-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.admin-table-header {
    padding: 24px;
    border-bottom: 1px solid #eef2f7;
}

.admin-table-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
}

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

.admin-user-table thead th {
    background: #f8fafc;
    color: #6b7280;
    font-size: 0.84rem;
    font-weight: 800;
    text-align: left;
    padding: 16px 24px;
}

.admin-user-table tbody td {
    padding: 16px 24px;
    border-top: 1px solid #eef2f7;
    vertical-align: middle;
}

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

.admin-user-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #60a5fa, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.admin-user-info strong {
    color: #111827;
    font-size: 0.98rem;
}

.admin-user-info span {
    color: #64748b;
    font-size: 0.9rem;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.staff-role {
    background: #dbeafe;
    color: #2563eb;
}

.admin-role {
    background: #f3e8ff;
    color: #9333ea;
}

.status-pill {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.active-pill {
    background: #dcfce7;
    color: #15803d;
}

.user-action-icons {
    display: flex;
    gap: 16px;
}

.user-action-icons a:first-child {
    color: #64748b;
}

.user-action-icons a:nth-child(2) {
    color: #2563eb;
}

.user-action-icons a:last-child {
    color: #ef4444;
}

.user-action-icons a:first-child {
    color: #2563eb;
}

.user-action-icons a:last-child {
    color: #ef4444;
}

/* =========================
   REPORTS
========================= */

.report-period-card,
.report-summary-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    padding: 18px 18px 20px;
    margin-bottom: 18px;
}

.report-period-card h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
    color: #111827;
}

.report-period-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.report-period-btn {
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #334155;
    background: #ffffff;
}

.report-period-btn.active {
    border-color: #2563eb;
    background: #eff6ff;
}

.report-period-btn i {
    font-size: 1rem;
    color: #64748b;
}

.report-period-btn strong {
    display: block;
    color: #111827;
    font-size: 0.95rem;
}

.report-period-btn span {
    font-size: 0.82rem;
    color: #64748b;
}

.report-period-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

.report-small-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.report-small-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    padding: 18px;
}

.report-small-card h3 {
    margin: 12px 0 4px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111827;
}

.report-small-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
}

.report-filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.report-dropdown {
    height: 46px;
    min-width: 220px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    padding: 0 42px 0 16px;
    background-color: #f8fafc;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%232563eb' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.report-dropdown:hover {
    border-color: #2563eb;
    background-color: #eff6ff;
}

.report-dropdown:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.report-apply-btn {
    height: 44px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    background: linear-gradient(90deg, #2563eb, #a21caf);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.report-period-btn {
    cursor: pointer;
}

.admin-stat-icon.red {
    background: #fee2e2;
    color: #ef4444;
}

.revenue-banner {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.revenue-banner span {
    font-size: 0.9rem;
    color: #64748b;
}

.revenue-banner h3 {
    margin: 6px 0 0;
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
}

.collection-rate-box {
    text-align: right;
}

.collection-rate-box strong {
    display: block;
    margin-top: 6px;
    color: #16a34a;
    font-size: 1.8rem;
    font-weight: 800;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.summary-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
}

.summary-box h4,
.metrics-box h4 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #111827;
    font-weight: 800;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #475569;
    font-size: 0.92rem;
}

.total-line {
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    font-weight: 700;
}

.green-text {
    color: #16a34a;
}

.red-text {
    color: #ef4444;
}

.yellow-text {
    color: #d97706;
}

.metrics-box {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
}

.metric-item {
    margin-bottom: 16px;
}

.metric-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.92rem;
    color: #475569;
}

.metric-bar-bg {
    width: 100%;
    height: 7px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.metric-bar {
    height: 100%;
    border-radius: 999px;
}

.green-bar {
    background: #22c55e;
}

.orange-bar {
    background: #f97316;
}

.metric-text-only {
    margin-bottom: 12px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .admin-user-stats,
    .report-small-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .report-period-grid,
    .report-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ADMIN FORM PAGE
========================= */

.admin-form-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    padding: 28px;
    max-width: 820px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.admin-form-grid .full-width {
    grid-column: 1 / -1;
}

.admin-form-actions {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.admin-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 180px;
    height: 58px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    color: #334155;
    font-weight: 700;
    background: #ffffff;
}

.admin-save-btn {
    max-width: 220px;
}

/* ALERT BOX */

.alert-box {
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* =========================
   ADMIN PROFILE
========================= */

.admin-profile-page-header {
    margin-bottom: 18px;
}

.profile-admin-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    max-width: 840px;
}

.profile-admin-top {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 30px;
    border-bottom: 1px solid #eef2f7;
}

.profile-admin-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 800;
    flex-shrink: 0;
}

.profile-admin-meta h2 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
}

.profile-admin-meta p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #64748b;
}

.profile-role-badge {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.profile-admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eef2f7;
    padding: 0 24px;
}

.profile-tab {
    text-decoration: none;
    color: #475569;
    font-weight: 700;
    padding: 18px 22px;
    border-bottom: 3px solid transparent;
    display: inline-block;
}

.profile-tab.active {
    color: #2563eb;
    border-bottom: 3px solid #2563eb;
}

.profile-admin-body {
    padding: 26px 30px 28px;
}

.profile-input-wrap {
    position: relative;
}

.profile-input-wrap i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.1rem;
}

.profile-input-wrap input,
.profile-input-wrap textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: #111827;
    font-size: 1rem;
    outline: none;
}

.profile-input-wrap input {
    height: 46px;
    padding: 0 16px 0 44px;
}

.profile-input-wrap textarea {
    min-height: 90px;
    padding: 14px 16px 14px 44px;
    resize: vertical;
}

.password-rules-box {
    margin-top: 10px;
    margin-bottom: 22px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 16px 18px;
    color: #1d4ed8;
}

.password-rules-box strong {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.password-rules-box ul {
    margin: 0;
    padding-left: 18px;
}

.password-rules-box li {
    margin-bottom: 6px;
    font-size: 0.92rem;
}

.profile-admin-actions {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.admin-profile-save-btn {
    height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 24px;
    background: linear-gradient(90deg, #2563eb, #a21caf);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.20);
}

.admin-password-btn {
    opacity: 0.95;
}

@media (max-width: 900px) {
    .profile-admin-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-admin-card {
        max-width: 100%;
    }
}

/* =========================
   VIEW USER PAGE FIX
========================= */

body {
    margin: 0;
    background: #f4f7fb;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #111827;
}

.view-user-page .profile-admin-card {
    max-width: 900px;
}

.view-user-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.view-user-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
}

.view-user-item span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.view-user-item strong {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
}

.active-text {
    color: #16a34a !important;
}

.profile-admin-actions a {
    text-decoration: none;
}

