/* =========================================================
   MONARCH CODEX — CLEAN MASTER STYLE
   PART 1/8
   FOUNDATION • VARIABLES • RESET • CORE COMPONENTS
========================================================= */

:root {
    --black: #050505;
    --black-soft: #080808;
    --panel: #101010;
    --panel-light: #151515;

    --gold: #d4af37;
    --gold-light: #f0d77a;

    --white: #ffffff;
    --text: #e8e8e8;
    --muted: #999999;

    --green: #35d07f;
    --red: #ff5c5c;
    --orange: #f3b33d;
    --blue: #4da3ff;

    --border: rgba(212, 175, 55, 0.22);
    --border-soft: rgba(255, 255, 255, 0.07);

    --radius: 18px;
    --radius-small: 10px;

    --shadow:
        0 15px 45px rgba(0, 0, 0, 0.45);

    --transition:
        all 0.25s ease;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(212, 175, 55, 0.06),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 60%,
            rgba(212, 175, 55, 0.035),
            transparent 30%
        ),
        var(--black);

    color: var(--text);

    font-family:
        "Poppins",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

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


/* =========================================================
   GLOBAL CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;

    color: var(--white);

    line-height: 1.2;
    font-weight: 700;
}

p {
    margin: 0;
}

.text-gold {
    color: var(--gold);
}

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

.text-white {
    color: var(--white);
}

.text-success {
    color: var(--green);
}

.text-danger {
    color: var(--red);
}


/* =========================================================
   FORM ELEMENTS
========================================================= */

input,
select,
textarea {
    width: 100%;

    padding: 13px 14px;

    color: var(--white);

    background: #0b0b0b;

    border: 1px solid rgba(212, 175, 55, 0.20);

    border-radius: var(--radius-small);

    outline: none;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

input::placeholder,
textarea::placeholder {
    color: #666;
}

input:focus,
select:focus,
textarea:focus {
    background: #0e0e0e;

    border-color: var(--gold);

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.08);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   BUTTON SYSTEM
========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 10px 20px;

    border: 1px solid transparent;
    border-radius: var(--radius-small);

    font-weight: 600;

    transition: var(--transition);
}

.btn-primary {
    color: #080808;

    background: var(--gold);
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.22);
}

.btn-primary:disabled {
    opacity: 0.55;

    transform: none;

    box-shadow: none;
}

.btn-outline {
    color: var(--gold);

    background: transparent;

    border-color: var(--border);
}

.btn-outline:hover {
    color: #080808;

    background: var(--gold);

    border-color: var(--gold);
}


/* =========================================================
   GENERIC CARD
========================================================= */

.card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0)
        ),
        var(--panel);

    border:
        1px solid rgba(212, 175, 55, 0.16);

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}


/* =========================================================
   GENERIC SECTION
========================================================= */

.section {
    padding: 80px 0;
}

.section-dark {
    background: #080808;
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    margin-bottom: 10px;

    color: var(--white);

    font-size: clamp(28px, 4vw, 42px);
}

.section-heading p {
    max-width: 700px;

    color: var(--muted);
}


/* =========================================================
   STATUS SYSTEM
========================================================= */

.status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 5px 10px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}

.status-success,
.status-approved,
.status-active {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.10);

    border:
        1px solid rgba(53, 208, 127, 0.20);
}

.status-pending {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.10);

    border:
        1px solid rgba(243, 179, 61, 0.20);
}

.status-danger,
.status-rejected,
.status-inactive {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.10);

    border:
        1px solid rgba(255, 92, 92, 0.20);
}


/* =========================================================
   UTILITY CLASSES
========================================================= */

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.w-100 {
    width: 100%;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #292929;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}


/* =========================================================
   SELECTION
========================================================= */

::selection {
    color: #080808;
    background: var(--gold);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}


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

@media (max-width: 700px) {

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 60px 0;
    }

    input,
    select,
    textarea {
        font-size: 14px;
    }

    .btn {
        min-height: 42px;
        padding: 9px 16px;
    }
}


@media (max-width: 450px) {

    .container {
        width: calc(100% - 24px);
    }

    .section {
        padding: 50px 0;
    }
}
/* =========================================================
   MONARCH CODEX — PART 2/8
   HEADER • NAVIGATION • HERO
========================================================= */


/* =========================================================
   SITE HEADER
========================================================= */

.site-header,
header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background:
        rgba(5, 5, 5, 0.94);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.12);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar,
.main-nav,
.site-nav {
    width: min(1180px, calc(100% - 40px));

    min-height: 76px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   LOGO / BRAND
========================================================= */

.logo,
.brand-logo,
.nav-logo {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    color: var(--white);

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -0.3px;
}

.logo span,
.brand-logo span,
.nav-logo span {
    color: var(--gold);
}

.logo img,
.brand-logo img,
.nav-logo img {
    width: auto;
    max-height: 42px;

    object-fit: contain;
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-links,
.navigation-links {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;
}

.nav-links a,
.navigation-links a {
    position: relative;

    color: #bdbdbd;

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.nav-links a::after,
.navigation-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.nav-links a:hover,
.navigation-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after,
.navigation-links a:hover::after {
    width: 100%;
}


/* =========================================================
   NAV ACTIONS
========================================================= */

.nav-actions {
    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.nav-actions .btn {
    white-space: nowrap;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle,
.mobile-menu-toggle,
.nav-toggle {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background: #101010;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 10px;
}

.menu-toggle:hover,
.mobile-menu-toggle:hover,
.nav-toggle:hover {
    color: var(--gold);

    border-color: var(--gold);
}


/* =========================================================
   HERO
========================================================= */

.hero,
.hero-section {
    position: relative;

    overflow: hidden;

    min-height: 650px;

    display: flex;

    align-items: center;

    padding:
        90px 0
        80px;

    background:
        radial-gradient(
            circle at 15% 35%,
            rgba(212, 175, 55, 0.10),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(212, 175, 55, 0.05),
            transparent 30%
        ),
        #050505;
}

.hero::before,
.hero-section::before {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(212, 175, 55, 0.025),
            transparent
        );
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 2;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.95fr);

    align-items: center;

    gap: 60px;
}

.hero-content > * {
    min-width: 0;
}


/* =========================================================
   HERO BADGE
========================================================= */

.hero-badge {
    display: inline-flex;

    align-items: center;

    width: fit-content;

    margin-bottom: 20px;

    padding: 7px 13px;

    color: var(--gold);

    background:
        rgba(212, 175, 55, 0.07);

    border:
        1px solid rgba(212, 175, 55, 0.20);

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
    max-width: 720px;

    margin-bottom: 20px;

    color: var(--white);

    font-size:
        clamp(42px, 6vw, 76px);

    line-height: 1.02;

    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    max-width: 650px;

    margin-bottom: 28px;

    color: #a5a5a5;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    max-width: 620px;

    margin-top: 42px;
}

.hero-stat {
    padding: 16px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(212, 175, 55, 0.12);

    border-radius: 12px;
}

.hero-stat strong {
    display: block;

    margin-bottom: 3px;

    color: var(--white);

    font-size: 20px;
}

.hero-stat span {
    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 420px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-visual img {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 520px;

    margin: 0 auto;

    object-fit: contain;
}

.hero-visual::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(212, 175, 55, 0.16),
            transparent 68%
        );

    filter: blur(10px);
}


/* =========================================================
   FEATURE GRID
========================================================= */

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.feature-card {
    padding: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.012)
        );

    border:
        1px solid rgba(212, 175, 55, 0.14);

    border-radius: var(--radius);

    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(212, 175, 55, 0.35);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    color: var(--gold);

    background:
        rgba(212, 175, 55, 0.08);

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 12px;
}

.feature-card h3 {
    margin-bottom: 8px;

    font-size: 18px;
}

.feature-card p {
    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   ABOUT / INTRO
========================================================= */

.about-grid,
.intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 55px;
}

.about-content,
.intro-content {
    min-width: 0;
}

.about-content h2,
.intro-content h2 {
    margin-bottom: 18px;

    font-size:
        clamp(28px, 4vw, 44px);
}

.about-content p,
.intro-content p {
    margin-bottom: 15px;

    color: var(--muted);

    line-height: 1.8;
}

.about-image,
.intro-image {
    position: relative;

    overflow: hidden;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: var(--radius);

    background: #0b0b0b;
}

.about-image img,
.intro-image img {
    width: 100%;

    object-fit: cover;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 70px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.10),
            rgba(212, 175, 55, 0.025)
        );

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 24px;
}

.cta h2 {
    margin-bottom: 12px;

    font-size:
        clamp(28px, 4vw, 44px);
}

.cta p {
    max-width: 650px;

    margin: 0 auto 25px;

    color: var(--muted);
}

.cta-actions {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer,
footer {
    margin-top: 60px;

    padding:
        60px 0
        25px;

    background: #070707;

    border-top:
        1px solid rgba(212, 175, 55, 0.10);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        repeat(3, 1fr);

    gap: 40px;

    padding-bottom: 40px;
}

.footer-brand p {
    max-width: 330px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;
}

.footer-column h4 {
    margin-bottom: 15px;

    color: var(--white);

    font-size: 13px;
}

.footer-column a {
    display: block;

    margin-bottom: 9px;

    color: #888;

    font-size: 12px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 20px;

    color: #666;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    text-align: center;

    font-size: 11px;
}


/* =========================================================
   RESPONSIVE HEADER / HERO
========================================================= */

@media (max-width: 900px) {

    .navbar,
    .main-nav,
    .site-nav {
        min-height: 68px;
    }

    .nav-links,
    .navigation-links {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .menu-toggle,
    .mobile-menu-toggle,
    .nav-toggle {
        display: inline-flex;
    }

    .hero,
    .hero-section {
        min-height: auto;

        padding:
            75px 0
            60px;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 45px;

        text-align: center;
    }

    .hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        min-height: 330px;
    }

    .features-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-grid,
    .intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 700px) {

    .navbar,
    .main-nav,
    .site-nav,
    .hero-content {
        width: calc(100% - 30px);
    }

    .nav-actions .btn {
        display: none;
    }

    .hero h1 {
        font-size:
            clamp(38px, 11vw, 58px);

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: 1fr;

        max-width: 360px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .cta {
        padding: 50px 20px;
    }
}


@media (max-width: 450px) {

    .navbar,
    .main-nav,
    .site-nav,
    .hero-content {
        width: calc(100% - 24px);
    }

    .logo,
    .brand-logo,
    .nav-logo {
        font-size: 17px;
    }

    .hero,
    .hero-section {
        padding-top: 55px;
    }

    .hero-actions {
        flex-direction: column;

        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 260px;
    }

    .hero-visual::before {
        width: 250px;
        height: 250px;
    }
}
/* =========================================================
   MONARCH CODEX — PART 3/8
   PACKAGES • PRICING • INVESTMENT CARDS
========================================================= */


/* =========================================================
   PACKAGES SECTION
========================================================= */

.packages-section {
    position: relative;

    padding: 80px 0;

    background: #050505;
}

.packages-section .section-heading {
    text-align: center;
}

.packages-section .section-heading p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   PACKAGES GRID
========================================================= */

.packages-grid,
.package-grid,
.packages-container {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;

    align-items: stretch;
}


/* =========================================================
   PACKAGE CARD
========================================================= */

.package-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    padding: 28px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 20px;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.30);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.package-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );

    opacity: 0.55;
}

.package-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(212, 175, 55, 0.40);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   PACKAGE HEADER
========================================================= */

.package-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.package-title {
    color: var(--white);

    font-size: 21px;
    font-weight: 700;
}

