/* ============================================================
   QCS Portal — Main Stylesheet
   Palette: #6EC1E4 blue · #54595F charcoal · #61CE70 green
   ============================================================ */

/* ── Reset & base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --blue:          #6EC1E4;
    --blue-dark:     #4FA8CE;
    --blue-tint:     #EBF5FB;
    --green:         #61CE70;
    --green-tint:    #EAF9EC;
    --charcoal:      #54595F;
    --text:          #7A7A7A;
    --text-dark:     #2D3440;
    --text-muted:    #9AABB8;
    --border:        #E4E9EE;
    --bg:            #F4F7FA;
    --white:         #FFFFFF;
    --red:           #E05252;
    --red-tint:      #FEF1F1;
    --amber:         #D97706;
    --amber-tint:    #FEF9EC;
    --sidebar-width: 240px;
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.05);
    --shadow:        0 1px 3px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
    --radius:        5px;
    --radius-sm:     3px;
}

html { font-size: 15px; }

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────── */
.layout {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    /* Sticky so nav stays on screen when page is long */
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    align-self: flex-start;
    z-index: 10;
}

/* Full-height sidebar illusion: layout pseudo-element fills the
   left column behind the sticky sidebar so there's no white gap
   below it on short pages */
.layout::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border);
    z-index: 1;
    pointer-events: none;
}

.sidebar { z-index: 2; }

.sidebar-header {
    padding: 20px 18px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.sidebar-logo-link {
    display: block;
    text-decoration: none;
}

.sidebar-logo-img {
    max-width: 154px;
    height: auto;
    display: block;
}

.sidebar-credit {
    padding: 8px 16px 12px;
    font-size: 0.75rem;
    color: #8A9FAE;
    text-align: center;
    letter-spacing: 0.01em;
    flex-shrink: 0;
}

.credit-link {
    color: var(--blue-dark);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.credit-link:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 12px 10px;
}

.sidebar-nav ul { list-style: none; }

.sidebar-nav li + li { margin-top: 2px; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: background 0.12s, color 0.12s;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: var(--bg);
    color: var(--text-dark);
    text-decoration: none;
}

.nav-link.active {
    background: var(--blue-tint);
    color: var(--blue-dark);
    border-left-color: var(--blue);
}

.nav-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.7;
}

.nav-link.active .nav-icon { opacity: 1; }

/* Sidebar footer / user block */
.sidebar-footer {
    padding: 12px 14px 14px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 1;
    min-width: 0;
}

.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(110,193,228,0.3);
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.logout-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    flex-shrink: 0;
    transition: background 0.12s, color 0.12s;
}

.logout-btn:hover {
    background: var(--red-tint);
    color: var(--red);
    text-decoration: none;
}

.logout-btn svg { width: 17px; height: 17px; }

/* ── Main content ────────────────────────────────────────── */
.main-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── Page header ─────────────────────────────────────────── */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 26px 32px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.page-title {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 3px;
}

.page-header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Page body ───────────────────────────────────────────── */
.page-body {
    padding: 24px 32px;
    flex: 1;
}

/* ── Toast notifications ─────────────────────────────────── */
.qcs-toast {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 500;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.11), 0 1px 4px rgba(0,0,0,0.06);
    min-width: 280px;
    max-width: 400px;
    border-left: 4px solid;
    animation: toastSlideIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.qcs-toast--success { border-color: var(--green); }
.qcs-toast--error   { border-color: var(--red); }
.qcs-toast--warning { border-color: var(--amber); }

.qcs-toast__icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.qcs-toast__icon svg { width: 18px; height: 18px; display: block; }

.qcs-toast--success .qcs-toast__icon { color: var(--green); }
.qcs-toast--error   .qcs-toast__icon { color: var(--red); }
.qcs-toast--warning .qcs-toast__icon { color: var(--amber); }

.qcs-toast__body { flex: 1; }

.qcs-toast__title {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 1px;
}

