/* =========================================================
   SIMUBANK
   GLOBAL STYLESHEET
   Dashboard + Header + Sidebar
   ========================================================= */


/* =========================================================
   1. DESIGN VARIABLES
   ========================================================= */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;

    --sidebar-bg: #0f172a;
    --sidebar-hover: #1e293b;

    --page-bg: #f5f7fb;
    --white: #ffffff;

    --text: #0f172a;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --border: #e5e7eb;
    --border-light: #eef2f7;

    --success: #16a34a;
    --success-bg: #ecfdf5;

    --danger: #dc2626;
    --danger-bg: #fef2f2;

    --warning: #d97706;
    --warning-bg: #fffbeb;

    --purple: #7c3aed;
    --purple-bg: #f5f3ff;

    --sidebar-width: 250px;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 15px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: var(--page-bg);
    color: var(--text);

    font-size: 14px;
    line-height: 1.5;

    min-height: 100vh;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   3. APPLICATION LAYOUT
   ========================================================= */

.app-layout {
    min-height: 100vh;
    width: 100%;
}


/* =========================================================
   4. SIDEBAR
   ========================================================= */

.sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: var(--sidebar-width);
    height: 100vh;

    background: var(--sidebar-bg);

    color: #ffffff;

    padding: 22px 14px;

    overflow-y: auto;

    z-index: 1000;

    scrollbar-width: thin;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 5px 9px;

    margin-bottom: 30px;

    text-decoration: none;

    color: #ffffff;
}

.brand-icon {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    background: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    font-weight: 800;

    flex-shrink: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;

    letter-spacing: -0.3px;
}


/* Navigation sections */

.nav-section {
    margin-bottom: 25px;
}