.package-subtitle {
    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   PACKAGE BADGE
========================================================= */

.package-badge,
.package-tag,
.popular-badge {
    flex-shrink: 0;

    padding: 5px 9px;

    color: #080808;

    background: var(--gold);

    border-radius: 999px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


/* =========================================================
   PACKAGE PRICE
========================================================= */

.package-price {
    margin-bottom: 20px;
}

.package-price .amount,
.package-price strong {
    color: var(--gold);

    font-size: 32px;
    font-weight: 800;

    line-height: 1.1;
}

.package-price .currency {
    margin-right: 3px;

    color: var(--gold);

    font-size: 15px;
    font-weight: 700;
}

.package-price .period {
    margin-left: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   PACKAGE DESCRIPTION
========================================================= */

.package-description {
    margin-bottom: 22px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   PACKAGE FEATURES
========================================================= */

.package-features {
    display: flex;
    flex-direction: column;

    gap: 11px;

    margin: 0 0 25px;

    padding: 0;

    list-style: none;
}

.package-features li {
    position: relative;

    padding-left: 23px;

    color: #c2c2c2;

    font-size: 12px;
}

.package-features li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 0;

    color: var(--green);

    font-weight: 800;
}


/* =========================================================
   PACKAGE BUTTON
========================================================= */

.package-card .btn,
.package-action {
    width: 100%;

    margin-top: auto;
}


/* =========================================================
   FEATURED PACKAGE
========================================================= */

.package-card.featured,
.package-card.popular,
.package-card.recommended {
    border-color:
        rgba(212, 175, 55, 0.42);

    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.08);
}

.package-card.featured::before,
.package-card.popular::before,
.package-card.recommended::before {
    opacity: 1;
}


/* =========================================================
   PACKAGE VISIBILITY COMPATIBILITY
   IMPORTANT: KEEP PACKAGE CARDS VISIBLE
========================================================= */

.package-card,
.package-card *,
.packages-grid .package-card,
.package-grid .package-card,
.packages-container .package-card {
    visibility: visible;
}

.package-card {
    opacity: 1;
}


/* =========================================================
   INVESTMENT SECTION
========================================================= */

.investment-section {
    padding: 80px 0;

    background: #070707;
}

.investment-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   INVESTMENT CARD
========================================================= */

.investment-card {
    position: relative;

    padding: 26px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.01)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.15);

    border-radius: 18px;

    transition: var(--transition);
}

.investment-card:hover {
    border-color:
        rgba(212, 175, 55, 0.30);

    transform: translateY(-3px);
}


/* =========================================================
   INVESTMENT CARD HEADER
========================================================= */

.investment-card-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.investment-card-header h3 {
    font-size: 18px;
}

.investment-card-header p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   INVESTMENT AMOUNT
========================================================= */

.investment-amount {
    margin-bottom: 20px;

    color: var(--gold);

    font-size: 30px;
    font-weight: 800;
}

.investment-amount small {
    color: var(--muted);

    font-size: 11px;
    font-weight: 500;
}


/* =========================================================
   INVESTMENT DETAILS
========================================================= */

.investment-details {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.investment-detail {
    padding: 13px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(255, 255, 255, 0.055);

    border-radius: 10px;
}

.investment-detail span {
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;
}

.investment-detail strong {
    color: var(--white);

    font-size: 13px;
}


/* =========================================================
   PAYMENT SUMMARY
========================================================= */

.payment-summary {
    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 18px;

    background:
        rgba(212, 175, 55, 0.035);

    border:
        1px solid rgba(212, 175, 55, 0.12);

    border-radius: 12px;
}

.payment-summary-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    color: var(--muted);

    font-size: 12px;
}

.payment-summary-row strong {
    color: var(--white);
}

.payment-summary-row.total {
    margin-top: 5px;
    padding-top: 12px;

    color: var(--white);

    border-top:
        1px solid rgba(255, 255, 255, 0.07);
}

.payment-summary-row.total strong {
    color: var(--gold);

    font-size: 17px;
}


/* =========================================================
   PAYMENT METHOD CARDS
========================================================= */

.payment-methods {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}

.payment-method {
    position: relative;

    padding: 18px;

    color: var(--text);

    background: #0c0c0c;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;

    cursor: pointer;

    transition: var(--transition);
}

.payment-method:hover {
    border-color:
        rgba(212, 175, 55, 0.25);
}

.payment-method.active,
.payment-method.selected {
    background:
        rgba(212, 175, 55, 0.055);

    border-color: var(--gold);

    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.10);
}

.payment-method h4 {
    margin-bottom: 5px;

    font-size: 14px;
}

.payment-method p {
    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   BANK DETAILS
========================================================= */

.bank-details,
.crypto-details,
.wallet-details {
    padding: 20px;

    background: #0b0b0b;

    border:
        1px solid rgba(212, 175, 55, 0.12);

    border-radius: 14px;
}

.bank-detail-row,
.wallet-detail-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 11px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.05);
}

.bank-detail-row:last-child,
.wallet-detail-row:last-child {
    border-bottom: 0;
}

.bank-detail-row span,
.wallet-detail-row span {
    color: var(--muted);

    font-size: 11px;
}

.bank-detail-row strong,
.wallet-detail-row strong {
    color: var(--white);

    font-size: 12px;

    text-align: right;

    word-break: break-word;
}


/* =========================================================
   WALLET ADDRESS
========================================================= */

.wallet-address {
    display: block;

    margin-top: 8px;
    padding: 12px;

    color: var(--gold);

    background:
        rgba(212, 175, 55, 0.035);

    border:
        1px solid rgba(212, 175, 55, 0.10);

    border-radius: 8px;

    font-family:
        "Courier New",
        monospace;

    font-size: 11px;

    line-height: 1.6;

    word-break: break-all;
}


/* =========================================================
   RECEIPT UPLOAD
========================================================= */

.receipt-upload {
    position: relative;

    padding: 25px;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.015);

    border:
        1px dashed rgba(212, 175, 55, 0.30);

    border-radius: 14px;

    transition: var(--transition);
}

.receipt-upload:hover {
    background:
        rgba(212, 175, 55, 0.025);

    border-color: var(--gold);
}

.receipt-upload input[type="file"] {
    padding: 10px;

    border: 0;

    background: transparent;
}


/* =========================================================
   RECEIPT STATUS
========================================================= */

.receipt-status {
    margin-top: 12px;

    font-size: 11px;
}

.receipt-status.pending {
    color: var(--orange);
}

.receipt-status.approved {
    color: var(--green);
}

.receipt-status.rejected {
    color: var(--red);
}


/* =========================================================
   PACKAGE / INVESTMENT RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .packages-grid,
    .package-grid,
    .packages-container {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .investment-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 700px) {

    .packages-section,
    .investment-section {
        padding: 60px 0;
    }

    .packages-grid,
    .package-grid,
    .packages-container {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .package-card {
        padding: 23px;
    }

    .package-header {
        gap: 10px;
    }

    .package-price .amount,
    .package-price strong {
        font-size: 28px;
    }

    .investment-card {
        padding: 22px;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .bank-detail-row,
    .wallet-detail-row {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

    .bank-detail-row strong,
    .wallet-detail-row strong {
        text-align: left;
    }
}


@media (max-width: 450px) {

    .package-card {
        padding: 20px;
    }

    .package-title {
        font-size: 18px;
    }

    .investment-card {
        padding: 18px;
    }

    .investment-details {
        grid-template-columns: 1fr;
    }

    .payment-summary {
        padding: 15px;
    }

    .receipt-upload {
        padding: 20px 15px;
    }
}
/* =========================================================
   MONARCH CODEX — PART 4/8
   AUTHENTICATION • LOGIN • REGISTER • ACCOUNT FORMS
========================================================= */


/* =========================================================
   AUTH PAGE
========================================================= */

.auth-page,
.auth-section {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 40px 20px;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(212, 175, 55, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(212, 175, 55, 0.05),
            transparent 32%
        ),
        #050505;
}


/* =========================================================
   AUTH CONTAINER
========================================================= */

.auth-container {
    width: 100%;
    max-width: 460px;

    margin: 0 auto;
}


/* =========================================================
   AUTH CARD
========================================================= */

.auth-card {
    position: relative;

    width: 100%;

    padding: 35px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.50);
}

.auth-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 15%;
    right: 15%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );
}


/* =========================================================
   AUTH BRAND
========================================================= */

.auth-logo,
.auth-brand {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;
}

.auth-logo img,
.auth-brand img {
    max-width: 170px;
    max-height: 65px;

    object-fit: contain;
}

.auth-logo-text {
    color: var(--white);

    font-size: 25px;
    font-weight: 800;
}

.auth-logo-text span {
    color: var(--gold);
}


/* =========================================================
   AUTH HEADING
========================================================= */

.auth-header {
    margin-bottom: 25px;

    text-align: center;
}

.auth-header h1,
.auth-header h2 {
    margin-bottom: 8px;

    color: var(--white);

    font-size: 27px;
}

.auth-header p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;
}


/* =========================================================
   AUTH FORM
========================================================= */

.auth-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.form-group {
    width: 100%;
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   PASSWORD FIELD
========================================================= */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 12px;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    color: var(--muted);

    background: transparent;

    border: 0;

    cursor: pointer;
}

.password-toggle:hover {
    color: var(--gold);
}


/* =========================================================
   FORM CHECKBOX
========================================================= */

.form-check {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.5;
}

.form-check input {
    width: auto;

    margin-top: 3px;

    accent-color: var(--gold);
}

.form-check a {
    color: var(--gold);
}


/* =========================================================
   AUTH SUBMIT
========================================================= */

.auth-form .btn-primary,
.auth-submit {
    width: 100%;

    margin-top: 4px;
}


/* =========================================================
   AUTH LINKS
========================================================= */

.auth-links {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 17px;
}

.auth-links a {
    color: var(--gold);

    font-size: 11px;

    transition: var(--transition);
}

.auth-links a:hover {
    color: var(--gold-light);

    text-decoration: underline;
}


/* =========================================================
   AUTH DIVIDER
========================================================= */

.auth-divider {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 25px 0;

    color: #666;

    font-size: 10px;

    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        rgba(255, 255, 255, 0.07);
}

.auth-divider span {
    padding: 0 12px;
}


/* =========================================================
   AUTH FOOTER
========================================================= */

.auth-footer {
    margin-top: 25px;

    padding-top: 20px;

    color: var(--muted);

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    text-align: center;

    font-size: 11px;
}

.auth-footer a {
    color: var(--gold);

    font-weight: 600;
}


/* =========================================================
   AUTH ALERTS
========================================================= */

.auth-alert,
.form-alert {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-bottom: 18px;

    padding: 12px 14px;

    border-radius: 10px;

    font-size: 11px;

    line-height: 1.5;
}

.auth-alert.success,
.form-alert.success {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.08);

    border:
        1px solid rgba(53, 208, 127, 0.18);
}

.auth-alert.error,
.form-alert.error {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.08);

    border:
        1px solid rgba(255, 92, 92, 0.18);
}

.auth-alert.warning,
.form-alert.warning {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.08);

    border:
        1px solid rgba(243, 179, 61, 0.18);
}


/* =========================================================
   ACCOUNT FORM CARD
========================================================= */

.account-form-card {
    padding: 25px;

    background:
        rgba(255, 255, 255, 0.02);

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 16px;
}

.account-form-card h3 {
    margin-bottom: 20px;

    font-size: 18px;
}


/* =========================================================
   FORM GRID
========================================================= */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

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


/* =========================================================
   FILE INPUT
========================================================= */

input[type="file"] {
    padding: 10px;

    color: var(--muted);

    cursor: pointer;
}

input[type="file"]::file-selector-button {
    margin-right: 10px;

    padding: 7px 11px;

    color: #080808;

    background: var(--gold);

    border: 0;

    border-radius: 7px;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


/* =========================================================
   SELECT
========================================================= */

select {
    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(45deg, transparent 50%, var(--gold) 50%),
        linear-gradient(135deg, var(--gold) 50%, transparent 50%);

    background-position:
        calc(100% - 16px) 50%,
        calc(100% - 11px) 50%;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

    padding-right: 35px;
}


/* =========================================================
   LOADING STATE
========================================================= */

.loading-spinner {
    width: 18px;
    height: 18px;

    display: inline-block;

    border:
        2px solid rgba(255, 255, 255, 0.20);

    border-top-color: var(--gold);

    border-radius: 50%;

    animation:
        monarchSpin 0.8s linear infinite;
}

@keyframes monarchSpin {
    to {
        transform: rotate(360deg);
    }
}

.btn.loading {
    pointer-events: none;

    opacity: 0.75;
}


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

@media (max-width: 700px) {

    .auth-page,
    .auth-section {
        padding: 25px 15px;
    }

    .auth-card {
        padding: 28px 22px;

        border-radius: 18px;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 24px;
    }

    .form-row,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .full-width {
        grid-column: auto;
    }
}


@media (max-width: 450px) {

    .auth-page,
    .auth-section {
        padding: 18px 12px;
    }

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

    .auth-logo img,
    .auth-brand img {
        max-width: 145px;
    }

    .auth-header {
        margin-bottom: 20px;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 22px;
    }

    .auth-links {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }
}
/* =========================================================
   MONARCH CODEX — PART 5/8
   DASHBOARD • SIDEBAR • TOPBAR • STATS • PROFILE
========================================================= */


/* =========================================================
   DASHBOARD ROOT
========================================================= */

.dashboard-page,
.dashboard-layout {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(212, 175, 55, 0.035),
            transparent 25%
        ),
        #050505;
}


