/* ============================================================
   CIMA-DPO — Feuille de style principale
   ============================================================ */

:root {
    --navy:       #064e3b;
    --navy-mid:   #065f46;
    --navy-light: #047857;
    --blue:       #3b82f6;
    --blue-light: #60a5fa;
    --accent:     #10b981;
    --bg:         #f0f4f8;
    --surface:    #ffffff;
    --surface-2:  #f8fafc;
    --border:     #e2e8f0;
    --text:       #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --success:    #10b981;
    --warning:    #f59e0b;
    --danger:     #ef4444;
    --sidebar-w:  210px;
    --radius:     10px;
    --shadow:     0 1px 3px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.05);
    --shadow-lg:  0 4px 20px rgba(0,0,0,.10);
}

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

html { font-size: 15px; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.app-layout {
    display: flex;
    min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    width: var(--sidebar-w);
    background: var(--navy);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 100;
    transition: width .25s ease;
    overflow: hidden;
}

.sidebar-logo {
    padding: 10px 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
}

.sidebar-logo-inner {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    max-width: 100%;
}

.sidebar-logo-img {
    height: 26px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .88;
    display: block;
}

.sidebar-logo-dpo {
    font-size: .55rem;
    color: rgba(255,255,255,.4);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    padding-bottom: 1px;
    line-height: 1;
}

.logo-icon {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: .04em; }
.logo-sub { font-size: .65rem; color: rgba(255,255,255,.45); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

.sidebar-nav {
    flex: 1;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: rgba(255,255,255,.6);
    font-size: .85rem;
    font-weight: 500;
    transition: all .18s ease;
    white-space: nowrap;
    position: relative;
}

.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.nav-item:hover {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.9);
}

.nav-item.active {
    background: rgba(14,165,233,.15);
    color: var(--accent);
}

.nav-item .badge {
    margin-left: auto;
    background: var(--danger);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.sidebar-footer {
    padding: 12px 10px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-avatar {
    width: 32px; height: 32px;
    background: var(--navy-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.user-details { flex: 1; min-width: 0; }
.user-name { display: block; font-size: .78rem; color: rgba(255,255,255,.9); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role { display: block; font-size: .68rem; color: rgba(255,255,255,.4); }

.logout-btn {
    color: rgba(255,255,255,.4);
    transition: color .18s;
    flex-shrink: 0;
}
.logout-btn:hover { color: var(--danger); }
.logout-btn svg { width: 16px; height: 16px; }

.sidebar-toggle { display: none; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    padding: 32px 36px;
    min-height: 100vh;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
    margin-bottom: 28px;
}

.page-title {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.page-subtitle {
    font-size: .85rem;
    color: var(--text-muted);
}

.page-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.card-sm { padding: 18px 20px; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 6px;
}

.stat-icon svg { width: 20px; height: 20px; }

.stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: .78rem;
    color: var(--text-muted);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: .84rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn svg { width: 15px; height: 15px; }

.btn-primary {
    background: var(--navy);
    color: #fff;
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-1px); }

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg); }

.btn-success {
    background: var(--success);
    color: #fff;
}
.btn-success:hover { background: #059669; }

.btn-danger {
    background: var(--danger);
    color: #fff;
}
.btn-danger:hover { background: #dc2626; }

.btn-sm { padding: 5px 12px; font-size: .78rem; }
.btn-icon { padding: 7px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs {
    display: flex;
    gap: 4px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 4px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.tab {
    padding: 8px 18px;
    border-radius: 7px;
    font-size: .84rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .18s;
    border: none;
    background: none;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab:hover { color: var(--navy); background: var(--bg); }

.tab.active {
    background: var(--navy);
    color: #fff;
}

.tab .count {
    font-size: .72rem;
    background: rgba(255,255,255,.2);
    padding: 1px 6px;
    border-radius: 10px;
}

.tab:not(.active) .count {
    background: var(--bg);
    color: var(--text-muted);
}

/* ============================================================
   TABLE
   ============================================================ */
.table-wrapper {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

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

thead th {
    background: var(--surface-2);
    padding: 11px 14px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

tbody td {
    padding: 12px 14px;
    font-size: .84rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface-2); }

.td-name { font-weight: 600; color: var(--navy); }
.td-muted { color: var(--text-muted); font-size: .8rem; }

/* ============================================================
   BADGES / TAGS
   ============================================================ */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
}

.tag-red { background: #fef2f2; color: #dc2626; }
.tag-green { background: #f0fdf4; color: #16a34a; }
.tag-blue { background: #eff6ff; color: #2563eb; }
.tag-yellow { background: #fffbeb; color: #d97706; }
.tag-gray { background: #f1f5f9; color: #64748b; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .84rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color .18s, box-shadow .18s;
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

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

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.input-group { position: relative; }
.input-group .input-icon {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    color: var(--text-light);
    width: 16px; height: 16px;
}
.input-group .form-control { padding-left: 36px; }

/* ============================================================
   FLASH
   ============================================================ */
.flash {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.flash-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.flash-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.flash-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal {
    background: var(--surface);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
}

.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}

.modal-title { font-family: 'Sora', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); }

.modal-close {
    width: 30px; height: 30px;
    border-radius: 6px;
    border: none;
    background: var(--bg);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: background .18s;
}
.modal-close:hover { background: var(--border); }
.modal-close svg { width: 16px; height: 16px; }

.modal-footer {
    display: flex; gap: 10px; justify-content: flex-end;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
    position: relative;
    width: 240px;
}
.search-bar svg {
    position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
    width: 15px; height: 15px; color: var(--text-light);
}
.search-bar input {
    width: 100%; padding: 8px 10px 8px 34px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: .84rem;
    background: var(--surface);
    outline: none;
    transition: border-color .18s;
}
.search-bar input:focus { border-color: var(--accent); }

/* ============================================================
   TABLE TOOLBAR
   ============================================================ */
.table-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.table-count {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: auto;
}

/* ============================================================
   DROPDOWN
   ============================================================ */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    z-index: 50;
    display: none;
    overflow: hidden;
}
.dropdown-menu.open { display: block; }
.dropdown-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 14px;
    font-size: .83rem;
    color: var(--text);
    cursor: pointer;
    transition: background .15s;
    border: none; background: none; width: 100%; font-family: inherit;
    text-decoration: none;
}
.dropdown-item:hover { background: var(--bg); }
.dropdown-item svg { width: 15px; height: 15px; color: var(--text-muted); }

/* ============================================================
   QUICK ACTIONS (Dashboard)
   ============================================================ */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.quick-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform .18s, box-shadow .18s;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
}

.quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.quick-card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg);
    flex-shrink: 0;
}
.quick-card-icon svg { width: 20px; height: 20px; }

.quick-card-title { font-weight: 700; font-size: .9rem; color: var(--navy); }
.quick-card-sub { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

.arrow-icon { margin-left: auto; color: var(--text-light); }
.arrow-icon svg { width: 16px; height: 16px; }

/* ============================================================
   DOCUMENT FOLDERS
   ============================================================ */
.folders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.folder-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .18s;
    text-decoration: none;
    color: var(--text);
}

.folder-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border); }
.folder-card.active { border-color: var(--navy); background: var(--navy); color: #fff; }

.folder-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.folder-icon svg { width: 20px; height: 20px; }
.folder-name { font-size: .82rem; font-weight: 600; line-height: 1.3; }
.folder-tag { font-size: .68rem; background: var(--bg); color: var(--text-muted); padding: 2px 7px; border-radius: 100px; }
.folder-card.active .folder-tag { background: rgba(255,255,255,.15); color: rgba(255,255,255,.7); }

/* ============================================================
   UPLOAD ZONE
   ============================================================ */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color .18s, background .18s;
    margin-bottom: 24px;
}

.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(14,165,233,.03);
}

.upload-zone svg { width: 36px; height: 36px; color: var(--text-light); margin-bottom: 12px; }
.upload-zone p { font-size: .87rem; margin-bottom: 12px; }
.upload-zone .formats { font-size: .75rem; color: var(--text-light); margin-top: 8px; }

/* ============================================================
   ADMIN CARDS
   ============================================================ */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }

.admin-stat {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 3px solid var(--border);
}

.admin-stat.pending { border-left-color: var(--warning); }
.admin-stat.approved { border-left-color: var(--success); }
.admin-stat.refused { border-left-color: var(--danger); }

.admin-stat-num { font-family: 'Sora', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.admin-stat-label { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   PENDING ALERT
   ============================================================ */
.pending-alert {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 20px;
}

.pending-alert-title {
    font-size: .82rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 6px;
}

.pending-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    border: 1px solid #fde68a;
}

.pending-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--warning);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem;
    flex-shrink: 0;
}

.pending-name { font-weight: 600; font-size: .88rem; }
.pending-email { font-size: .77rem; color: var(--text-muted); }
.pending-actions { margin-left: auto; display: flex; gap: 8px; }

/* ============================================================
   ACCESS RIGHTS
   ============================================================ */
.access-rights {
    background: #eff6ff;
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-top: 20px;
}

.access-rights-title { font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: 12px; }

.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.access-col h4 { font-size: .82rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; }

.access-col ul { list-style: none; }
.access-col ul li {
    font-size: .8rem;
    color: var(--text);
    padding: 2px 0;
}
.access-col ul li::before { content: '— '; color: var(--text-muted); }

/* ============================================================
   ACTION ICONS
   ============================================================ */
.action-icons { display: flex; gap: 6px; }

.action-btn {
    width: 28px; height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all .15s;
    font-family: inherit;
}

.action-btn:hover { background: var(--bg); color: var(--navy); }
.action-btn.danger:hover { background: #fef2f2; border-color: #fecaca; color: var(--danger); }
.action-btn svg { width: 13px; height: 13px; }

/* ============================================================
   REPORTS
   ============================================================ */
.reports-grid { display: grid; gap: 12px; }

.report-item {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.report-icon { width: 40px; height: 40px; border-radius: 8px; background: #fef2f2; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.report-icon svg { width: 20px; height: 20px; color: var(--danger); }
.report-name { font-weight: 600; font-size: .88rem; }
.report-meta { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }
.report-actions { margin-left: auto; display: flex; gap: 8px; }

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 520px 1fr;
}

.login-left {
    display: flex;
    flex-direction: column;
    padding: 48px 52px;
    background: var(--surface);
}

.login-logo {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 52px;
}

.login-form-area { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 380px; }

.login-title { font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.login-sub { font-size: .88rem; color: var(--text-muted); margin-bottom: 32px; }

.login-secure { font-size: .75rem; color: var(--text-light); text-align: center; margin-top: 18px; }

.login-signup { font-size: .83rem; text-align: center; margin-top: 18px; color: var(--text-muted); }
.login-signup a { color: var(--navy); font-weight: 700; }

.login-right {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.login-right::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(14,165,233,.15) 0%, transparent 60%);
}

.login-right-content { position: relative; text-align: center; }

.login-right-logo {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    padding: 36px 48px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.login-right-logo .big-logo { font-family: 'Sora', sans-serif; font-size: 3.5rem; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.login-right-logo .big-logo span { color: var(--accent); }
.login-right-logo .big-sub { font-size: .8rem; color: rgba(255,255,255,.5); margin-top: 4px; }

.login-right-title { font-family: 'Sora', sans-serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.login-right-desc { font-size: .87rem; color: rgba(255,255,255,.55); line-height: 1.6; }

.login-right-tags {
    display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
    margin-top: 28px;
}

.login-tag {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
    font-size: .72rem;
    padding: 5px 12px;
    border-radius: 100px;
}

/* ============================================================
   REGISTER PAGE
   ============================================================ */
.register-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.register-box {
    background: var(--surface);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
    width: 100%;
    max-width: 480px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .login-page { grid-template-columns: 1fr; }
    .login-right { display: none; }
    :root { --sidebar-w: 60px; }
    .nav-item span, .logo-text, .user-details { display: none; }
    .sidebar-logo { justify-content: center; }
    .main-content { padding: 24px 20px; }
    .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .quick-actions { grid-template-columns: 1fr; }
}