.qcs-toast__msg {
    font-size: 0.83rem;
    color: var(--text);
    line-height: 1.4;
}

.qcs-toast__close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: -1px;
    transition: color 0.1s;
}

.qcs-toast__close:hover { color: var(--text-dark); }

.qcs-toast.is-hiding {
    animation: toastSlideOut 0.22s ease forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(calc(100% + 32px)); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(calc(100% + 32px)); opacity: 0; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.btn:hover { text-decoration: none; }

/* Shimmer sweep on primary button hover */
.btn-primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    box-shadow: 0 1px 3px rgba(78,168,206,0.25);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transform: skewX(-18deg);
    transition: left 0s;
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 2px 6px rgba(78,168,206,0.35);
    color: var(--white);
}

.btn-primary:hover::after {
    left: 130%;
    transition: left 0.45s ease;
}

.btn-secondary {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: #C8D3DC;
    color: var(--text-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}

.btn-ghost:hover { background: var(--bg); }

.btn-full { width: 100%; justify-content: center; }

/* Small inline action buttons */
.btn-action {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
    white-space: nowrap;
}

.btn-action-warn   { color: var(--amber); border-color: #F0D090; }
.btn-action-warn:hover   { background: var(--amber-tint); }

.btn-action-ok     { color: #1A6B2A; border-color: #A5D6AA; }
.btn-action-ok:hover     { background: var(--green-tint); }

.btn-action-danger { color: var(--red); border-color: #F0C0C0; }
.btn-action-danger:hover { background: var(--red-tint); }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group:last-of-type { margin-bottom: 0; }

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.required { color: var(--red); margin-left: 2px; }

.form-input {
    display: block;
    width: 100%;
    padding: 9px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    line-height: 1.4;
}

.form-input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(110,193,228,0.18);
}

.form-input::placeholder { color: #B5C2CC; }

.form-input.input-error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(224,82,82,0.15);
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-select { appearance: none; cursor: pointer; }

/* Search bar */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.search-input-wrap {
    position: relative;
    flex: 1;
    max-width: 420px;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.search-input { padding-left: 34px; }

/* ── Toolbar (search + filter toggle) ───────────────────── */
.toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.toolbar .search-input-wrap {
    flex: 1;
    max-width: 400px;
}

.filter-toggle-btn {
    position: relative;
    gap: 6px;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    line-height: 1;
}

/* ── Filter panel ────────────────────────────────────────── */
.filter-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.22s ease, opacity 0.18s ease;
    opacity: 0;
}

.filter-panel.is-open {
    max-height: 200px;
    opacity: 1;
}

.filter-panel-inner {
    display: flex;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 10px;
    padding: 16px 20px;
}

.filter-section {
    flex: 1;
}

.filter-divider {
    width: 1px;
    background: var(--border);
    align-self: stretch;
    margin: 0 20px;
}

.filter-section-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-section-label svg { color: var(--text-muted); }

.filter-date-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-date-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.filter-date-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.filter-date-sep {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 18px;
    flex-shrink: 0;
}

.form-input-sm {
    padding: 7px 10px;
    font-size: 0.84rem;
}

/* ── Active filter tags ──────────────────────────────────── */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 2px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    background: var(--blue-tint);
    color: var(--blue-dark);
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 500;
    border: 1px solid rgba(110,193,228,0.35);
}

/* ── Pagination improvements ─────────────────────────────── */
.page-btn-active {
    background: var(--blue);
    color: var(--white) !important;
    border-color: var(--blue);
}

.page-btn-active:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    text-decoration: none;
}

.page-btn-edge {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    padding: 5px 6px;
    color: var(--text-muted);
    font-size: 0.83rem;
}

/* ── Card ────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
}

/* Subtle blue top-accent on main data cards */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue) 0%, rgba(110,193,228,0.3) 100%);
    border-radius: 6px 6px 0 0;
}