/* =========================================================
   DASHBOARD SIDEBAR
========================================================= */

.dashboard-sidebar,
.sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 900;

    width: 250px;

    display: flex;
    flex-direction: column;

    padding: 22px 15px;

    background:
        linear-gradient(
            180deg,
            #0b0b0b,
            #070707
        );

    border-right:
        1px solid rgba(212, 175, 55, 0.12);

    overflow-y: auto;
}


/* =========================================================
   SIDEBAR BRAND
========================================================= */

.sidebar-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 45px;

    margin-bottom: 28px;

    padding: 0 10px;

    color: var(--white);

    font-size: 17px;
    font-weight: 800;
}

.sidebar-brand span {
    color: var(--gold);
}

.sidebar-brand img {
    max-width: 38px;
    max-height: 38px;

    object-fit: contain;
}


/* =========================================================
   SIDEBAR NAVIGATION
========================================================= */

.sidebar-nav {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.sidebar-nav a,
.sidebar-link {
    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 43px;

    padding: 10px 12px;

    color: #8f8f8f;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 600;

    transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-link:hover {
    color: var(--white);

    background:
        rgba(212, 175, 55, 0.06);
}

.sidebar-nav a.active,
.sidebar-link.active {
    color: var(--gold);

    background:
        rgba(212, 175, 55, 0.09);

    border:
        1px solid rgba(212, 175, 55, 0.12);
}

.sidebar-nav i,
.sidebar-nav svg,
.sidebar-link i,
.sidebar-link svg {
    width: 18px;

    flex-shrink: 0;
}


/* =========================================================
   SIDEBAR SECTION LABEL
========================================================= */

.sidebar-section-title {
    margin: 20px 10px 8px;

    color: #555;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    margin-top: auto;

    padding-top: 20px;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}


/* =========================================================
   DASHBOARD MAIN
========================================================= */

.dashboard-main,
.main-content {
    min-height: 100vh;

    margin-left: 250px;

    padding: 28px 32px;
}


/* =========================================================
   DASHBOARD TOPBAR
========================================================= */

.dashboard-topbar,
.topbar {
    position: relative;

    min-height: 58px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 28px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.topbar-left {
    min-width: 0;
}

.topbar-title {
    color: var(--white);

    font-size: 22px;
    font-weight: 700;
}

.topbar-subtitle {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   TOPBAR ACTIONS
========================================================= */

.topbar-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}

.topbar-action {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #aaa;

    background: #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 10px;

    transition: var(--transition);
}

.topbar-action:hover {
    color: var(--gold);

    border-color:
        rgba(212, 175, 55, 0.25);
}


/* =========================================================
   MOBILE SIDEBAR TOGGLE
========================================================= */

.sidebar-toggle {
    display: none;

    width: 40px;
    height: 40px;

    align-items: center;
    justify-content: center;

    color: var(--white);

    background: #101010;

    border:
        1px solid rgba(212, 175, 55, 0.15);

    border-radius: 10px;
}


/* =========================================================
   DASHBOARD STATS GRID
========================================================= */

.stats-grid,
.dashboard-stats,
.stat-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;

    margin-bottom: 25px;
}


/* =========================================================
   STAT CARD
========================================================= */

.stat-card {
    position: relative;

    min-width: 0;

    padding: 21px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.13);

    border-radius: 15px;

    transition: var(--transition);
}

.stat-card:hover {
    border-color:
        rgba(212, 175, 55, 0.27);

    transform: translateY(-2px);
}

.stat-card::after {
    content: "";

    position: absolute;

    right: -30px;
    bottom: -45px;

    width: 110px;
    height: 110px;

    border-radius: 50%;

    background:
        rgba(212, 175, 55, 0.035);
}

.stat-card-label {
    margin-bottom: 8px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
}

.stat-card-value {
    color: var(--white);

    font-size: 25px;
    font-weight: 800;

    line-height: 1.15;

    word-break: break-word;
}

.stat-card-value.gold {
    color: var(--gold);
}

.stat-card-value.green {
    color: var(--green);
}

.stat-card-value.red {
    color: var(--red);
}

.stat-card-meta {
    margin-top: 7px;

    color: #666;

    font-size: 10px;
}


/* =========================================================
   STAT ICON
========================================================= */

.stat-icon {
    position: absolute;

    top: 17px;
    right: 17px;

    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--gold);

    background:
        rgba(212, 175, 55, 0.07);

    border:
        1px solid rgba(212, 175, 55, 0.12);

    border-radius: 10px;
}


/* =========================================================
   DASHBOARD GRID
========================================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(280px, 0.75fr);

    gap: 20px;

    margin-bottom: 25px;
}


/* =========================================================
   DASHBOARD PANEL
========================================================= */

.dashboard-panel,
.panel {
    min-width: 0;

    padding: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 16px;
}

.panel-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.panel-header h2,
.panel-header h3 {
    color: var(--white);

    font-size: 16px;
}

.panel-header p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   USER PROFILE
========================================================= */

.profile-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    background:
        rgba(212, 175, 55, 0.035);

    border:
        1px solid rgba(212, 175, 55, 0.12);

    border-radius: 14px;
}

.profile-avatar {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: #080808;

    background: var(--gold);

    border-radius: 50%;

    font-size: 16px;
    font-weight: 800;
}

.profile-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profile-info {
    min-width: 0;
}

.profile-name {
    color: var(--white);

    font-size: 14px;
    font-weight: 700;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-uid {
    margin-top: 2px;

    color: var(--gold);

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;
}

.profile-email {
    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   BALANCE CARD
========================================================= */

.balance-card {
    padding: 24px;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.09),
            rgba(212, 175, 55, 0.02)
        );

    border:
        1px solid rgba(212, 175, 55, 0.20);

    border-radius: 17px;
}

.balance-label {
    color: var(--muted);

    font-size: 10px;

    text-transform: uppercase;
}

.balance-value {
    margin: 8px 0;

    color: var(--gold);

    font-size: 34px;
    font-weight: 800;
}

.balance-meta {
    color: #777;

    font-size: 10px;
}


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

@media (max-width: 1100px) {

    .stats-grid,
    .dashboard-stats,
    .stat-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 900px) {

    .dashboard-sidebar,
    .sidebar {
        transform: translateX(-100%);

        transition:
            transform 0.25s ease;
    }

    .dashboard-sidebar.open,
    .sidebar.open,
    .dashboard-sidebar.active,
    .sidebar.active {
        transform: translateX(0);
    }

    .dashboard-main,
    .main-content {
        margin-left: 0;

        padding: 22px;
    }

    .sidebar-toggle {
        display: inline-flex;
    }

    .dashboard-topbar,
    .topbar {
        padding-bottom: 15px;
    }
}


@media (max-width: 700px) {

    .dashboard-main,
    .main-content {
        padding: 18px 15px;
    }

    .dashboard-topbar,
    .topbar {
        align-items: flex-start;

        margin-bottom: 20px;
    }

    .topbar-title {
        font-size: 19px;
    }

    .stats-grid,
    .dashboard-stats,
    .stat-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 17px;
    }

    .stat-card-value {
        font-size: 21px;
    }

    .dashboard-panel,
    .panel {
        padding: 18px;
    }
}


@media (max-width: 450px) {

    .stats-grid,
    .dashboard-stats,
    .stat-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-main,
    .main-content {
        padding: 15px 12px;
    }

    .profile-card {
        padding: 15px;
    }

    .balance-card {
        padding: 20px;
    }

    .balance-value {
        font-size: 29px;
    }
}
/* =========================================================
   MONARCH CODEX — PART 6/8
   INVESTMENT HISTORY • TABLES • TRANSACTIONS • RECEIPTS
========================================================= */


/* =========================================================
   HISTORY SECTION
========================================================= */

.investment-history,
.history-section,
.transaction-section {
    width: 100%;
    margin-top: 25px;
}


/* =========================================================
   HISTORY HEADER
========================================================= */

.history-header,
.transaction-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 18px;
}

.history-header h2,
.transaction-header h2 {
    color: var(--white);

    font-size: 18px;
}

.history-header p,
.transaction-header p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   HISTORY LIST
========================================================= */

.history-list,
.transaction-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


/* =========================================================
   HISTORY ITEM
========================================================= */

.history-item,
.transaction-item {
    display: grid;

    grid-template-columns:
        minmax(150px, 1.4fr)
        minmax(90px, 0.8fr)
        minmax(90px, 0.8fr)
        auto;

    align-items: center;

    gap: 18px;

    padding: 17px;

    background:
        rgba(255, 255, 255, 0.018);

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 12px;

    transition: var(--transition);
}

.history-item:hover,
.transaction-item:hover {
    background:
        rgba(255, 255, 255, 0.028);

    border-color:
        rgba(212, 175, 55, 0.16);
}


/* =========================================================
   HISTORY PRIMARY INFO
========================================================= */

.history-primary,
.transaction-primary {
    min-width: 0;
}

.history-primary strong,
.transaction-primary strong {
    display: block;

    color: var(--white);

    font-size: 12px;
}

.history-primary span,
.transaction-primary span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}


/* =========================================================
   HISTORY VALUE
========================================================= */

.history-value,
.transaction-value {
    color: var(--white);

    font-size: 13px;
    font-weight: 700;
}

.history-value.gold,
.transaction-value.gold {
    color: var(--gold);
}

.history-value.green,
.transaction-value.green {
    color: var(--green);
}


/* =========================================================
   HISTORY META
========================================================= */

.history-meta,
.transaction-meta {
    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   HISTORY ACTIONS
========================================================= */

.history-actions,
.transaction-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 7px;
}

.history-actions .btn,
.transaction-actions .btn {
    min-height: 34px;

    padding: 7px 11px;

    font-size: 10px;
}


/* =========================================================
   INVESTMENT TABLE
========================================================= */

.investment-table-wrapper,
.table-wrapper,
.data-table-wrapper {
    width: 100%;

    overflow-x: auto;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 14px;
}

.investment-table,
.data-table {
    width: 100%;

    min-width: 720px;

    border-collapse: collapse;
}

.investment-table th,
.data-table th {
    padding: 14px 15px;

    color: #777;

    background: #0c0c0c;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.5px;

    text-align: left;
    text-transform: uppercase;
}

.investment-table td,
.data-table td {
    padding: 14px 15px;

    color: #c0c0c0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);

    font-size: 11px;

    vertical-align: middle;
}

.investment-table tbody tr:last-child td,
.data-table tbody tr:last-child td {
    border-bottom: 0;
}

.investment-table tbody tr:hover,
.data-table tbody tr:hover {
    background:
        rgba(212, 175, 55, 0.025);
}


/* =========================================================
   TABLE ID / UID
========================================================= */

.investment-id,
.transaction-id,
.uid {
    color: var(--gold);

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;
}


/* =========================================================
   TABLE AMOUNT
========================================================= */

.table-amount {
    color: var(--white);

    font-weight: 700;
}

.table-amount.gold {
    color: var(--gold);
}

.table-amount.green {
    color: var(--green);
}

.table-amount.red {
    color: var(--red);
}


/* =========================================================
   STATUS BADGES
========================================================= */

.status-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 68px;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.4px;

    text-transform: uppercase;
}

.status-badge.pending {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.10);

    border:
        1px solid rgba(243, 179, 61, 0.18);
}

.status-badge.confirmed,
.status-badge.approved,
.status-badge.active,
.status-badge.completed,
.status-badge.success {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.10);

    border:
        1px solid rgba(53, 208, 127, 0.18);
}

.status-badge.rejected,
.status-badge.failed,
.status-badge.cancelled {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.10);

    border:
        1px solid rgba(255, 92, 92, 0.18);
}


/* =========================================================
   RECEIPT STATUS
========================================================= */

.receipt-status-badge {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 5px 9px;

    border-radius: 999px;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}

.receipt-status-badge.pending {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.09);
}