.nav-title {
    padding: 0 11px;

    margin-bottom: 8px;

    color: #64748b;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* Navigation */

.sidebar-nav {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.nav-link {
    display: flex;
    align-items: center;

    gap: 11px;

    width: 100%;

    padding: 10px 11px;

    border-radius: 8px;

    color: #cbd5e1;

    text-decoration: none;

    font-size: 12px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-link:hover {
    background: var(--sidebar-hover);
    color: #ffffff;
}

.nav-link.active {
    background: var(--primary);
    color: #ffffff;
}

.nav-icon {
    width: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;

    flex-shrink: 0;
}


/* Logout */

.logout-link {
    color: #fca5a5;
}

.logout-link:hover {
    color: #ffffff;
    background: rgba(220, 38, 38, 0.15);
}


/* Simulation notice in sidebar */

.simulation-notice {
    margin-top: 30px;

    padding: 13px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.06);
}

.simulation-notice strong {
    display: block;

    color: #ffffff;

    font-size: 10px;
}

.simulation-notice p {
    margin-top: 5px;

    color: #94a3b8;

    font-size: 9px;

    line-height: 1.5;
}


/* =========================================================
   5. MAIN CONTENT
   ========================================================= */

.main-content {
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    width: calc(100% - var(--sidebar-width));
}


/* =========================================================
   6. TOPBAR
   ========================================================= */

.topbar {
    position: sticky;

    top: 0;

    height: 70px;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 30px;

    z-index: 900;
}


/* Mobile menu */

.menu-toggle {
    display: none;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: #ffffff;

    color: var(--text);

    font-size: 18px;
}


/* Search */

.topbar-search {
    position: relative;

    width: 300px;
}

.topbar-search input {
    width: 100%;

    height: 38px;

    padding: 0 14px 0 38px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: #f8fafc;

    color: var(--text);

    font-size: 12px;

    outline: none;

    transition: border 0.2s ease;
}

.topbar-search input:focus {
    border-color: #93c5fd;

    background: #ffffff;
}

.topbar-search input::placeholder {
    color: #94a3b8;
}


/*
   Your current header.php contains the search icon
   as a separate span.
*/

.search-icon {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;

    font-size: 17px;

    pointer-events: none;

    z-index: 2;
}


/* Topbar actions */

.topbar-actions {
    display: flex;
    align-items: center;

    gap: 18px;
}


/* Notifications */

.notification-button {
    width: 36px;
    height: 36px;

    border: none;

    background: transparent;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;

    transition: background 0.2s ease;
}

.notification-button:hover {
    background: #f1f5f9;
}


/* User menu */

.user-menu {
    display: flex;
    align-items: center;

    gap: 9px;
}

.user-avatar {
    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 700;

    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;

    line-height: 1.25;
}

.user-info strong {
    color: var(--text-dark);

    font-size: 11px;
    font-weight: 600;
}

.user-info span {
    color: var(--text-muted);

    font-size: 9px;

    margin-top: 2px;
}


/* =========================================================
   7. PAGE CONTENT
   ========================================================= */

.page-content {
    width: 100%;

    padding: 27px 30px 35px;
}


/* =========================================================
   8. DASHBOARD
   ========================================================= */

.dashboard {
    width: 100%;
}


/* Dashboard header */

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 22px;
}

.dashboard-header h1 {
    color: var(--text);

    font-size: 22px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: -0.4px;

    margin-bottom: 5px;
}

.dashboard-header p {
    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   9. BALANCE SUMMARY
   ========================================================= */

.balance-summary {
    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1fr;

    gap: 15px;

    margin-bottom: 18px;
}


/* Summary card */

.summary-card {
    min-height: 116px;

    padding: 19px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    box-shadow: var(--shadow-sm);
}

.summary-card-top {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


/* Label */

.summary-label {
    display: block;

    margin-bottom: 7px;

    color: var(--text-muted);

    font-size: 10px;
    font-weight: 500;
}


/* Amount */

.summary-card h2 {
    color: var(--text);

    font-size: 23px;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: -0.5px;
}


/* Total balance */

.total-balance-card {
    background: var(--primary);

    border-color: var(--primary);

    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.14);
}

.total-balance-card .summary-label {
    color: rgba(255, 255, 255, 0.75);
}

.total-balance-card h2 {
    color: #ffffff;
}


/* Summary icons */

.summary-icon {
    width: 40px;
    height: 40px;

    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    font-weight: 700;

    flex-shrink: 0;
}

.blue-icon {
    background: rgba(255, 255, 255, 0.15);

    color: #ffffff;
}

.green-icon {
    background: var(--success-bg);

    color: var(--success);
}

.purple-icon {
    background: var(--purple-bg);

    color: var(--purple);
}


/* =========================================================
   10. DASHBOARD TWO-COLUMN GRID
   ========================================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        1fr;

    gap: 17px;

    margin-bottom: 18px;
}


/* Generic panel */

.dashboard-panel {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    overflow: hidden;

    box-shadow: var(--shadow-sm);
}


/* Panel header */

.panel-header {
    min-height: 62px;

    padding: 15px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border-bottom: 1px solid var(--border-light);
}

.panel-header h2 {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

.panel-header p {
    color: var(--text-muted);

    font-size: 9px;

    margin-top: 3px;
}

.view-all {
    color: var(--primary);

    font-size: 10px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}

.view-all:hover {
    text-decoration: underline;
}


/* =========================================================
   11. RECENT TRANSACTIONS
   ========================================================= */

.transaction-list {
    padding: 0 18px;
}

.transaction-item {
    min-height: 66px;

    display: flex;
    align-items: center;

    gap: 10px;

    border-bottom: 1px solid var(--border-light);
}

.transaction-item:last-child {
    border-bottom: none;
}


/* Transaction icon */

.transaction-icon {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;

    flex-shrink: 0;
}

.transaction-icon.transfer {
    background: var(--primary-light);

    color: var(--primary);
}

.transaction-icon.deposit {
    background: var(--success-bg);

    color: var(--success);
}

.transaction-icon.withdraw {
    background: var(--danger-bg);

    color: var(--danger);
}


/* Transaction details */

.transaction-details {
    flex: 1;

    min-width: 0;
}

.transaction-details strong {
    display: block;

    color: var(--text-dark);

    font-size: 10px;
    font-weight: 600;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}

.transaction-details span {
    display: block;

    color: var(--text-light);

    font-size: 8px;

    margin-top: 3px;
}


/* Transaction amount */

.transaction-right {
    text-align: right;

    flex-shrink: 0;
}

.transaction-right strong {
    display: block;

    font-size: 10px;
    font-weight: 700;
}

.amount-negative {
    color: var(--danger);
}

.amount-positive {
    color: var(--success);
}


/* Status */

.transaction-status {
    display: inline-block;

    margin-top: 3px;

    padding: 2px 6px;

    border-radius: 20px;

    background: var(--success-bg);

    color: var(--success);

    font-size: 7px;
    font-weight: 600;
}


/* =========================================================
   12. CRYPTO WALLETS
   ========================================================= */

.crypto-wallet-list {
    padding: 0 18px;
}

.wallet-item {
    min-height: 66px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    border-bottom: 1px solid var(--border-light);
}

.wallet-item:last-child {
    border-bottom: none;
}


/* Wallet left side */

.wallet-main {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.wallet-icon {
    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: #f1f5f9;

    color: #334155;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 700;

    flex-shrink: 0;
}

.wallet-info {
    min-width: 0;
}

.wallet-info strong {
    display: block;

    color: var(--text-dark);

    font-size: 10px;
    font-weight: 600;
}

.wallet-info span {
    display: block;

    color: var(--text-light);

    font-size: 8px;

    margin-top: 3px;
}


/* Wallet balance */

.wallet-balance {
    text-align: right;

    flex-shrink: 0;
}

.wallet-balance strong {
    display: block;

    color: var(--text-dark);

    font-size: 9px;
    font-weight: 600;
}

.wallet-balance span {
    display: block;

    color: var(--text-muted);

    font-size: 8px;

    margin-top: 3px;
}


/* Crypto total */

.crypto-total {
    margin: 8px 18px 16px;

    padding: 12px;

    border-radius: 9px;

    background: #f8fafc;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.crypto-total span {
    display: block;

    color: var(--text-muted);

    font-size: 8px;

    margin-bottom: 3px;
}

.crypto-total strong {
    display: block;

    color: var(--text);

    font-size: 15px;
    font-weight: 700;
}

.crypto-view-button {
    padding: 7px 10px;

    background: var(--primary);

    color: #ffffff;

    border-radius: 7px;

    font-size: 8px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}

.crypto-view-button:hover {
    background: var(--primary-dark);
}


/* =========================================================
   13. QUICK ACTIONS
   ========================================================= */

.quick-actions-panel {
    margin-bottom: 18px;
}

.quick-actions {
    padding: 15px 18px 18px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 10px;
}

.quick-action {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 9px;

    background: #ffffff;

    text-decoration: none;

    transition:
        border 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.quick-action:hover {
    border-color: #bfdbfe;

    box-shadow: var(--shadow-sm);

    transform: translateY(-1px);
}


/* Quick action icon */

.quick-action-icon {
    width: 34px;
    height: 34px;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;

    flex-shrink: 0;
}

.transfer-icon {
    background: var(--primary-light);

    color: var(--primary);
}

.deposit-icon {
    background: var(--success-bg);

    color: var(--success);
}

.withdraw-icon {
    background: var(--danger-bg);

    color: var(--danger);
}

.cards-icon {
    background: var(--purple-bg);

    color: var(--purple);
}


/* Quick action text */

.quick-action strong {
    display: block;

    color: var(--text-dark);

    font-size: 9px;
    font-weight: 600;
}

.quick-action span {
    display: block;

    color: var(--text-light);

    font-size: 8px;

    margin-top: 2px;
}


/* =========================================================
   14. DASHBOARD SIMULATION NOTICE
   ========================================================= */

.dashboard-notice {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 12px 14px;

    background: var(--primary-light);

    border: 1px solid #dbeafe;

    border-radius: 9px;

    margin-bottom: 5px;
}

.notice-icon {
    width: 23px;
    height: 23px;

    border-radius: 50%;

    background: var(--primary);

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 700;

    flex-shrink: 0;
}

.dashboard-notice strong {
    display: block;

    color: #1e3a8a;

    font-size: 9px;
    font-weight: 700;

    margin-bottom: 3px;
}

.dashboard-notice p {
    color: #475569;

    font-size: 8px;

    line-height: 1.5;
}


/* =========================================================
   15. SCROLLBAR
   ========================================================= */

.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #334155;

    border-radius: 20px;
}


/* =========================================================
   16. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1100px) {

    :root {
        --sidebar-width: 230px;
    }

    .main-content {
        width: calc(100% - var(--sidebar-width));
    }

    .page-content {
        padding: 24px;
    }

    .topbar {
        padding: 0 24px;
    }

    .topbar-search {
        width: 250px;
    }

    .balance-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .total-balance-card {
        grid-column: span 2;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   17. RESPONSIVE — MOBILE SIDEBAR
   ========================================================= */

@media (max-width: 900px) {

    .sidebar {
        transform: translateX(-100%);

        transition: transform 0.25s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;

        width: 100%;
    }

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .topbar {
        gap: 15px;
    }

    .topbar-search {
        flex: 1;

        width: auto;
    }

}


/* =========================================================
   18. RESPONSIVE — SMALL TABLET
   ========================================================= */

@media (max-width: 700px) {

    .page-content {
        padding: 20px 16px 30px;
    }

    .topbar {
        height: 64px;

        padding: 0 16px;
    }

    .topbar-search {
        display: none;
    }

    .topbar-actions {
        margin-left: auto;
    }

    .dashboard-header {
        margin-bottom: 19px;
    }

    .dashboard-header h1 {
        font-size: 19px;
    }

    .dashboard-header p {
        font-size: 11px;
    }

    .balance-summary {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .total-balance-card {
        grid-column: span 1;
    }

    .summary-card {
        min-height: 105px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   19. RESPONSIVE — PHONE
   ========================================================= */

@media (max-width: 480px) {

    .page-content {
        padding: 18px 12px 25px;
    }

    .topbar {
        padding: 0 12px;
    }

    .user-info {
        display: none;
    }

    .topbar-actions {
        gap: 8px;
    }

    .dashboard-header h1 {
        font-size: 17px;
    }

    .summary-card {
        padding: 16px;
    }

    .summary-card h2 {
        font-size: 20px;
    }

    .panel-header {
        padding: 14px;
    }

    .transaction-list,
    .crypto-wallet-list {
        padding-left: 14px;
        padding-right: 14px;
    }

    .transaction-details strong {
        max-width: 145px;
    }

    .crypto-total {
        margin-left: 14px;
        margin-right: 14px;
    }

    .quick-actions {
        padding-left: 14px;
        padding-right: 14px;
    }

    .quick-action {
        padding: 10px;
    }

    .quick-action-icon {
        width: 31px;
        height: 31px;
    }

    .dashboard-notice {
        padding: 11px;
    }

}


/* =========================================================
   20. VERY SMALL PHONES
   ========================================================= */

@media (max-width: 360px) {

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .transaction-right {
        display: none;
    }

    .wallet-balance {
        max-width: 105px;
    }

    .wallet-balance strong {
        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }

}
/* =========================================================
   AUTHENTICATION PAGES
   Login / Register
   ========================================================= */

.auth-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 35%),
        radial-gradient(circle at bottom right, rgba(30, 64, 175, 0.10), transparent 35%),
        #f5f7fb;
}

.auth-card {
    width: 100%;
    max-width: 470px;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.10);
}

/* LOGO */

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.auth-logo h1 {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

/* HEADER */

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-header h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.6px;
}

.auth-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* FORM */

.auth-card form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #d9e1ec;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #94a3b8;
}

.form-group input:hover {
    border-color: #b8c5d6;
}

.form-group input:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

/* OPTIONS */

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 4px 0 22px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    cursor: pointer;
}

.remember-me input {
    width: 15px;
    height: 15px;
    accent-color: #2563eb;
    cursor: pointer;
}

.auth-options a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.auth-options a:hover {
    text-decoration: underline;
}

/* LOGIN BUTTON */

.auth-submit {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.auth-submit:active {
    transform: translateY(0);
}

/* ERROR MESSAGE */

.auth-error {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 9px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.5;
}

/* REGISTER / LOGIN LINK */

.auth-register {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 24px;
    color: #64748b;
    font-size: 14px;
}

.auth-register a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.auth-register a:hover {
    text-decoration: underline;
}

/* SIMULATION NOTICE */

.auth-notice {
    margin-top: 28px;
    padding: 15px 16px;
    border-radius: 11px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.auth-notice strong {
    display: block;
    margin-bottom: 5px;
    color: #1e40af;
    font-size: 13px;
    font-weight: 700;
}

.auth-notice p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   REGISTER PAGE
   ========================================================= */

.auth-register-card {
    max-width: 500px;
}

.auth-register-card .auth-logo {
    margin-bottom: 25px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .auth-page {
        padding: 25px 15px;
        align-items: flex-start;
    }

    .auth-card {
        margin-top: 15px;
        padding: 28px 22px;
        border-radius: 16px;
    }

    .auth-header h2 {
        font-size: 24px;
    }

    .auth-header p {
        font-size: 13px;
    }

    .auth-options {
        align-items: flex-start;
    }

}

@media (max-width: 380px) {

    .auth-card {
        padding: 24px 18px;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }

}