/* ── Data table ──────────────────────────────────────────── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.data-table thead {
    background: #F8FAFB;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    padding: 11px 16px;
    text-align: left;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.data-table td {
    padding: 14px 16px;
    color: var(--text-dark);
    border-bottom: 1px solid #F0F4F8;
    vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.data-table tbody tr:hover td {
    background: #FAFCFD;
}

.cell-mono { font-family: 'Roboto Mono', 'Consolas', monospace; font-size: 0.84rem; }
.cell-muted { color: var(--text-muted); }
.col-actions { width: 1%; white-space: nowrap; }

.action-group { display: flex; gap: 6px; align-items: center; }
.inline-form  { display: inline; }

/* ── Badge ───────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 100px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-success    { background: var(--green-tint); color: #1A6B2A; }
.badge-warning    { background: var(--amber-tint); color: #7B4000; }
.badge-error      { background: var(--red-tint);   color: #8B1A1A; }

/* Role badges */
.badge-role-super { background: #EBF5FB; color: #2878A8; border: 1px solid rgba(110,193,228,0.4); }
.badge-role-admin { background: #F0EEF9; color: #5B4ABF; border: 1px solid rgba(130,100,210,0.3); }
.badge-role-user  { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }

/* ── Users page specific ─────────────────────────────────── */
.user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--blue-tint);
    color: var(--blue-dark);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(110,193,228,0.25);
}

.self-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 1px 7px;
    font-weight: 500;
}

.protected-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Two-column form row in modals */
.form-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

@media (max-width: 500px) {
    .form-two-col { grid-template-columns: 1fr; }
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    background: #FAFCFD;
    font-size: 0.83rem;
}

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

.pagination-links { display: flex; gap: 8px; }

.page-btn {
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--charcoal);
    font-size: 0.83rem;
    background: var(--white);
    transition: background 0.1s, border-color 0.1s;
}

.page-btn:hover {
    background: var(--bg);
    border-color: #C8D3DC;
    text-decoration: none;
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: block;
}

.empty-state p {
    font-size: 0.9rem;
    margin-bottom: 18px;
}

/* ── Stats row (history page) ────────────────────────────── */
.stats-row {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    flex: 1;
}

/* Coloured left accent per stat */
.stat-card:nth-child(1) { border-left: 3px solid var(--blue); }
.stat-card:nth-child(2) { border-left: 3px solid var(--green); }
.stat-card:nth-child(3) { border-left: 3px solid var(--red); }

.stat-value {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1;
}

.stat-value-success { color: #1A6B2A; }
.stat-value-danger  { color: var(--red); }

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

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 44, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}

.modal-overlay[hidden] { display: none; }

.modal {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 6px rgba(0,0,0,0.07);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    border-bottom: 1px solid var(--border);
    background: #FAFCFD;
}

.modal-title {
    font-family: 'Roboto Slab', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    border-radius: var(--radius-sm);
    display: flex;
    transition: color 0.1s, background 0.1s;
}

.modal-close:hover { background: var(--bg); color: var(--text-dark); }

.modal-close svg { width: 18px; height: 18px; }

.modal-body { padding: 22px 22px 8px; }

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 22px 20px;
    background: #FAFCFD;
    border-top: 1px solid var(--border);
}

/* ── Auth / login page ───────────────────────────────────── */
body.auth-page {
    background: #EEF3F7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-wrapper {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
    padding: 36px 36px 30px;
    width: 100%;
    text-align: center;
}

.auth-logo {
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
}

.auth-logo-img {
    max-width: 190px;
    height: auto;
}

.auth-subtitle {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.auth-form { text-align: left; }

.auth-form .form-group { margin-bottom: 16px; }

.auth-form .btn-full { margin-top: 8px; padding: 10px 16px; font-size: 0.9rem; }

.auth-footer {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
    line-height: 1.65;
}

.auth-credit {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--blue-dark);
    text-decoration: none;
    transition: color 0.15s;
}

.auth-credit:hover {
    color: var(--blue);
    text-decoration: underline;
}