.receipt-status-badge.approved {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.09);
}

.receipt-status-badge.rejected {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.09);
}


/* =========================================================
   RECEIPT NOTE
========================================================= */

.receipt-note,
.admin-note {
    margin-top: 8px;

    padding: 9px 11px;

    color: #999;

    background:
        rgba(255, 255, 255, 0.025);

    border-left:
        2px solid rgba(212, 175, 55, 0.35);

    border-radius: 0 7px 7px 0;

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   TRANSACTION TYPE
========================================================= */

.transaction-type {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--muted);

    font-size: 10px;
}

.transaction-type.deposit {
    color: var(--green);
}

.transaction-type.withdrawal {
    color: var(--red);
}

.transaction-type.investment {
    color: var(--gold);
}


/* =========================================================
   DATE / TIME
========================================================= */

.date-time {
    color: #888;

    font-size: 9px;

    line-height: 1.5;
}

.date-time strong {
    display: block;

    color: #aaa;

    font-size: 10px;
}


/* =========================================================
   FILTER BAR
========================================================= */

.filter-bar {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

    padding: 13px;

    background:
        rgba(255, 255, 255, 0.018);

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 12px;
}

.filter-bar select,
.filter-bar input {
    width: auto;

    min-width: 150px;

    min-height: 38px;

    padding: 8px 11px;

    font-size: 10px;
}


/* =========================================================
   SEARCH BOX
========================================================= */

.search-box {
    position: relative;

    flex: 1;

    min-width: 180px;
}

.search-box input {
    padding-left: 38px;
}

.search-box-icon {
    position: absolute;

    top: 50%;
    left: 12px;

    color: #666;

    transform: translateY(-50%);
}


/* =========================================================
   EMPTY TABLE / HISTORY
========================================================= */

.empty-history,
.empty-transactions,
.empty-table {
    padding: 45px 20px;

    color: #666;

    text-align: center;
}

.empty-history strong,
.empty-transactions strong,
.empty-table strong {
    display: block;

    margin-bottom: 5px;

    color: #aaa;

    font-size: 13px;
}

.empty-history p,
.empty-transactions p,
.empty-table p {
    color: #666;

    font-size: 10px;
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}

.pagination button,
.pagination a {
    min-width: 34px;
    height: 34px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0 8px;

    color: #888;

    background: #101010;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 8px;

    font-size: 10px;

    transition: var(--transition);
}

.pagination button:hover,
.pagination a:hover,
.pagination button.active,
.pagination a.active {
    color: #080808;

    background: var(--gold);

    border-color: var(--gold);
}


/* =========================================================
   MOBILE HISTORY
========================================================= */

@media (max-width: 800px) {

    .history-item,
    .transaction-item {
        grid-template-columns:
            1fr
            auto;

        gap: 11px;
    }

    .history-actions,
    .transaction-actions {
        justify-content: flex-start;
    }

    .history-value,
    .transaction-value {
        font-size: 12px;
    }
}


@media (max-width: 600px) {

    .history-header,
    .transaction-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .filter-bar {
        align-items: stretch;

        flex-direction: column;
    }

    .filter-bar select,
    .filter-bar input,
    .search-box {
        width: 100%;

        min-width: 0;
    }

    .investment-table-wrapper,
    .table-wrapper,
    .data-table-wrapper {
        border-radius: 10px;
    }
}


@media (max-width: 450px) {

    .history-item,
    .transaction-item {
        padding: 14px;
    }

    .history-actions,
    .transaction-actions {
        flex-wrap: wrap;
    }

    .history-actions .btn,
    .transaction-actions .btn {
        flex: 1;
    }

    .empty-history,
    .empty-transactions,
    .empty-table {
        padding: 35px 15px;
    }
}
/* =========================================================
   MONARCH CODEX — PART 7/8
   ADMIN DASHBOARD • ADMIN TABLES • INVESTMENTS • RECEIPTS
========================================================= */


/* =========================================================
   ADMIN ROOT
========================================================= */

.admin-page,
.admin-layout {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(212, 175, 55, 0.035),
            transparent 25%
        ),
        #050505;
}


/* =========================================================
   ADMIN SIDEBAR
========================================================= */

.admin-sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 1000;

    width: 250px;

    padding: 22px 15px;

    background:
        linear-gradient(
            180deg,
            #0b0b0b,
            #070707
        );

    border-right:
        1px solid rgba(212, 175, 55, 0.12);

    overflow-y: auto;
}

.admin-sidebar-brand {
    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 45px;

    margin-bottom: 28px;

    padding: 0 10px;

    color: var(--white);

    font-size: 17px;
    font-weight: 800;
}

.admin-sidebar-brand span {
    color: var(--gold);
}


/* =========================================================
   ADMIN NAV
========================================================= */

.admin-nav {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.admin-nav a,
.admin-nav button {
    width: 100%;

    display: flex;

    align-items: center;

    gap: 11px;

    min-height: 43px;

    padding: 10px 12px;

    color: #8f8f8f;

    background: transparent;

    border: 1px solid transparent;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 600;

    text-align: left;

    transition: var(--transition);
}

.admin-nav a:hover,
.admin-nav button:hover {
    color: var(--white);

    background:
        rgba(212, 175, 55, 0.06);
}

.admin-nav a.active,
.admin-nav button.active {
    color: var(--gold);

    background:
        rgba(212, 175, 55, 0.09);

    border-color:
        rgba(212, 175, 55, 0.12);
}


/* =========================================================
   ADMIN MAIN
========================================================= */

.admin-main {
    min-height: 100vh;

    margin-left: 250px;

    padding: 28px 32px;
}


/* =========================================================
   ADMIN HEADER
========================================================= */

.admin-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.admin-header h1 {
    font-size: 24px;
}

.admin-header p {
    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
}

.admin-header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   ADMIN STATS
========================================================= */

.admin-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 15px;

    margin-bottom: 25px;
}

.admin-stat-card {
    position: relative;

    min-width: 0;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.13);

    border-radius: 15px;
}

.admin-stat-card .label {
    margin-bottom: 7px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.admin-stat-card .value {
    color: var(--white);

    font-size: 24px;
    font-weight: 800;
}

.admin-stat-card .value.gold {
    color: var(--gold);
}

.admin-stat-card .value.green {
    color: var(--green);
}

.admin-stat-card .value.orange {
    color: var(--orange);
}

.admin-stat-card .value.red {
    color: var(--red);
}


/* =========================================================
   ADMIN PANEL
========================================================= */

.admin-panel {
    margin-bottom: 22px;

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 16px;
}

.admin-panel-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.admin-panel-header h2 {
    color: var(--white);

    font-size: 17px;
}

.admin-panel-header p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   ADMIN FILTERS
========================================================= */

.admin-filters {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 18px;

    padding: 13px;

    background:
        rgba(255, 255, 255, 0.018);

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 12px;
}

.admin-filters input,
.admin-filters select {
    width: auto;

    min-width: 145px;

    min-height: 38px;

    padding: 8px 11px;

    font-size: 10px;
}


/* =========================================================
   ADMIN TABLE
========================================================= */

.admin-table-wrapper {
    width: 100%;

    overflow-x: auto;

    border:
        1px solid rgba(255, 255, 255, 0.06);

    border-radius: 12px;
}

.admin-table {
    width: 100%;

    min-width: 950px;

    border-collapse: collapse;
}

.admin-table th {
    padding: 13px 14px;

    color: #707070;

    background: #0b0b0b;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.6px;

    text-align: left;

    text-transform: uppercase;
}

.admin-table td {
    padding: 14px;

    color: #bdbdbd;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);

    font-size: 10px;

    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
    background:
        rgba(212, 175, 55, 0.025);
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   ADMIN USER CELL
========================================================= */

.admin-user {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 160px;
}

.admin-user-avatar {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #080808;

    background: var(--gold);

    border-radius: 50%;

    font-size: 10px;
    font-weight: 800;
}

.admin-user-info {
    min-width: 0;
}

.admin-user-info strong {
    display: block;

    color: var(--white);

    font-size: 11px;
}

.admin-user-info span {
    display: block;

    margin-top: 2px;

    color: #666;

    font-size: 8px;

    overflow: hidden;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   ADMIN UID
========================================================= */

.admin-uid {
    color: var(--gold);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;
}


/* =========================================================
   ADMIN ACTIONS
========================================================= */

.admin-actions {
    display: flex;

    align-items: center;

    gap: 6px;

    flex-wrap: wrap;
}

.admin-actions .btn {
    min-height: 31px;

    padding: 6px 9px;

    font-size: 9px;
}


/* =========================================================
   ADMIN STATUS SELECT
========================================================= */

.status-select {
    min-width: 115px;

    min-height: 34px;

    padding: 7px 28px 7px 9px;

    font-size: 9px;
}


/* =========================================================
   CONFIRM / REJECT BUTTONS
========================================================= */

.btn-confirm {
    color: #080808;

    background: var(--green);

    border-color: var(--green);
}

.btn-confirm:hover {
    filter: brightness(1.08);

    transform: translateY(-1px);
}

.btn-reject {
    color: var(--white);

    background:
        rgba(255, 92, 92, 0.10);

    border-color:
        rgba(255, 92, 92, 0.25);
}

.btn-reject:hover {
    color: var(--white);

    background:
        rgba(255, 92, 92, 0.18);

    border-color: var(--red);
}


/* =========================================================
   RECEIPT REVIEW
========================================================= */

.receipt-review {
    display: flex;
    flex-direction: column;

    gap: 15px;
}

.receipt-review-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}

.receipt-review-header h3 {
    font-size: 15px;
}

.receipt-review-header p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}

.receipt-preview {
    width: 100%;

    min-height: 250px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #080808;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;
}

.receipt-preview img {
    max-width: 100%;
    max-height: 600px;

    object-fit: contain;
}

.receipt-preview iframe {
    width: 100%;
    min-height: 550px;

    border: 0;
}


/* =========================================================
   RECEIPT FILE INFO
========================================================= */

.receipt-file-info {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.receipt-file-info div {
    padding: 11px;

    background:
        rgba(255, 255, 255, 0.02);

    border:
        1px solid rgba(255, 255, 255, 0.05);

    border-radius: 9px;
}

.receipt-file-info span {
    display: block;

    margin-bottom: 3px;

    color: #666;

    font-size: 8px;

    text-transform: uppercase;
}

.receipt-file-info strong {
    color: #ccc;

    font-size: 10px;

    word-break: break-word;
}


/* =========================================================
   ADMIN NOTE
========================================================= */

.admin-note-field {
    margin-top: 15px;
}

.admin-note-field textarea {
    min-height: 90px;

    font-size: 11px;
}


/* =========================================================
   ADMIN MODAL
========================================================= */

.admin-modal,
.modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.admin-modal.active,
.admin-modal.show,
.modal.active,
.modal.show {
    display: flex;
}

.modal-content,
.admin-modal-content {
    width: min(600px, 100%);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    padding: 25px;

    background: #101010;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 17px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.60);
}

.modal-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 20px;
}

.modal-header h2,
.modal-header h3 {
    font-size: 17px;
}

.modal-close {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #888;

    background: transparent;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 8px;
}

.modal-close:hover {
    color: var(--white);

    border-color:
        rgba(212, 175, 55, 0.25);
}


/* =========================================================
   ADMIN EMPTY STATE
========================================================= */

.admin-empty {
    padding: 55px 20px;

    color: #666;

    text-align: center;
}

.admin-empty h3 {
    margin-bottom: 5px;

    color: #aaa;

    font-size: 14px;
}

.admin-empty p {
    color: #666;

    font-size: 10px;
}


/* =========================================================
   ADMIN ALERT
========================================================= */

.admin-alert {
    margin-bottom: 18px;

    padding: 12px 14px;

    border-radius: 10px;

    font-size: 10px;

    line-height: 1.6;
}

.admin-alert.success {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.08);

    border:
        1px solid rgba(53, 208, 127, 0.18);
}

.admin-alert.error {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.08);

    border:
        1px solid rgba(255, 92, 92, 0.18);
}

.admin-alert.warning {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.08);

    border:
        1px solid rgba(243, 179, 61, 0.18);
}


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

@media (max-width: 1100px) {

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


@media (max-width: 900px) {

    .admin-sidebar {
        transform: translateX(-100%);

        transition:
            transform 0.25s ease;
    }

    .admin-sidebar.open,
    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;

        padding: 22px;
    }
}


@media (max-width: 700px) {

    .admin-main {
        padding: 18px 15px;
    }

    .admin-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-header h1 {
        font-size: 21px;
    }

    .admin-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .admin-stat-card {
        padding: 16px;
    }

    .admin-stat-card .value {
        font-size: 20px;
    }

    .admin-panel {
        padding: 17px;
    }

    .admin-panel-header {
        align-items: flex-start;

        flex-direction: column;
    }

    .admin-filters {
        align-items: stretch;

        flex-direction: column;
    }

    .admin-filters input,
    .admin-filters select {
        width: 100%;

        min-width: 0;
    }

    .receipt-file-info {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 450px) {

    .admin-main {
        padding: 15px 12px;
    }

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

    .admin-panel {
        padding: 14px;
    }

    .admin-actions {
        width: 100%;
    }

    .admin-actions .btn {
        flex: 1;
    }

    .modal-content,
    .admin-modal-content {
        padding: 19px;

        border-radius: 14px;
    }

    .receipt-preview {
        min-height: 200px;
    }
}
 /* =========================================================
    MONARCH CODEX — PART 8/8
    FINAL COMPATIBILITY • MOBILE • MODALS • NOTIFICATIONS
 ========================================================= */


/* =========================================================
    IMPORTANT DASHBOARD COMPATIBILITY
 ========================================================= */

.dashboard-main {
    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 48px 0 80px;
}

.dashboard-page .dashboard-main {
    margin-left: auto;
}


/* =========================================================
    DASHBOARD HEADER
 ========================================================= */

.dashboard-header {
    background: #080808;

    border-bottom:
        1px solid rgba(212, 175, 55, 0.12);
}

.dashboard-header .container {
    min-height: 70px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.dashboard-header .brand {
    color: var(--white);

    font-size: 18px;
    font-weight: 800;
}

.dashboard-header .brand span {
    color: var(--gold);
}

.dashboard-header .logout-btn {
    min-height: 36px;

    padding: 8px 13px;

    color: #aaa;

    background: transparent;

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: 8px;

    font-size: 9px;
}

.dashboard-header .logout-btn:hover {
    color: var(--gold);

    border-color:
        rgba(212, 175, 55, 0.25);
}


/* =========================================================
    DASHBOARD WELCOME
 ========================================================= */

.dashboard-welcome {
    margin-bottom: 25px;
}

.dashboard-welcome h1 {
    color: var(--white);

    font-size: clamp(24px, 4vw, 34px);

    line-height: 1.15;
}

.dashboard-welcome h1 span {
    color: var(--gold);
}

.dashboard-welcome p {
    max-width: 650px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
    DASHBOARD STAT GRID
 ========================================================= */

.dashboard-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 25px;
}

.dashboard-stat,
.stat-card {
    min-width: 0;

    padding: 19px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        var(--panel);

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 15px;

    transition: var(--transition);
}

.dashboard-stat:hover,
.stat-card:hover {
    border-color:
        rgba(212, 175, 55, 0.20);

    transform: translateY(-2px);
}

.dashboard-stat .label,
.stat-card .label {
    color: #777;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}

.dashboard-stat .value,
.stat-card .value {
    margin-top: 8px;

    color: var(--white);

    font-size: 23px;
    font-weight: 800;
}

.dashboard-stat .value.gold,
.stat-card .value.gold {
    color: var(--gold);
}

.dashboard-stat .value.green,
.stat-card .value.green {
    color: var(--green);
}

.dashboard-stat .value.red,
.stat-card .value.red {
    color: var(--red);
}


/* =========================================================
    BALANCE / ACCOUNT CARD
 ========================================================= */

.balance-card {
    position: relative;

    overflow: hidden;

    padding: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.13),
            rgba(212, 175, 55, 0.025)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 17px;
}

.balance-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -100px;

    background:
        rgba(212, 175, 55, 0.07);

    border-radius: 50%;

    pointer-events: none;
}

.balance-label {
    color: #888;

    font-size: 9px;

    text-transform: uppercase;
}

.balance-amount {
    position: relative;
    z-index: 1;

    margin-top: 8px;

    color: var(--gold);

    font-size: clamp(27px, 5vw, 42px);
    font-weight: 800;
}


/* =========================================================
    PROFILE CARD
 ========================================================= */

.profile-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    background: var(--panel);

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 15px;
}

.profile-avatar {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #080808;

    background: var(--gold);

    border-radius: 50%;

    font-size: 15px;
    font-weight: 800;
}

.profile-info {
    min-width: 0;
}

.profile-info h3 {
    color: var(--white);

    font-size: 14px;
}

.profile-info p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}

.profile-info .uid {
    margin-top: 4px;

    color: var(--gold);

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;
}


/* =========================================================
    INVESTMENT STATUS COMPATIBILITY
 ========================================================= */

.status-pending,
.status-confirmed,
.status-approved,
.status-active,
.status-completed,
.status-rejected,
.status-cancelled {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 24px;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 8px;
    font-weight: 800;

    white-space: nowrap;
}

.status-pending {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.10);

    border:
        1px solid rgba(243, 179, 61, 0.18);
}

.status-confirmed,
.status-approved,
.status-active,
.status-completed {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.09);

    border:
        1px solid rgba(53, 208, 127, 0.17);
}

.status-rejected,
.status-cancelled {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.09);

    border:
        1px solid rgba(255, 92, 92, 0.17);
}


/* =========================================================
    RECEIPT STATUS
 ========================================================= */

.receipt-pending {
    color: var(--orange);

    background:
        rgba(243, 179, 61, 0.09);

    border-color:
        rgba(243, 179, 61, 0.18);
}

.receipt-approved {
    color: var(--green);

    background:
        rgba(53, 208, 127, 0.09);

    border-color:
        rgba(53, 208, 127, 0.18);
}

.receipt-rejected {
    color: var(--red);

    background:
        rgba(255, 92, 92, 0.09);

    border-color:
        rgba(255, 92, 92, 0.18);
}


/* =========================================================
    NOTIFICATION / TOAST
 ========================================================= */

.toast,
.notification {
    position: fixed;

    top: 20px;
    right: 20px;

    z-index: 5000;

    width: min(360px, calc(100% - 30px));

    padding: 14px 16px;

    color: #ddd;

    background:
        rgba(16, 16, 16, 0.97);

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-left:
        3px solid var(--gold);

    border-radius: 10px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.45);

    font-size: 10px;

    line-height: 1.6;
}

.toast.success,
.notification.success {
    border-left-color: var(--green);
}

.toast.error,
.notification.error {
    border-left-color: var(--red);
}

.toast.warning,
.notification.warning {
    border-left-color: var(--orange);
}


/* =========================================================
    LOADING STATES
 ========================================================= */

.loading,
.is-loading {
    position: relative;

    pointer-events: none;

    opacity: 0.65;
}

.spinner {
    width: 20px;
    height: 20px;

    display: inline-block;

    border:
        2px solid rgba(255, 255, 255, 0.12);

    border-top-color: var(--gold);

    border-radius: 50%;

    animation:
        monarch-spin 0.7s linear infinite;
}

@keyframes monarch-spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
    OVERLAY
 ========================================================= */

.overlay {
    position: fixed;

    inset: 0;

    z-index: 1500;

    display: none;

    background:
        rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.overlay.active,
.overlay.show {
    display: block;
}


/* =========================================================
    MAIN NAV COMPATIBILITY
 ========================================================= */

.main-nav {
    width: auto;

    min-height: 0;

    margin: 0;

    padding: 0;

    background: transparent;

    border: 0;
}


/* =========================================================
    MOBILE NAV
 ========================================================= */

@media (max-width: 900px) {

    .dashboard-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .dashboard-main {
        width: min(100% - 30px, 1180px);

        padding: 35px 0 60px;
    }
}


@media (max-width: 700px) {

    .dashboard-header .container {
        min-height: 62px;
    }

    .dashboard-main {
        width: calc(100% - 24px);

        padding-top: 28px;
    }

    .dashboard-stats {
        gap: 10px;
    }

    .dashboard-stat,
    .stat-card {
        padding: 15px;
    }

    .dashboard-stat .value,
    .stat-card .value {
        font-size: 19px;
    }

    .balance-card {
        padding: 20px;
    }

    .profile-card {
        align-items: flex-start;
    }

    .toast,
    .notification {
        top: 12px;
        right: 12px;
    }
}


@media (max-width: 500px) {

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome h1 {
        font-size: 24px;
    }

    .dashboard-header .brand {
        font-size: 15px;
    }

    .balance-amount {
        font-size: 30px;
    }

    .profile-avatar {
        width: 43px;
        height: 43px;

        font-size: 12px;
    }
}


/* =========================================================
    FINAL MOBILE TABLE SAFETY
 ========================================================= */

.table-responsive,
.investment-table-wrapper,
.history-table-wrapper,
.transaction-table-wrapper {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

.table-responsive table,
.investment-table-wrapper table,
.history-table-wrapper table,
.transaction-table-wrapper table {
    min-width: 680px;
}


/* =========================================================
    FINAL IMAGE SAFETY
 ========================================================= */

img {
    max-width: 100%;
}

img,
svg {
    vertical-align: middle;
}


/* =========================================================
    FINAL BUTTON SAFETY
 ========================================================= */

button,
.btn,
a.btn {
    -webkit-tap-highlight-color: transparent;
}

button:disabled,
.btn:disabled {
    cursor: not-allowed;

    opacity: 0.55;

    transform: none !important;
}


/* =========================================================
    FINAL FORM SAFETY
 ========================================================= */

input,
select,
textarea {
    max-width: 100%;
}

textarea {
    resize: vertical;
}


/* =========================================================
    FINAL FOCUS STATES
 ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);

    outline-offset: 2px;
}


/* =========================================================
    FINAL ACCESSIBILITY
 ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
    FINAL PRINT CLEANUP
 ========================================================= */

@media print {

    .navbar,
    .main-nav,
    .admin-sidebar,
    .admin-header-actions,
    .dashboard-header .logout-btn,
    .toast,
    .notification,
    .modal,
    .admin-modal {
        display: none !important;
    }

    body {
        background: #fff !important;

        color: #000 !important;
    }

    .dashboard-main {
        width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;
    }
}


/* =========================================================
    END OF CLEAN MONARCH CODEX CSS
 ========================================================= */
/* =========================================================
   REFRESH BUTTON — CSS ONLY
========================================================= */

.refresh-btn,
button[onclick*="refresh"],
button[onclick*="Refresh"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 36px;
    padding: 8px 14px;

    color: #d4af37;

    background: rgba(212, 175, 55, 0.07);

    border: 1px solid rgba(212, 175, 55, 0.22);

    border-radius: 9px;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.refresh-btn:hover,
button[onclick*="refresh"]:hover,
button[onclick*="Refresh"]:hover {
    color: #ffffff;

    background: rgba(212, 175, 55, 0.14);

    border-color: rgba(212, 175, 55, 0.40);

    box-shadow:
        0 5px 18px rgba(212, 175, 55, 0.10);

    transform: translateY(-1px);
}

.refresh-btn:active,
button[onclick*="refresh"]:active,
button[onclick*="Refresh"]:active {
    transform: translateY(0);

    box-shadow: none;
}

.refresh-btn:focus-visible,
button[onclick*="refresh"]:focus-visible,
button[onclick*="Refresh"]:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}


/* Mobile */
@media (max-width: 600px) {
    .refresh-btn,
    button[onclick*="refresh"],
    button[onclick*="Refresh"] {
        min-height: 34px;
        padding: 7px 11px;

        font-size: 9px;
    }
}
/* =========================================================
   MONARCH CODEX — DASHBOARD VISUAL COMPATIBILITY PATCH
   CSS ONLY — DO NOT CHANGE HTML OR JAVASCRIPT
========================================================= */


/* =========================================================
   DASHBOARD HEADER
========================================================= */

.dashboard-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background:
        rgba(8, 8, 8, 0.96);

    border-bottom:
        1px solid rgba(212, 175, 55, 0.16);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dashboard-header-inner {
    width: min(1180px, calc(100% - 30px));

    min-height: 68px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.dashboard-brand a {
    display: inline-flex;

    align-items: center;

    text-decoration: none;

    font-size: 17px;
    font-weight: 900;

    letter-spacing: 0.4px;
}

.brand-monarch {
    color: #ffffff;
}

.brand-codex {
    color: #d4af37;
}

.dashboard-nav {
    display: flex;

    align-items: center;

    gap: 5px;
}

.dashboard-nav-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 7px 11px;

    color: #858585 !important;

    background: transparent;

    border: 1px solid transparent;

    border-radius: 8px;

    font-size: 9px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.2s ease;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
    color: #d4af37 !important;

    background:
        rgba(212, 175, 55, 0.07);

    border-color:
        rgba(212, 175, 55, 0.16);
}

.dashboard-actions {
    display: flex;

    align-items: center;

    gap: 7px;
}

.dashboard-refresh-btn {
    width: 36px;
    height: 36px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    color: #d4af37 !important;

    background:
        rgba(212, 175, 55, 0.07) !important;

    border:
        1px solid rgba(212, 175, 55, 0.22) !important;

    border-radius: 9px;

    font-size: 20px;

    cursor: pointer;

    transition: all 0.2s ease;
}

.dashboard-refresh-btn:hover {
    color: #ffffff !important;

    background:
        rgba(212, 175, 55, 0.15) !important;

    border-color:
        rgba(212, 175, 55, 0.40) !important;

    transform: rotate(25deg);
}

.dashboard-logout-btn {
    min-height: 36px;

    padding: 8px 13px;

    color: #cccccc !important;

    background:
        rgba(255, 255, 255, 0.025) !important;

    border:
        1px solid rgba(255, 255, 255, 0.10) !important;

    border-radius: 9px;

    font-size: 9px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.2s ease;
}

.dashboard-logout-btn:hover {
    color: #ffffff !important;

    border-color:
        rgba(212, 175, 55, 0.30) !important;
}


/* =========================================================
   DASHBOARD MAIN
========================================================= */

.dashboard-main {
    width: min(1180px, calc(100% - 30px)) !important;

    min-height: auto !important;

    margin: 0 auto !important;

    padding: 42px 0 70px !important;
}


/* =========================================================
   WELCOME SECTION
========================================================= */

.dashboard-welcome-section {
    margin-bottom: 28px;
}

.dashboard-welcome {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(212, 175, 55, 0.07),
            rgba(255, 255, 255, 0.015)
        );

    border:
        1px solid rgba(212, 175, 55, 0.14);

    border-radius: 17px;
}

.dashboard-eyebrow,
.section-eyebrow {
    margin-bottom: 6px;

    color: #d4af37 !important;

    font-size: 8px !important;
    font-weight: 800 !important;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.dashboard-welcome h1 {
    margin: 0;

    color: #ffffff !important;

    font-size: clamp(24px, 5vw, 34px) !important;

    line-height: 1.15;
}

.dashboard-welcome h1 span {
    color: #d4af37 !important;
}

.dashboard-welcome-text {
    max-width: 600px;

    margin-top: 8px !important;

    color: #999999 !important;

    font-size: 10px !important;

    line-height: 1.7;
}

.dashboard-member-badge {
    flex-shrink: 0;

    min-width: 135px;

    padding: 12px 14px;

    text-align: right;

    background:
        rgba(212, 175, 55, 0.06);

    border:
        1px solid rgba(212, 175, 55, 0.15);

    border-radius: 10px;
}

.member-badge-label {
    display: block;

    margin-bottom: 4px;

    color: #777777;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.8px;
}

.dashboard-member-badge strong {
    color: #d4af37;

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;
}


/* =========================================================
   STATISTICS
========================================================= */

.dashboard-stats-grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 14px !important;

    margin-bottom: 35px;
}

.dashboard-stat-card {
    position: relative;

    min-width: 0;

    padding: 19px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        #101010 !important;

    border:
        1px solid rgba(212, 175, 55, 0.14);

    border-radius: 15px;

    transition: all 0.2s ease;
}

.dashboard-stat-card:hover {
    border-color:
        rgba(212, 175, 55, 0.30);

    transform: translateY(-2px);
}

.dashboard-stat-card .stat-icon {
    position: static;

    width: 36px;
    height: 36px;

    margin-bottom: 13px;

    color: #d4af37 !important;

    background:
        rgba(212, 175, 55, 0.07) !important;

    border:
        1px solid rgba(212, 175, 55, 0.13);

    border-radius: 9px;
}

.dashboard-stat-card .stat-label {
    display: block;

    margin-bottom: 5px;

    color: #777777 !important;

    font-size: 8px !important;
    font-weight: 700;

    text-transform: uppercase;
}

.dashboard-stat-card .stat-content strong {
    display: block;

    color: #ffffff !important;

    font-size: 21px;

    font-weight: 800;

    line-height: 1.2;
}

.dashboard-stat-card .status-badge {
    display: inline-flex;

    margin-top: 3px;

    color: #35d07f !important;

    font-size: 11px !important;
}


/* =========================================================
   GENERAL DASHBOARD SECTIONS
========================================================= */

.dashboard-section {
    margin-bottom: 42px;
}

.section-heading {
    margin-bottom: 17px;
}

.section-heading h2 {
    margin: 0;

    color: #ffffff !important;

    font-size: 22px !important;
}

.section-description {
    margin-top: 5px !important;

    color: #777777 !important;

    font-size: 9px !important;
}


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

.profile-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 11px;
}

.info-card {
    min-width: 0;

    padding: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;
}

.info-label {
    margin-bottom: 7px;

    color: #666666 !important;

    font-size: 7px !important;
    font-weight: 800;

    letter-spacing: 0.6px;

    text-transform: uppercase;
}

.info-value {
    color: #ffffff !important;

    font-size: 11px !important;
    font-weight: 700;

    word-break: break-word;
}

.monarch-uid-value {
    color: #d4af37 !important;

    font-family:
        "Courier New",
        monospace;
}

.uid-copy-row {
    display: flex;

    align-items: center;

    gap: 8px;
}

.uid-copy-btn,
.small-copy-btn,
.wallet-copy-btn {
    flex-shrink: 0;

    color: #d4af37 !important;

    background:
        rgba(212, 175, 55, 0.07) !important;

    border:
        1px solid rgba(212, 175, 55, 0.18) !important;

    border-radius: 7px;

    font-size: 8px;

    cursor: pointer;
}

.uid-help-text {
    display: block;

    margin-top: 7px;

    color: #666666 !important;

    font-size: 7px;
}


/* =========================================================
   ACCOUNT OVERVIEW
========================================================= */

.overview-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 11px;
}

.overview-card {
    padding: 17px;

    background:
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;
}

.overview-card span {
    display: block;

    margin-bottom: 7px;

    color: #777777 !important;

    font-size: 8px;
}

.overview-card strong {
    color: #ffffff !important;

    font-size: 15px;

    font-weight: 800;
}


/* =========================================================
   PACKAGES
========================================================= */

#packagesGrid.packages-grid {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 15px !important;
}

#packagesGrid .package-card {
    min-width: 0;

    padding: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.035),
            rgba(255, 255, 255, 0.008)
        ),
        #101010 !important;

    border:
        1px solid rgba(212, 175, 55, 0.16);

    border-radius: 15px;

    color: #ffffff !important;
}

#packagesGrid .package-card h3,
#packagesGrid .package-card .package-title {
    color: #ffffff !important;

    font-size: 15px !important;
}

#packagesGrid .package-card p,
#packagesGrid .package-card .package-subtitle {
    color: #888888 !important;
}

#packagesGrid .package-price,
#packagesGrid .package-price *,
#packagesGrid .package-price strong,
#packagesGrid .package-price .amount {
    color: #d4af37 !important;
}

#packagesGrid .package-price {
    margin: 8px 0 15px;
}

#packagesGrid .package-features li {
    color: #c0c0c0 !important;
}

#packagesGrid .package-card button,
#packagesGrid .package-card .btn,
#packagesGrid .package-action {
    width: 100%;

    min-height: 34px;

    margin-top: auto;

    padding: 8px 10px;

    color: #080808 !important;

    background: #d4af37 !important;

    border: 1px solid #d4af37 !important;

    border-radius: 8px;

    font-size: 8px;
    font-weight: 800;

    cursor: pointer;
}

#packagesGrid .package-card button:hover,
#packagesGrid .package-card .btn:hover {
    background: #f0d77a !important;

    border-color: #f0d77a !important;
}


/* =========================================================
   PAYMENT METHODS
========================================================= */

.payment-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 13px;
}

.payment-card {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 17px;

    color: #ffffff !important;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.03),
            rgba(255, 255, 255, 0.008)
        ) !important;

    border:
        1px solid rgba(255, 255, 255, 0.08) !important;

    border-radius: 13px;

    text-align: left;

    cursor: pointer;

    transition: all 0.2s ease;
}

.payment-card:hover,
.payment-card.selected {
    background:
        rgba(212, 175, 55, 0.07) !important;

    border-color:
        rgba(212, 175, 55, 0.35) !important;
}

.payment-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d4af37 !important;

    background:
        rgba(212, 175, 55, 0.08);

    border:
        1px solid rgba(212, 175, 55, 0.13);

    border-radius: 9px;
}

.payment-card-content {
    min-width: 0;
}

.payment-card-content h3 {
    color: #ffffff !important;

    font-size: 12px !important;
}

.payment-card-content p {
    margin-top: 4px;

    color: #888888 !important;

    font-size: 8px !important;

    line-height: 1.5;
}

.payment-check {
    margin-left: auto;

    color: #35d07f !important;

    font-size: 14px;
}


/* =========================================================
   PAYMENT DETAILS
========================================================= */

.payment-details-panel {
    margin-top: 15px;

    padding: 18px;

    background:
        #0d0d0d;

    border:
        1px solid rgba(212, 175, 55, 0.15);

    border-radius: 14px;
}

.payment-details-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 17px;
}

.payment-details-eyebrow {
    color: #d4af37 !important;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;
}

.payment-details-header h3 {
    margin-top: 4px;

    color: #ffffff !important;

    font-size: 16px;
}

.payment-close-btn {
    width: 30px;
    height: 30px;

    color: #999999 !important;

    background: transparent !important;

    border:
        1px solid rgba(255, 255, 255, 0.08) !important;

    border-radius: 7px;

    font-size: 18px;

    cursor: pointer;
}

.payment-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;
}

.payment-info-item {
    padding: 12px;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid rgba(255, 255, 255, 0.05);

    border-radius: 9px;
}

.payment-info-item span,
.payment-amount-row span {
    color: #777777 !important;

    font-size: 8px;
}

.payment-info-item strong {
    display: block;

    margin-top: 5px;

    color: #ffffff !important;

    font-size: 10px;

    word-break: break-word;
}

.payment-amount-box {
    margin-top: 12px;

    padding: 13px;

    background:
        rgba(212, 175, 55, 0.035);

    border:
        1px solid rgba(212, 175, 55, 0.12);

    border-radius: 10px;
}

.payment-amount-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 6px 0;
}

.payment-amount-row strong {
    color: #ffffff !important;

    font-size: 10px;
}

.payment-amount-row.total strong {
    color: #d4af37 !important;

    font-size: 14px;
}

.payment-amount-divider {
    height: 1px;

    margin: 5px 0;

    background:
        rgba(255, 255, 255, 0.07);
}

.payment-instructions {
    margin-top: 12px;

    padding: 12px;

    background:
        rgba(255, 255, 255, 0.02);

    border-radius: 9px;
}

.payment-instructions-title {
    margin-bottom: 5px;

    color: #d4af37 !important;

    font-size: 9px;
    font-weight: 800;
}

.payment-instructions p {
    color: #999999 !important;

    font-size: 9px;

    line-height: 1.6;
}


/* =========================================================
   CRYPTO
========================================================= */

.crypto-network-selector label {
    display: block;

    margin-bottom: 6px;

    color: #888888 !important;

    font-size: 8px;
}

.crypto-network-selector select {
    width: 100%;
}

.crypto-wallet-box {
    margin-top: 12px;
}

.crypto-network-label {
    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;
}

.crypto-network-label span {
    color: #777777 !important;

    font-size: 8px;
}

.crypto-network-label strong {
    color: #d4af37 !important;

    font-size: 9px;
}

.wallet-address-label {
    margin-bottom: 5px;

    color: #777777 !important;

    font-size: 8px;
}

.wallet-address-row {
    display: flex;

    align-items: stretch;

    gap: 7px;
}

.wallet-address {
    flex: 1;

    margin-top: 0 !important;

    color: #d4af37 !important;

    background:
        rgba(212, 175, 55, 0.035) !important;

    border:
        1px solid rgba(212, 175, 55, 0.12) !important;

    font-size: 9px !important;
}

.wallet-copy-btn {
    padding: 8px 10px;

    font-size: 8px;
}


/* =========================================================
   INVESTMENT REQUEST
========================================================= */

.investment-request-card {
    padding: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 15px;
}

.request-summary {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 18px;
}

.request-summary-item {
    padding: 12px;

    background:
        rgba(255, 255, 255, 0.02);

    border:
        1px solid rgba(255, 255, 255, 0.05);

    border-radius: 9px;
}

.request-summary-item span {
    display: block;

    margin-bottom: 5px;

    color: #777777 !important;

    font-size: 8px;
}

.request-summary-item strong {
    color: #ffffff !important;

    font-size: 10px;
}

.receipt-upload-section {
    margin-top: 5px;
}

.receipt-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 12px;
}

.receipt-icon {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(212, 175, 55, 0.07);

    border-radius: 8px;
}

.receipt-heading h3 {
    color: #ffffff !important;

    font-size: 13px;
}

.receipt-heading p {
    margin-top: 3px;

    color: #777777 !important;

    font-size: 8px;
}

.receipt-upload-box {
    padding: 20px;

    text-align: center;

    background:
        rgba(255, 255, 255, 0.015);

    border:
        1px dashed rgba(212, 175, 55, 0.25);

    border-radius: 11px;
}

.receipt-select-btn {
    min-height: 35px;

    padding: 8px 13px;

    color: #080808 !important;

    background: #d4af37 !important;

    border: 1px solid #d4af37 !important;

    border-radius: 8px;

    font-size: 9px;
    font-weight: 800;
}

.receipt-file-help {
    margin-top: 8px;

    color: #666666 !important;

    font-size: 8px;

    line-height: 1.6;
}

.receipt-file-preview {
    margin-top: 12px;

    padding: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    border-radius: 8px;
}


/* =========================================================
   EARNINGS
========================================================= */

.earnings-card,
.earnings-grid,
.performance-card {
    color: #ffffff;
}

.earnings-card strong,
.earnings-grid strong {
    color: #ffffff !important;
}

.earnings-value,
.profit-value {
    color: #d4af37 !important;
}


/* =========================================================
   INVESTMENT HISTORY
========================================================= */

#history {
    overflow: hidden;
}

.investment-history-table,
.history-table {
    width: 100%;

    overflow-x: auto;
}

.investment-history-table table,
.history-table table {
    width: 100%;

    min-width: 650px;

    border-collapse: collapse;
}

.investment-history-table th,
.history-table th {
    padding: 11px;

    color: #777777 !important;

    background: #0b0b0b;

    font-size: 7px;

    text-align: left;

    text-transform: uppercase;
}

.investment-history-table td,
.history-table td {
    padding: 11px;

    color: #c0c0c0 !important;

    border-top:
        1px solid rgba(255, 255, 255, 0.05);

    font-size: 8px;
}

.investment-history-table td strong,
.history-table td strong {
    color: #ffffff !important;
}


/* =========================================================
   STATUS BADGES
========================================================= */

.status-success {
    color: #35d07f !important;

    background:
        rgba(53, 208, 127, 0.09) !important;

    border:
        1px solid rgba(53, 208, 127, 0.17) !important;
}

.status-danger {
    color: #ff5c5c !important;

    background:
        rgba(255, 92, 92, 0.09) !important;

    border:
        1px solid rgba(255, 92, 92, 0.17) !important;
}

.status-pending {
    color: #f3b33d !important;

    background:
        rgba(243, 179, 61, 0.09) !important;

    border:
        1px solid rgba(243, 179, 61, 0.17) !important;
}

.status-muted {
    color: #888888 !important;

    background:
        rgba(255, 255, 255, 0.05) !important;

    border:
        1px solid rgba(255, 255, 255, 0.08) !important;
}


/* =========================================================
   MOBILE — DASHBOARD
========================================================= */

@media (max-width: 900px) {

    .dashboard-header-inner {
        width: calc(100% - 24px);

        min-height: 62px;
    }

    .dashboard-nav {
        display: none;
    }

    .dashboard-main {
        width: calc(100% - 24px) !important;

        padding: 25px 0 55px !important;
    }

    .dashboard-stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .profile-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .overview-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    #packagesGrid.packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .payment-info-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 600px) {

    .dashboard-header-inner {
        gap: 8px;
    }

    .dashboard-brand a {
        font-size: 14px;
    }

    .dashboard-actions {
        gap: 5px;
    }

    .dashboard-refresh-btn {
        width: 34px;
        height: 34px;
    }

    .dashboard-logout-btn {
        min-height: 34px;

        padding: 7px 10px;
    }

    .dashboard-welcome {
        align-items: flex-start;

        flex-direction: column;

        padding: 18px;
    }

    .dashboard-member-badge {
        width: 100%;

        text-align: left;
    }

    .dashboard-stats-grid {
        gap: 9px !important;
    }

    .dashboard-stat-card {
        padding: 14px;
    }

    .dashboard-stat-card .stat-content strong {
        font-size: 17px;
    }

    .profile-grid,
    .overview-grid,
    .payment-grid,
    .request-summary,
    .payment-info-grid {
        grid-template-columns: 1fr;
    }

    #packagesGrid.packages-grid {
        grid-template-columns: 1fr !important;
    }

    .dashboard-section {
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 20px !important;
    }

    .investment-request-card {
        padding: 15px;
    }

    .wallet-address-row {
        flex-direction: column;
    }

    .wallet-copy-btn {
        width: 100%;
    }
}


@media (max-width: 400px) {

    .dashboard-main {
        width: calc(100% - 18px) !important;
    }

    .dashboard-header-inner {
        width: calc(100% - 18px);
    }

    .dashboard-stat-card {
        padding: 12px;
    }

    .dashboard-stat-card .stat-content strong {
        font-size: 15px;
    }

    .package-card {
        padding: 17px !important;
    }
}


/* =========================================================
   END DASHBOARD COMPATIBILITY PATCH
========================================================= */
/* =========================================================
   MONARCH CODEX — DASHBOARD BOTTOM + FOOTER FIX
   CSS ONLY
========================================================= */


/* =========================================================
   INVESTMENT HISTORY CONTAINER
========================================================= */

.investment-history-wrapper {
    width: 100%;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.025),
            rgba(255,255,255,0.008)
        ),
        #101010;

    border:
        1px solid rgba(255,255,255,0.07);

    border-radius: 15px;

    overflow: hidden;
}


/* =========================================================
   DESKTOP HISTORY
========================================================= */

.investment-history-table-wrap {
    width: 100%;

    overflow-x: auto;
}

.investment-history-table {
    width: 100%;

    min-width: 650px;

    border-collapse: collapse;
}

.investment-history-table th {
    padding: 13px 14px;

    color: #777 !important;

    background: #0a0a0a;

    border-bottom:
        1px solid rgba(255,255,255,0.07);

    font-size: 8px !important;
    font-weight: 800;

    letter-spacing: 0.5px;

    text-align: left;

    text-transform: uppercase;
}

.investment-history-table td {
    padding: 14px;

    color: #c5c5c5 !important;

    border-bottom:
        1px solid rgba(255,255,255,0.045);

    font-size: 9px !important;

    vertical-align: middle;
}

.investment-history-table tbody tr:hover {
    background:
        rgba(212,175,55,0.025);
}


/* =========================================================
   MOBILE HISTORY
========================================================= */

/* Desktop: mobile cards hidden */
.investment-history-mobile {
    display: none;
}


/* =========================================================
   MOBILE — HIDE TABLE
========================================================= */

@media (max-width: 700px) {

    .investment-history-table-wrap {
        display: none !important;
    }

    .investment-history-mobile {
        display: flex !important;

        flex-direction: column;

        gap: 10px;

        padding: 12px;
    }

    .investment-history-wrapper {
        overflow: visible;

        background: transparent;

        border: 0;
    }
}


/* =========================================================
   MOBILE INVESTMENT HISTORY CARD
========================================================= */

@media (max-width: 700px) {

    .investment-history-mobile .investment-history-card {
        display: block;

        width: 100%;

        padding: 15px;

        background:
            linear-gradient(
                145deg,
                rgba(255,255,255,0.035),
                rgba(255,255,255,0.008)
            ),
            #101010;

        border:
            1px solid rgba(255,255,255,0.07);

        border-radius: 12px;

        box-sizing: border-box;
    }

    .investment-history-mobile .investment-history-card + .investment-history-card {
        margin-top: 0;
    }

    .investment-history-mobile .history-card-header {
        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 10px;

        padding-bottom: 10px;

        margin-bottom: 10px;

        border-bottom:
            1px solid rgba(255,255,255,0.06);
    }

    .investment-history-mobile .history-card-title {
        color: #ffffff;

        font-size: 11px;
        font-weight: 800;
    }

    .investment-history-mobile .history-card-row {
        display: flex;

        align-items: flex-start;
        justify-content: space-between;

        gap: 15px;

        padding: 5px 0;
    }

    .investment-history-mobile .history-card-label {
        color: #666666;

        font-size: 8px;

        text-transform: uppercase;
    }

    .investment-history-mobile .history-card-value {
        color: #d0d0d0;

        font-size: 9px;

        text-align: right;
    }

    .investment-history-mobile .history-card-value.amount {
        color: #d4af37;
        font-weight: 800;
    }
}


/* =========================================================
   SUPPORT SECTION
========================================================= */

.dashboard-support-section {
    margin-top: 15px;

    margin-bottom: 0 !important;
}

.support-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 22px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(212,175,55,0.09),
            rgba(255,255,255,0.015)
        ),
        #101010;

    border:
        1px solid rgba(212,175,55,0.17);

    border-radius: 15px;
}

.support-card::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -110px;

    background:
        rgba(212,175,55,0.055);

    border-radius: 50%;

    pointer-events: none;
}

.support-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d4af37;

    background:
        rgba(212,175,55,0.08);

    border:
        1px solid rgba(212,175,55,0.16);

    border-radius: 12px;

    font-size: 20px;
}

.support-content {
    position: relative;

    z-index: 1;

    min-width: 0;
}

.support-content h2 {
    margin: 4px 0 5px;

    color: #ffffff !important;

    font-size: 16px !important;
}

.support-content p {
    max-width: 600px;

    margin: 0 0 8px;

    color: #888888 !important;

    font-size: 9px !important;

    line-height: 1.6;
}

.support-content strong {
    display: inline-block;

    color: #d4af37 !important;

    font-family:
        "Courier New",
        monospace;

    font-size: 9px;

    letter-spacing: 0.3px;
}


/* =========================================================
   FOOTER
========================================================= */

.dashboard-footer {
    width: 100%;

    margin-top: 0;

    background:
        #080808;

    border-top:
        1px solid rgba(212,175,55,0.13);
}

.dashboard-footer-inner {
    width: min(1180px, calc(100% - 30px));

    min-height: 85px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-brand {
    color: #d4af37;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.7px;
}

.dashboard-footer p {
    margin: 0;

    color: #666666;

    font-size: 8px;

    text-align: right;
}


/* =========================================================
   FOOTER YEAR
========================================================= */

#currentYear {
    color: #888888;
}


/* =========================================================
   MOBILE SUPPORT + FOOTER
========================================================= */

@media (max-width: 600px) {

    .support-card {
        align-items: flex-start;

        padding: 17px;

        gap: 12px;
    }

    .support-icon {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }

    .support-content h2 {
        font-size: 14px !important;
    }

    .support-content p {
        font-size: 8px !important;
    }

    .dashboard-footer-inner {
        min-height: 78px;

        flex-direction: column;

        justify-content: center;

        gap: 6px;

        text-align: center;
    }

    .dashboard-footer p {
        text-align: center;

        font-size: 7px;
    }

    .footer-brand {
        font-size: 10px;
    }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

    .support-card {
        padding: 14px;
    }

    .support-icon {
        width: 36px;
        height: 36px;

        font-size: 15px;
    }

    .support-content h2 {
        font-size: 13px !important;
    }

    .support-content p {
        font-size: 7px !important;
    }
}


/* =========================================================
   END BOTTOM + FOOTER FIX
========================================================= */
/* =========================================================
   MONARCH CODEX — FINAL DASHBOARD BOTTOM
   HISTORY • SUPPORT • FOOTER
========================================================= */


/* =========================================================
   INVESTMENT HISTORY CONTAINER
========================================================= */

.investment-history-wrapper {
    width: 100%;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 15px;
}


/* =========================================================
   DESKTOP HISTORY TABLE
========================================================= */

.investment-history-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.investment-history-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.investment-history-table th {
    padding: 13px 14px;

    color: #777 !important;
    background: #0a0a0a;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);

    font-size: 8px !important;
    font-weight: 800;

    letter-spacing: 0.5px;
    text-align: left;
    text-transform: uppercase;
}

.investment-history-table td {
    padding: 14px;

    color: #c5c5c5 !important;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.045);

    font-size: 9px !important;

    vertical-align: middle;
}

.investment-history-table tbody tr:last-child td {
    border-bottom: 0;
}

.investment-history-table tbody tr:hover {
    background:
        rgba(212, 175, 55, 0.025);
}


/* =========================================================
   MOBILE HISTORY
========================================================= */

.investment-history-mobile {
    display: none;
}


/* =========================================================
   ACTUAL MOBILE INVESTMENT CARD
========================================================= */

.investment-mobile-card {
    width: 100%;

    padding: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.028),
            rgba(255, 255, 255, 0.008)
        ),
        #101010;

    border:
        1px solid rgba(255, 255, 255, 0.07);

    border-radius: 12px;
}

.investment-mobile-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 12px;
    padding-bottom: 11px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);
}

.investment-mobile-header strong {
    min-width: 0;

    overflow: hidden;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.investment-mobile-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 7px 0;
}

.investment-mobile-row > span:first-child {
    color: #777;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.investment-mobile-row > strong,
.investment-mobile-row > span:last-child {
    max-width: 65%;

    overflow: hidden;

    color: #c8c8c8;

    font-size: 10px;
    font-weight: 700;

    text-align: right;
    text-overflow: ellipsis;
}

.investment-mobile-row > strong {
    color: #ffffff;
}


/* =========================================================
   RECEIPT STATUS
========================================================= */

.receipt-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 4px 7px;

    border-radius: 999px;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.receipt-status.pending {
    color: #f3b33d;

    background:
        rgba(243, 179, 61, 0.10);

    border:
        1px solid rgba(243, 179, 61, 0.18);
}

.receipt-status.approved,
.receipt-status.uploaded {
    color: #35d07f;

    background:
        rgba(53, 208, 127, 0.10);

    border:
        1px solid rgba(53, 208, 127, 0.18);
}

.receipt-status.rejected {
    color: #ff5c5c;

    background:
        rgba(255, 92, 92, 0.10);

    border:
        1px solid rgba(255, 92, 92, 0.18);
}


/* =========================================================
   SUPPORT SECTION
========================================================= */

.dashboard-support-section {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}

.support-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;

    width: 100%;

    padding: 22px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.075),
            rgba(255, 255, 255, 0.015)
        ),
        #101010;

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 15px;
}

.support-card::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    right: -70px;
    bottom: -85px;

    background:
        rgba(212, 175, 55, 0.07);

    border-radius: 50%;

    pointer-events: none;
}

.support-icon {
    position: relative;
    z-index: 1;

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #050505;

    background: #d4af37;

    border-radius: 12px;

    font-size: 21px;

    box-shadow:
        0 8px 22px rgba(212, 175, 55, 0.12);
}

.support-content {
    position: relative;
    z-index: 1;

    min-width: 0;
}

.support-content .section-eyebrow {
    display: block;

    margin-bottom: 5px;
}

.support-content h2 {
    margin: 0;

    color: #ffffff;

    font-size: 16px;
    font-weight: 800;
}

.support-content p {
    max-width: 650px;

    margin: 6px 0 10px;

    color: #888;

    font-size: 10px;

    line-height: 1.6;
}

.support-content strong {
    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 6px 10px;

    color: #d4af37;

    background:
        rgba(212, 175, 55, 0.07);

    border:
        1px solid rgba(212, 175, 55, 0.18);

    border-radius: 7px;

    font-family:
        "Courier New",
        monospace;

    font-size: 10px;

    letter-spacing: 0.4px;
}


/* =========================================================
   FOOTER
========================================================= */

.dashboard-footer {
    width: 100%;

    margin-top: 0;

    background: #070707;

    border-top:
        1px solid rgba(212, 175, 55, 0.10);
}

.dashboard-footer-inner {
    width: min(1180px, calc(100% - 40px));

    min-height: 82px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-brand {
    color: #d4af37;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.dashboard-footer p {
    margin: 0;

    color: #666;

    font-size: 9px;

    text-align: right;
}

#currentYear {
    color: #888;
}


/* =========================================================
   MOBILE FINAL LAYOUT
========================================================= */

@media (max-width: 700px) {

    .investment-history-table-wrap {
        display: none !important;
    }

    .investment-history-mobile {
        display: flex !important;

        flex-direction: column;

        gap: 10px;

        padding: 12px;
    }

    .investment-history-wrapper {
        overflow: visible;

        background: transparent;

        border: 0;
    }

    .support-card {
        align-items: flex-start;

        gap: 13px;

        padding: 17px;
    }

    .support-icon {
        width: 42px;
        height: 42px;

        border-radius: 10px;

        font-size: 18px;
    }

    .support-content h2 {
        font-size: 14px;

        line-height: 1.3;
    }

    .support-content p {
        font-size: 9px;
    }

    .dashboard-footer-inner {
        min-height: 75px;

        flex-direction: column;

        justify-content: center;

        gap: 7px;

        padding: 15px 0;
    }

    .dashboard-footer p {
        text-align: center;

        font-size: 8px;
    }

    .footer-brand {
        font-size: 10px;
    }
}


/* =========================================================
   SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    .investment-mobile-card {
        padding: 12px;
    }

    .investment-mobile-header strong {
        font-size: 11px;
    }

    .investment-mobile-row > span:first-child {
        font-size: 8px;
    }

    .investment-mobile-row > strong,
    .investment-mobile-row > span:last-child {
        font-size: 9px;
    }

    .support-card {
        padding: 14px;
    }

    .support-content h2 {
        font-size: 13px;
    }

    .support-content strong {
        font-size: 9px;
    }
}
<div class="footer-contact">
    <a
        href="https://t.me/Trade_Monarch"
        target="_blank"
        rel="noopener noreferrer"
    >
        Telegram
    </a>

    <a
        href="https://api.whatsapp.com/send?phone=9135424851&text=Hello%20Trade%20Monarch%2C%20I%20need%20help"
        target="_blank"
        rel="noopener noreferrer"
    >
        WhatsApp
    </a>

    <a href="mailto:trademonarchofficial@gmail.com">
        Email
    </a>
</div>
/* =========================================================
   MONARCH CODEX — INDEX PAGE MOBILE / FOOTER FIX
   Safe isolated patch
========================================================= */

/* =========================
   HOMEPAGE CTA
========================= */

.cta-section {
    width: 100%;
    padding: 0 20px 60px;
}

.cta-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 70px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.10),
            rgba(212, 175, 55, 0.025)
        );

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 24px;
}

.cta-content h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
}

.cta-content h2 span {
    color: var(--gold);
}

.cta-content > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--muted);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-buttons .btn {
    flex-shrink: 0;
}


/* =========================
   HOMEPAGE FOOTER
========================= */

.footer {
    width: 100%;
    margin-top: 0;
    padding: 60px 0 25px;

    background: #070707;

    border-top:
        1px solid rgba(212, 175, 55, 0.10);
}

.footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 40px;
}

.footer-brand {
    min-width: 0;
}

.footer-brand p {
    max-width: 330px;
    margin-top: 12px;

    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 12px 24px;

    min-width: 0;
}

.footer-links a {
    color: #888;
    font-size: 12px;

    white-space: nowrap;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}


/* =========================
   CONTACT LINKS
========================= */

.footer-contact {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 12px 24px;

    padding: 18px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);
}

.footer-contact a {
    color: #888;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding-top: 20px;

    color: #666;

    border-top:
        1px solid rgba(255, 255, 255, 0.06);

    text-align: center;

    font-size: 11px;
}

.footer-bottom p {
    margin: 0;
}


/* =========================
   TABLET
========================= */

@media (max-width: 700px) {

    .cta-section {
        padding: 0 15px 50px;
    }

    .cta-content {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .footer-container {
        width: calc(100% - 30px);

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 25px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        width: 100%;

        justify-content: center;

        gap: 12px 20px;
    }

    .footer-contact {
        width: calc(100% - 30px);

        gap: 12px 20px;

        text-align: center;
    }

    .footer-bottom {
        width: calc(100% - 30px);
    }

    .hero-buttons {
        width: 100%;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 450px) {

    .cta-section {
        padding: 0 12px 40px;
    }

    .cta-content {
        padding: 42px 16px;
        border-radius: 18px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .footer {
        padding-top: 45px;
    }

    .footer-container {
        width: calc(100% - 24px);
        padding-bottom: 25px;
    }

    .footer-links {
        gap: 10px 16px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-contact {
        width: calc(100% - 24px);

        gap: 10px 16px;

        padding: 16px 0;
    }

    .footer-contact a {
        font-size: 11px;
    }

    .footer-bottom {
        width: calc(100% - 24px);
        font-size: 10px;
    }
}
/* =========================================================
   MONARCH CODEX — HOMEPAGE MOBILE / CTA / FOOTER FIX
   FINAL SAFE ISOLATED PATCH
   Paste this entire block at the VERY BOTTOM of style.css
========================================================= */


/* =========================
   HOMEPAGE CTA
========================= */

.cta-section {
    width: 100%;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

.cta-section > .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.cta-content {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 70px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.10),
            rgba(212, 175, 55, 0.025)
        );

    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 24px;
}

.cta-content h2 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
}

.cta-content h2 span {
    color: var(--gold);
}

.cta-content > p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 25px;
    color: var(--muted);
}


/* =========================
   CTA BUTTONS
========================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.hero-buttons .btn {
    flex-shrink: 0;
}


/* =========================
   HOMEPAGE FOOTER
========================= */

.footer {
    width: 100%;
    margin-top: 0;
    padding: 60px 0 25px;
    box-sizing: border-box;

    background: #070707;

    border-top: 1px solid rgba(212, 175, 55, 0.10);
}

.footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 40px;

    box-sizing: border-box;
}

.footer-brand {
    min-width: 0;
}

.footer-brand p {
    max-width: 330px;
    margin-top: 12px;

    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 12px 24px;

    min-width: 0;
}

.footer-links a {
    color: #888;
    font-size: 12px;

    white-space: nowrap;

    text-decoration: none;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}


/* =========================
   FOOTER BOTTOM
========================= */

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;

    padding-top: 20px;

    color: #666;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    text-align: center;

    font-size: 11px;

    box-sizing: border-box;
}

.footer-bottom p {
    margin: 0;
}


/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 700px) {

    .cta-section {
        padding: 0 15px 50px;
    }

    .cta-section > .container {
        width: 100%;
    }

    .cta-content {
        padding: 50px 20px;
        border-radius: 20px;
    }

    .footer-container {
        width: calc(100% - 30px);

        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 25px;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-links {
        width: 100%;

        justify-content: center;

        gap: 12px 20px;
    }

    .footer-bottom {
        width: calc(100% - 30px);
    }

    .hero-buttons {
        width: 100%;
    }
}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 450px) {

    .cta-section {
        padding: 0 12px 40px;
    }

    .cta-section > .container {
        width: 100%;
    }

    .cta-content {
        padding: 42px 16px;
        border-radius: 18px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }

    .footer {
        padding-top: 45px;
    }

    .footer-container {
        width: calc(100% - 24px);
        padding-bottom: 25px;
    }

    .footer-links {
        gap: 10px 16px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-bottom {
        width: calc(100% - 24px);
        font-size: 10px;
    }
}


/* =========================
   VERY NARROW PHONES
========================= */

@media (max-width: 360px) {

    .cta-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cta-content {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-buttons .btn {
        max-width: 100%;
    }

    .footer-container,
    .footer-bottom {
        width: calc(100% - 20px);
    }
}
