/* =====================================================
   PARAMOUNT ENTERPRISES
   STYLE.CSS
   PART 1
   ROOT • RESET • HEADER • FOOTER
===================================================== */

/* ===========================
   ROOT VARIABLES
=========================== */

:root {

    --primary: #420328;
    --primary-dark: #35021f;

    --secondary: #ffb500;
    --secondary-light: #ffd257;

    --white: #ffffff;
    --bg: #420328;
    --card: #47072d;

    --text: #ffb500;
    --muted: #c7b77a;

    --border: rgba(255, 181, 0, .15);

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    --radius: 14px;

    --shadow:
        0 10px 30px rgba(0, 0, 0, .18);

    --transition: .3s ease;
}


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

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

html {
    scroll-behavior: smooth;
}

body {

    background: var(--bg);
    color: var(--text);

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

    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
}

ul {
    list-style: none;
}


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

h1,
h2,
h3,
h4,
h5 {

    font-family:
        "Playfair Display",
        serif;

    color: var(--secondary);

}

p {
    line-height: 1.7;
}


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

.container {

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

    margin: auto;

}

.section-padding {

    padding: 80px 0;

}


/* ===========================
   HEADER
=========================== */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
}

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.logo-image {

    width: 50px;

}

.brand strong {

    display: block;

    color: var(--secondary);

    font-size: 20px;

}

.brand small {

    color: var(--muted);

    letter-spacing: 2px;

}


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

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 65px;
}

.site-nav a {
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.site-nav a:hover {

    color: #fff;

}

.nav-actions {
    display: none;
    align-items: center;
    gap: 15px;
}

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


/* ===========================
   BUTTONS
=========================== */

.button-link,
.primary-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 12px 25px;

    background: var(--secondary);

    color: var(--primary);

    border-radius: 8px;

    font-weight: 700;

    transition: .3s;

}




.button-link:hover,
.primary-button:hover {

    transform: translateY(-2px);

}


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

.site-footer {

    background: #3b0223;

    padding: 60px 5% 25px;

}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 40px;

}

.site-footer h4 {

    margin-bottom: 15px;

}

.site-footer p,
.site-footer a {

    margin-bottom: 10px;

}

.footer-links{
    display: flex;
    flex-direction: column;
}

.copyright {

    margin-top: 40px;

    border-top: 1px solid var(--border);

    padding-top: 20px;

    text-align: center;

}


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

.mobile-menu-btn {

    display: none;

}

/* =====================================================
   MOBILE NAVBAR
===================================================== */
@media (max-width:991px) {

    .site-header {
        padding: 15px 20px;
        height: 75px;
    }

    .site-nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        width: 100vw;
        height: calc(100vh - 75px);

        display: flex;
        flex-direction: column;

        background: var(--card);

        margin: 0;
        padding: 20px 0;
        box-sizing: border-box;

        overflow-y: auto;
        overflow-x: hidden;

        transform: translateX(-100%);
        transition: transform .3s ease;

        z-index: 9998;
    }

    .site-nav.active {
        transform: translateX(0);
    }

    .site-nav a {
        display: block;
        width: 100%;
        padding: 16px 25px;
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .site-nav a:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: var(--secondary);
        font-size: 28px;
        cursor: pointer;
        z-index: 10000;
    }

    .nav-actions {
        display: none;
    }

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

    .button-link,
    .primary-button {

        display: inline-flex !important;

        align-items: center;

        justify-content: center;

        padding: 12px 25px;

        background: var(--secondary);

        color: var(--primary);

        border-radius: 8px;

        font-weight: 700;

        transition: .3s;

    }

}


/* =====================================================
   PART 2
   HERO SECTION
===================================================== */

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

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    background: #000;
}


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

.hero-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0;

    transition: opacity .8s ease-in-out,
        transform 8s linear;

    transform: scale(1.05);
}

.hero-slider img.active {
    opacity: 1;
    transform: scale(1);
}


/* ===========================
   OVERLAY
=========================== */

.hero-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .72) 0%,
            rgba(0, 0, 0, .45) 40%,
            rgba(0, 0, 0, .25) 100%);

    z-index: 2;
}


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

.hero-content {

    position: relative;
    z-index: 3;

    height: 100%;

    width: min(1200px, calc(100% - 50px));

    margin: auto;

    display: flex;
    align-items: center;
}

.hero-text {

    max-width: 650px;

}

.hero-content h1 {

    font-size: clamp(40px, 6vw, 72px);

    color: #fff;

    line-height: 1.1;

    margin-bottom: 20px;
}

.hero-content p {

    font-size: 18px;

    color: #fff;

    line-height: 1.8;

    margin-bottom: 35px;
}


/* ===========================
   BUTTONS
=========================== */

.hero-buttons {

    display: flex;

    gap: 18px;

    flex-wrap: wrap;
}

.hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 14px 32px;

    border-radius: 8px;

    background: var(--secondary);

    color: var(--primary);

    font-weight: 700;

    transition: .3s;
}

.hero-button:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);

}

.hero-outline {

    background: transparent;

    color: #fff;

    border: 2px solid #fff;
}

.hero-outline:hover {

    background: #fff;

    color: var(--primary);
}


/* ===========================
   SLIDER DOTS
=========================== */

.hero-dots {

    position: absolute;

    left: 50%;

    bottom: 25px;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;

    z-index: 5;
}

.hero-dot {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .4);

    cursor: pointer;

    transition: .3s;
}

.hero-dot.active {

    background: var(--secondary);

    transform: scale(1.2);

}


/* ===========================
   SCROLL ICON
=========================== */

.scroll-indicator {

    position: absolute;

    bottom: 35px;

    right: 40px;

    z-index: 5;

    color: #fff;

    animation: float 2s infinite;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .hero {

        height: 65vh;

        min-height: 500px;

    }

    .hero-content {

        width: calc(100% - 40px);

    }

    .hero-content h1 {

        font-size: 48px;

    }

    .hero-content p {

        font-size: 16px;

    }

}


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

@media(max-width:768px) {

    .hero {

        height: auto;

        min-height: auto;

    }

    .hero-slider {

        position: relative;

        height: auto;

    }

    .hero-slider img {

        position: relative;

        display: none;

        height: auto;

        object-fit: contain;

        transform: none;

    }

    .hero-slider img.active {

        display: block;

        opacity: 1;

    }

    .hero-overlay {

        display: none;

    }

    .hero-content {

        display: none;

    }

    .hero-dots {

        display: none;

    }

    .scroll-indicator {

        display: none;

    }

}


/* =====================================================
   EXTRA SMALL DEVICES
===================================================== */

@media(max-width:480px) {

    .hero {

        margin-top: 0;

    }

    .hero-slider img {

        width: 100%;

        height: auto;

    }

}


/* =====================================================
   PART 3
   HOME PAGE
   WHY • FEATURES • PROJECTS • GALLERY
===================================================== */


/* =====================================================
   SECTION TITLE
===================================================== */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    display: inline-block;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: auto;
    color: var(--muted);
}


/* =====================================================
   WHY SECTION
===================================================== */

.why-section {
    padding: 90px 0;
}

.why-grid {

    display: grid;

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

    gap: 30px;

}


/* =====================================================
   FEATURE CARD
===================================================== */

.feature-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 35px;

    transition: .35s;

    box-shadow: var(--shadow);

    position: relative;

    overflow: hidden;

}

.feature-card::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background: var(--secondary);

    transform: scaleY(0);

    transition: .35s;

}

.feature-card:hover {

    transform: translateY(-8px);

}

.feature-card:hover::before {

    transform: scaleY(1);

}

.feature-icon {

    width: 70px;
    height: 70px;

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

    background: rgba(255, 181, 0, .12);

    color: var(--secondary);

    font-size: 28px;

    border-radius: 18px;

    margin-bottom: 25px;

}

.feature-card h3 {

    font-size: 24px;

    margin-bottom: 15px;

}

.feature-card p {

    color: var(--muted);

    line-height: 1.8;

}


/* =====================================================
   PROJECT SECTION
===================================================== */

.projects-section {

    padding: 90px 0;

}

.projects-grid {

    display: grid;

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

    gap: 30px;

}


/* =====================================================
   PROJECT CARD
===================================================== */

.project-card {

    background: var(--card);

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--border);

    transition: .35s;

    box-shadow: var(--shadow);

}

.project-card:hover {

    transform: translateY(-10px);

}

.project-image {

    overflow: hidden;

    aspect-ratio: 16/10;

}

.project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;

}

.project-card:hover img {

    transform: scale(1.08);

}

.project-content {

    padding: 25px;

    text-align: center;

}

.project-content h3 {

    font-size: 24px;

    margin-bottom: 10px;

}

.project-content p {

    color: var(--muted);

    margin-bottom: 20px;

}

.project-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 22px;

    background: var(--secondary);

    color: var(--primary);

    border-radius: 8px;

    font-weight: 600;

}


/* =====================================================
   GALLERY SECTION
===================================================== */

.gallery-section {

    padding: 90px 0;

}

.gallery-grid {

    display: grid;

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

    gap: 30px;

}


/* =====================================================
   GALLERY CARD
===================================================== */

.gallery-card {

    background: var(--card);

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid var(--border);

    transition: .35s;

    cursor: pointer;

}

.gallery-card:hover {

    transform: translateY(-8px);

}

.gallery-card img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: .5s;

}

.gallery-card:hover img {

    transform: scale(1.08);

}

.gallery-content {

    padding: 20px;

}

.gallery-content h3 {

    font-size: 22px;

    margin-bottom: 10px;

}

.gallery-content p {

    color: var(--muted);

}


/* =====================================================
   FOLDER GRID
===================================================== */

.folder-grid {

    display: grid;

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

    gap: 30px;

}

.gallery-folder {

    background: var(--card);

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid var(--border);

    transition: .35s;

    cursor: pointer;

}

.gallery-folder:hover {

    transform: translateY(-8px);

}

.folder-image {

    aspect-ratio: 16/10;

    overflow: hidden;

}

.folder-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .6s;

}

.gallery-folder:hover img {

    transform: scale(1.08);

}

.gallery-folder h3 {

    padding: 20px 20px 8px;

}

.folder-info {

    display: flex;

    justify-content: space-between;

    padding: 0 20px 20px;

    color: var(--muted);

    font-size: 14px;

}

.file-count {

    color: var(--secondary);

    font-weight: 700;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .why-grid,
    .projects-grid,
    .gallery-grid,
    .folder-grid {

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

    }

}


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

@media(max-width:768px) {

    .section-title {

        margin-bottom: 40px;

    }

    .section-title h2 {

        font-size: 32px;

    }

    .why-grid,
    .projects-grid,
    .gallery-grid,
    .folder-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }

    .feature-card {

        padding: 25px;

    }

    .project-content {

        padding: 20px;

    }

    .gallery-card img,
    .folder-image img {

        height: 220px;

    }

}


/* =====================================================
   EXTRA SMALL
===================================================== */

@media(max-width:480px) {

    .feature-icon {

        width: 60px;

        height: 60px;

        font-size: 24px;

    }

    .feature-card h3 {

        font-size: 22px;

    }

    .project-content h3,
    .gallery-content h3 {

        font-size: 20px;

    }

}


/* =====================================================
   PART 4
   ABOUT • CONTACT • TERMS
===================================================== */


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

.page-hero {

    background: linear-gradient(135deg,
            #420328,
            #5a0637);

    padding: 90px 20px;

    text-align: center;

}

.page-hero h1 {

    font-size: clamp(38px, 5vw, 56px);

    color: var(--secondary);

    margin-bottom: 20px;

}

.page-hero p {

    max-width: 750px;

    margin: auto;

    color: #f7d675;

    line-height: 1.8;

    font-size: 17px;

}

.section-tag {

    display: inline-block;

    margin-bottom: 18px;

    letter-spacing: 4px;

    text-transform: uppercase;

    font-size: 13px;

    color: var(--secondary);

    font-weight: 700;

}


/* =====================================================
   ABOUT STORY
===================================================== */

.about-story {

    padding: 90px 0;

}

.about-story-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.story-image {

    overflow: hidden;

    border-radius: 20px;

    box-shadow: var(--shadow);

}

.story-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;

}

.story-image:hover img {

    transform: scale(1.05);

}

.story-content h2 {

    font-size: 40px;

    margin-bottom: 25px;

}

.story-content p {

    color: var(--muted);

    line-height: 1.9;

    margin-bottom: 20px;

}


/* =====================================================
   FOUNDER
===================================================== */

.founder-section {

    padding: 90px 0;

}

.founder-grid {

    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 60px;

    align-items: center;

}

.founder-content h2 {

    font-size: 42px;

    margin-bottom: 20px;

}

.founder-content p {

    color: var(--muted);

    line-height: 1.9;

    margin-bottom: 18px;

}

.gold-text {

    color: var(--secondary);

    font-weight: 700;

}

.founder-image {

    text-align: center;

}

.founder-image img {

    width: 300px;

    max-width: 100%;

    border-radius: 25px;

    box-shadow: var(--shadow);

}


/* =====================================================
   ABOUT CARDS
===================================================== */

.about-cards-section {

    padding: 90px 0;

}

.about-cards {

    display: grid;

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

    gap: 25px;

}

.about-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 30px;

    transition: .35s;

    text-align: center;

    box-shadow: var(--shadow);

}

.about-card:hover {

    transform: translateY(-8px);

}

.card-icon {

    font-size: 42px;

    color: var(--secondary);

    margin-bottom: 20px;

}

.about-card h3 {

    margin-bottom: 15px;

    font-size: 22px;

}

.about-card p {

    color: var(--muted);

    line-height: 1.8;

}


/* =====================================================
   CONTACT PAGE
===================================================== */

.contact-section {

    padding: 90px 0;

}

.contact-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 35px;

}

.contact-info,
.contact-form {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 35px;

    box-shadow: var(--shadow);

}

.contact-info h2,
.contact-form h2 {

    margin-bottom: 25px;

}

.contact-item {

    margin-bottom: 22px;

}

.contact-item strong {

    display: block;

    margin-bottom: 6px;

    color: var(--secondary);

}

.contact-item p {

    color: var(--muted);

}

.contact-map {

    margin-top: 25px;

    overflow: hidden;

    border-radius: 15px;

}

.contact-map iframe {

    width: 100%;

    height: 300px;

    border: 0;

}


/* =====================================================
   TERMS PAGE
===================================================== */

.terms-section {

    padding: 90px 0;

}

.terms-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 20px;

    padding: 45px;

    box-shadow: var(--shadow);

}

.terms-card h1 {

    font-size: 40px;

    margin-bottom: 20px;

}

.terms-card h2 {

    margin-top: 35px;

    margin-bottom: 15px;

    color: var(--secondary);

}

.terms-card h3 {

    margin-top: 25px;

    margin-bottom: 10px;

    color: var(--secondary);

}

.terms-card p {

    color: var(--muted);

    line-height: 1.9;

    margin-bottom: 18px;

}

.terms-card ul {

    margin: 20px 0;

    padding-left: 25px;

}

.terms-card li {

    list-style: disc;

    color: var(--muted);

    margin-bottom: 10px;

    line-height: 1.8;

}

.footer-note {

    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    font-size: 14px;

    color: #d7bf72;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .about-story-grid,
    .founder-grid,
    .contact-grid {

        grid-template-columns: 1fr;

    }

    .about-cards {

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

    }

    .founder-image {

        order: -1;
        margin-left: 30px;

    }

}


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

@media(max-width:768px) {

    .page-hero {

        padding: 70px 20px;

    }

    .page-hero h1 {

        font-size: 34px;

    }

    .story-content h2,
    .founder-content h2 {

        font-size: 30px;

    }

    .about-cards {

        grid-template-columns: 1fr;

    }

    .contact-info,
    .contact-form,
    .terms-card {

        padding: 25px;

    }

    .contact-map iframe {

        height: 250px;

    }

}


/* =====================================================
   EXTRA SMALL
===================================================== */

@media(max-width:480px) {

    .page-hero {

        padding: 60px 15px;

    }

    .page-hero p {

        font-size: 15px;

    }

    .story-content p,
    .founder-content p,
    .terms-card p {

        font-size: 15px;

    }

    .terms-card {

        padding: 20px;

    }

    .founder-image img {

        width: 220px;

    }

}

/* =====================================================
   PART 5
   FORM SYSTEM
   LOGIN • REGISTER • CONTACT • FORGOT PASSWORD
===================================================== */


/* =====================================================
   PAGE SHELL
===================================================== */

.page-shell,
.form-page {

    min-height: 85vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 70px 20px;

}


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

.form-card {

    width: min(100%, 550px);

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 22px;

    padding: 45px;

    box-shadow: var(--shadow);

}

.page-shell .form-card {

    width: min(100%, 1050px);

}


/* =====================================================
   FORM HEADER
===================================================== */

.form-heading {

    text-align: center;

    margin-bottom: 35px;

}

.form-heading h1 {

    font-size: 40px;

    color: var(--secondary);

    margin-top: 15px;

}

.form-heading p {

    margin-top: 12px;

    color: var(--muted);

}

.brand-mark {

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 181, 0, .12);

    border: 2px solid var(--secondary);

    color: var(--secondary);

    font-size: 30px;

}


/* =====================================================
   SECTION TITLE
===================================================== */

.section-title {

    margin: 35px 0 25px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--border);

    color: var(--secondary);

    font-size: 22px;

}


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

.form-grid {

    display: grid;

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

    gap: 25px;

}

.three-grid {

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

}

.full {

    grid-column: 1/-1;

}


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

.field,
.form-group {

    display: flex;

    flex-direction: column;

}

.field label,
.form-group label {

    margin-bottom: 8px;
    margin-top: 8px;

    font-size: 13px;

    font-weight: 600;

    color: var(--secondary);

    text-transform: uppercase;

    letter-spacing: .5px;

}


/* =====================================================
   INPUTS
===================================================== */

.field input,
.field textarea,
.field select,

.form-group input,
.form-group textarea,
.form-group select {

    width: 100%;

    min-height: 50px;

    padding: 14px 16px;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: #fff;

    color: #222;

    font-size: 15px;

    transition: .3s;

}

.field textarea,
.form-group textarea {

    min-height: 140px;

    resize: vertical;

}


/* =====================================================
   INPUT FOCUS
===================================================== */

.field input:focus,
.field textarea:focus,
.field select:focus,

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {

    outline: none;

    border-color: var(--secondary);

    box-shadow:
        0 0 0 3px rgba(255, 181, 0, .18);

}


/* =====================================================
   PLACEHOLDER
===================================================== */

input::placeholder,
textarea::placeholder {

    color: #888;

}


/* =====================================================
   DJANGO INPUT IDS
===================================================== */

#id_username,
#id_password,
#id_confirm_password,
#input-field {

    color: #222;

}


/* =====================================================
   RADIO BUTTONS
===================================================== */

.choice-grid {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}

.radio-option {

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

    background: #fff;

    border-radius: 30px;

    border: 1px solid var(--border);

    cursor: pointer;

    color: #222;

}

.radio-option input {

    width: 16px;

    height: 16px;

}


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

.check-row {

    display: flex;

    gap: 10px;

    margin-top: 25px;

    align-items: flex-start;

}

.check-row label {

    color: var(--muted);

}


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

.primary-button,
.form-button {

    width: 100%;

    margin-top: 30px;

    border: none;

    border-radius: 10px;

    padding: 14px;

    background: var(--secondary);

    color: var(--primary);

    font-weight: 700;

    font-size: 16px;

    cursor: pointer;

    transition: .3s;

}

.primary-button:hover,
.form-button:hover {

    transform: translateY(-2px);

}


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

.form-link {

    margin-top: 25px;

    text-align: center;

    color: var(--muted);

}

.form-link a {

    color: var(--secondary);

    font-weight: 700;

}

.forgot-password {

    color: var(--secondary) !important;

}


/* =====================================================
   ERRORS
===================================================== */

.error-box,
.error-message {

    background: #ffe5e5;

    border-left: 4px solid #dc2626;

    padding: 15px;

    border-radius: 8px;

    margin-bottom: 20px;

    color: #b91c1c;

}

.field-error {

    margin-top: 6px;

    color: #ef4444;

    font-size: 13px;

}


/* =====================================================
   SUCCESS MESSAGE
===================================================== */

.success-message {

    background: #dcfce7;

    border-left: 4px solid #16a34a;

    color: #166534;

    padding: 15px;

    border-radius: 8px;

    margin-bottom: 20px;

}

.footer-brand{
    margin-bottom: 10px !important;
}


@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .brand strong {
        font-size: 15px !important;
    }

    .site-nav a {
        font-size: 14px !important;
    }
}

@media screen and (min-width: 991px) and (max-width: 1199px) {
    .brand strong {
        font-size: 14px !important;
    }

    .site-nav a {
        font-size: 12px !important;
    }
}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .page-shell .form-card {

        width: 100%;

        padding: 35px;

    }

    .form-grid,
    .three-grid {

        grid-template-columns: 1fr;

    }

}


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

@media(max-width:768px) {

    .form-page,
    .page-shell {

        padding: 40px 15px;

    }

    .form-card {

        padding: 25px;

    }

    .form-heading h1 {

        font-size: 30px;

    }

    .brand-mark {

        width: 55px;

        height: 55px;

        font-size: 24px;

    }

    .section-title {

        font-size: 20px;

    }

    .choice-grid {

        flex-direction: column;

    }

    .radio-option {

        width: 100%;

    }

    .primary-button,
    .form-button {

        font-size: 15px;

    }

}


/* =====================================================
   EXTRA SMALL
===================================================== */

@media(max-width:480px) {

    .form-card {

        padding: 20px;

    }

    .form-heading h1 {

        font-size: 26px;

    }

    .field input,
    .field textarea,
    .field select {

        font-size: 14px;

    }

}



/* =====================================================
   PART 6
   DASHBOARD
   STATISTICS • TABLES • COMMON COMPONENTS
===================================================== */


/* =====================================================
   DASHBOARD CONTAINER
===================================================== */

.dashboard-shell,
.admin-container {

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

    margin: 40px auto 80px;

    display: flex;

    flex-direction: column;

    gap: 25px;

}


/* =====================================================
   DASHBOARD CARD
===================================================== */

.card,
.admin-card,
.admin-table-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 30px;

    box-shadow: var(--shadow);

}


/* =====================================================
   DASHBOARD HEADER
===================================================== */

.dashboard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 25px;

}

.dashboard-header h2 {

    color: var(--secondary);

    font-size: 30px;

}


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

.admin-header {

    text-align: center;

}

.admin-header h1 {

    font-size: 42px;

    color: var(--secondary);

}

.admin-header p {

    margin-top: 12px;

    color: var(--muted);

}


/* =====================================================
   STATISTICS GRID
===================================================== */

.stats-container {

    display: grid;

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

    gap: 20px;

}


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

.stat-card {

    background: linear-gradient(145deg,
            #520631,
            #420328);

    border: 1px solid rgba(255, 181, 0, .12);

    border-radius: 16px;

    padding: 30px;

    text-align: center;

    transition: .35s;

}

.stat-card:hover {

    transform: translateY(-6px);

}

.stat-card h3 {

    color: #f3d47c;

    font-size: 15px;

    letter-spacing: 1px;

    text-transform: uppercase;

}

.stat-card h2 {

    margin-top: 15px;

    font-size: 38px;

    color: white;

}


/* =====================================================
   WEEK CARD
===================================================== */

.week-container {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 20px;

}

.week-card {

    background: var(--card);

    border-radius: 15px;

    border: 1px solid var(--border);

    padding: 25px;

}

.week-card span {

    color: var(--muted);

}

.week-card strong {

    display: block;

    margin-top: 10px;

    font-size: 30px;

    color: var(--secondary);

}


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

.status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 7px 16px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 700;

}

.status.active {

    background: #dcfce7;

    color: #15803d;

}

.status.pending {

    background: #fef3c7;

    color: #b45309;

}

.status.inactive {

    background: #fee2e2;

    color: #dc2626;

}


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

.table-container,
.table-responsive {

    width: 100%;

    overflow-x: auto;

}

table {

    width: 100%;

    min-width: 950px;

    border-collapse: collapse;

}

thead {

    background: #36021d;

}

th {

    padding: 16px;

    text-align: left;

    color: #ffcc46;

    font-size: 13px;

    text-transform: uppercase;

    white-space: nowrap;

}

td {

    padding: 16px;

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

    color: #fff;

}

tbody tr {

    transition: .25s;

}

tbody tr:hover {

    background: rgba(255, 181, 0, .05);

}


/* =====================================================
   ACTION BUTTONS
===================================================== */

.action-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 18px;

    border: none;

    border-radius: 8px;

    cursor: pointer;

    font-size: 14px;

    font-weight: 600;

    transition: .3s;

    text-decoration: none;

}

.action-btn.activate {

    background: var(--secondary);

    color: #420328;

}

.action-btn.deactivate {

    background: #dc2626;

    color: white;

}

.action-btn:hover {

    transform: translateY(-2px);

}


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

.dashboard-grid {

    display: grid;

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

    gap: 25px;

}


/* =====================================================
   TREE CONTAINER
===================================================== */

.tree-container {

    background: var(--card);

    border-radius: 18px;

    border: 1px solid var(--border);

    padding: 30px;

    overflow: auto;

}


/* =====================================================
   REPORT DROPDOWN
===================================================== */

.report-dropdown {

    position: relative;

}

.download-btn {

    min-width: 180px;

}

.report-menu {

    position: absolute;

    top: 110%;

    right: 0;

    width: 220px;

    background: #fff;

    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);

    display: none;

}

.report-dropdown:hover .report-menu {

    display: block;

}

.report-menu a {

    display: block;

    padding: 14px 18px;

    color: #222;

}

.report-menu a:hover {

    background: #f5f5f5;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .stats-container {

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

    }

    .dashboard-grid {

        grid-template-columns: 1fr;

    }

    .dashboard-header {

        flex-direction: column;

        align-items: flex-start;

    }

}


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

@media(max-width:768px) {

    .dashboard-shell,
    .admin-container {

        width: calc(100% - 20px);

        margin: 20px auto 50px;

    }

    .card,
    .admin-card,
    .admin-table-card {

        padding: 20px;

    }

    .admin-header h1 {

        font-size: 30px;

    }

    .stats-container {

        grid-template-columns: 1fr;

        gap: 15px;

    }

    .stat-card {

        padding: 22px;

    }

    .stat-card h2 {

        font-size: 30px;

    }

    .dashboard-header h2 {

        font-size: 24px;

    }

    .action-btn {

        width: 100%;

        margin-bottom: 10px;

    }

    .download-btn {

        width: 100%;

    }

    .report-dropdown {

        width: 100%;

    }

    .report-menu {

        position: relative;

        width: 100%;

        top: 10px;

    }

    table {

        min-width: 850px;

    }

}


/* =====================================================
   EXTRA SMALL
===================================================== */

@media(max-width:480px) {

    .admin-header h1 {

        font-size: 26px;

    }

    .dashboard-header h2 {

        font-size: 20px;

    }

    .stat-card h2 {

        font-size: 26px;

    }

}


/* =====================================================
   PART 7
   ADMIN DASHBOARD
   INVESTOR MANAGEMENT
===================================================== */


/* =====================================================
   ADMIN CONTAINER
===================================================== */

.admin-container {

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

    margin: 40px auto 80px;

    display: flex;

    flex-direction: column;

    gap: 25px;

}


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

.admin-header {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 35px;

    text-align: center;

    box-shadow: var(--shadow);

}

.admin-header h1 {

    font-size: 42px;

    color: var(--secondary);

}

.admin-header p {

    margin-top: 10px;

    color: var(--muted);

}


/* =====================================================
   INVESTOR MANAGEMENT HEADER
===================================================== */

.dashboard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 20px;

    margin-bottom: 25px;

}

.dashboard-header h2 {

    font-size: 30px;

    color: var(--secondary);

}


/* =====================================================
   REPORT DROPDOWN
===================================================== */

.report-dropdown {

    position: relative;

}

.download-btn {

    min-width: 190px;

}

.report-menu {

    display: none;

    position: absolute;

    top: 105%;

    right: 0;

    width: 220px;

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);

    z-index: 999;

}

.report-dropdown:hover .report-menu {

    display: block;

}

.report-menu a {

    display: block;

    padding: 14px 18px;

    color: #222;

    text-decoration: none;

    transition: .3s;

}

.report-menu a:hover {

    background: #f4f4f4;

}


/* =====================================================
   DESKTOP TABLE
===================================================== */

.desktop-table {

    display: block;

}

.table-responsive {

    width: 100%;

    overflow-x: auto;

}

.table-responsive table {

    min-width: 1200px;

}


/* =====================================================
   TABLE STYLES
===================================================== */

table {

    width: 100%;

    border-collapse: collapse;

}

thead {

    background: #32011b;

}

th {

    padding: 16px;

    color: #ffcb4d;

    font-size: 13px;

    text-transform: uppercase;

    white-space: nowrap;

}

td {

    padding: 16px;

    color: #fff;

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

    vertical-align: middle;

}

tbody tr {

    transition: .25s;

}

tbody tr:hover {

    background: rgba(255, 181, 0, .05);

}


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

.status {

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;

}

.status.active {

    background: #dcfce7;

    color: #15803d;

}

.status.pending {

    background: #fef3c7;

    color: #b45309;

}

.status.inactive {

    background: #fee2e2;

    color: #dc2626;

}


/* =====================================================
   ACTION BUTTONS
===================================================== */

td:last-child {

    min-width: 220px;

}

td:last-child form {

    display: inline-block;

}

.action-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 38px;

    padding: 0 16px;

    border-radius: 8px;

    border: none;

    cursor: pointer;

    font-weight: 600;

    text-decoration: none;

    margin: 4px;

}

.activate {

    background: #ffb500;

    color: #420328;

}

.deactivate {

    background: #dc2626;

    color: #fff;

}


/* =====================================================
   MOBILE LIST
===================================================== */

.mobile-investor-list {

    display: none;

}

.investor-mobile-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 16px;

    padding: 22px;

    margin-bottom: 20px;

    box-shadow: var(--shadow);

}


/* =====================================================
   MOBILE ROW
===================================================== */

.mobile-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 12px 0;

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

}

.mobile-row:last-child {

    border: none;

}

.mobile-row span:first-child {

    color: var(--muted);

}

.mobile-row strong {

    color: #fff;

}


/* =====================================================
   NETWORK
===================================================== */

.mobile-network {

    display: grid;

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

    gap: 12px;

    margin: 20px 0;

}

.mobile-network div {

    background: #5d0839;

    border-radius: 12px;

    text-align: center;

    padding: 16px;

}

.mobile-network h4 {

    color: #ffcb4d;

    font-size: 14px;

    margin-bottom: 8px;

}

.mobile-network p {

    font-size: 24px;

    color: #fff;

    font-weight: 700;

}


/* =====================================================
   MOBILE BUTTONS
===================================================== */

.mobile-actions {

    display: flex;

    flex-wrap: wrap;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

}

.mobile-actions form {

    flex: 1;

}

.mobile-actions a {

    flex: 1;

}

.mobile-actions .action-btn {

    width: 100%;

    margin: 0;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .dashboard-header {

        flex-direction: column;

        align-items: flex-start;

    }

    .download-btn {

        width: 100%;

    }

    .report-dropdown {

        width: 100%;

    }

    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .mobile-nav-actions a {
        width: 100%;
        text-align: center;
    }

}


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

@media(max-width:768px) {

    .desktop-table {

        display: none;

    }

    .mobile-investor-list {

        display: block;

    }

    .dashboard-header h2 {

        font-size: 24px;

    }

    .mobile-network {

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

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:480px) {

    .admin-header {

        padding: 25px 18px;

    }

    .admin-header h1 {

        font-size: 28px;

    }

    .admin-header p {

        font-size: 14px;

    }

    .mobile-row {

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;

    }

    .mobile-network {

        grid-template-columns: 1fr;

    }

    .mobile-network div {

        padding: 14px;

    }

    .mobile-actions {

        flex-direction: column;

    }

    .mobile-actions form,

    .mobile-actions a {

        width: 100%;

    }

    .action-btn {

        width: 100%;

    }

}


/* =====================================================
   PART 8
   FINAL ADMIN DASHBOARD
   BINARY TREE • LEVELS • RESPONSIVE FIXES
===================================================== */


/* =====================================================
   LEVEL CONTAINER
===================================================== */

.level-container {

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

    margin: 40px auto;

}

.level-card {

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 18px;

    padding: 25px;

    margin-bottom: 25px;

    box-shadow: var(--shadow);

}


/* =====================================================
   LEVEL HEADER
===================================================== */

.level-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    background: #5a0637;

    border-radius: 12px;

    padding: 18px 22px;

    margin-bottom: 20px;

}

.level-header h3 {

    color: var(--secondary);

    margin: 0;

    font-size: 24px;

}

.position {

    background: var(--secondary);

    color: var(--primary);

    padding: 8px 18px;

    border-radius: 30px;

    font-weight: 700;

    font-size: 13px;

}


/* =====================================================
   INVESTOR DETAILS
===================================================== */

.investor-details {

    display: grid;

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

    gap: 20px;

    margin-top: 20px;

}

.detail-box {

    background: #5d0839;

    border-radius: 12px;

    padding: 18px;

    text-align: center;

}

.detail-box span {

    display: block;

    color: #f5d77d;

    font-size: 13px;

    margin-bottom: 10px;

}

.detail-box strong {

    font-size: 24px;

    color: #fff;

}


/* =====================================================
   CHILDREN TREE
===================================================== */

.children-container {

    margin-left: 40px;

    padding-left: 25px;

    border-left: 3px solid rgba(255, 181, 0, .25);

}

.child-node {

    margin-top: 20px;

    position: relative;

}

.child-node::before {

    content: "";

    position: absolute;

    left: -28px;

    top: 28px;

    width: 25px;

    height: 2px;

    background: rgba(255, 181, 0, .35);

}


/* =====================================================
   TREE CARD
===================================================== */

.tree-card {

    background: #5d0839;

    border-radius: 15px;

    padding: 18px;

    border: 1px solid rgba(255, 181, 0, .1);

}

.tree-card h4 {

    color: var(--secondary);

    margin-bottom: 10px;

}

.tree-card p {

    color: #fff;

    margin: 6px 0;

}




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

.info-grid {

    display: grid;

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

    gap: 20px;

    margin-top: 25px;

}

.info-box {

    background: #5d0839;

    border-radius: 15px;

    padding: 20px;

    text-align: center;

}

.info-box h5 {

    color: #f5d77d;

    margin-bottom: 10px;

}

.info-box h2 {

    color: #fff;

    font-size: 30px;

}


/* =====================================================
   EMPTY MESSAGE
===================================================== */

.empty-state {

    padding: 50px 20px;

    text-align: center;

    color: #d4c28c;

}

.empty-state h3 {

    margin-bottom: 15px;

}


/* =====================================================
   LOADER
===================================================== */

.loading {

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 40px;

}

.spinner {

    width: 45px;

    height: 45px;

    border: 4px solid rgba(255, 255, 255, .15);

    border-top: 4px solid var(--secondary);

    border-radius: 50%;

    animation: spin .8s linear infinite;

}

@keyframes spin {

    to {

        transform: rotate(360deg);

    }

}


/* =====================================================
   SMOOTH ANIMATIONS
===================================================== */

.card,
.stat-card,
.admin-card,
.admin-table-card,
.level-card,
.tree-card {

    transition: .35s ease;

}

.card:hover,
.admin-card:hover,
.admin-table-card:hover,
.level-card:hover {

    transform: translateY(-4px);

}


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

::-webkit-scrollbar {

    width: 8px;

    height: 8px;

}

::-webkit-scrollbar-thumb {

    background: #ffb500;

    border-radius: 20px;

}

::-webkit-scrollbar-track {

    background: #420328;

}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:992px) {

    .investor-details {

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

    }

    .info-grid {

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

    }

    .level-header {

        flex-direction: column;

        align-items: flex-start;

    }

    .children-container {

        margin-left: 20px;

        padding-left: 15px;

    }

}


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

@media(max-width:768px) {

    .level-container {

        width: calc(100% - 20px);

    }

    .level-card {

        padding: 18px;

    }

    .investor-details {

        grid-template-columns: 1fr;

    }

    .info-grid {

        grid-template-columns: 1fr;

    }

    .position {

        width: 100%;

        text-align: center;

    }

    .children-container {

        margin-left: 12px;

        padding-left: 12px;

    }

    .child-node::before {

        width: 15px;

        left: -15px;

    }

    .tree-card {

        padding: 15px;

    }

}


/* =====================================================
   EXTRA SMALL
===================================================== */

@media(max-width:480px) {

    .level-header h3 {

        font-size: 20px;

    }

    .detail-box strong {

        font-size: 20px;

    }

    .info-box h2 {

        font-size: 24px;

    }

    .empty-state {

        padding: 35px 15px;

    }

}


/* =====================================================
   GLOBAL RESPONSIVE FIXES
===================================================== */

html {

    overflow-x: hidden;

}

body {

    overflow-x: hidden;

}

img {

    max-width: 100%;

    height: auto;

}

iframe {

    max-width: 100%;

}

table {

    border-collapse: collapse;

}

.table-responsive {

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

}

button {

    cursor: pointer;

}

input,
select,
textarea {

    max-width: 100%;

}


/* ======================== tree ================= */


/* ---------- Referral tree layout ---------- */

.tree-wrap{
  background-color: #fff !important;
  width: 100%;
}

.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.children-container {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  position: relative;
}

/* horizontal line joining siblings */
.children-container::before {
  content: "";
  position: absolute;
  top: -20px;
  left: calc(25% + 24px);
  right: calc(25% + 24px);
  height: 2px;
  background: #f4b942;
}

/* only draw the horizontal joiner when there is more than one child */
.children-container:has(> .child-branch:only-child)::before {
  left: 50%;
  right: 50%;
}

.child-branch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* vertical stub from the horizontal line down to each card */
.connector-vertical {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 2px;
  height: 20px;
  background: #f4b942;
  transform: translateX(-50%);
}

/* vertical stub from a parent card down to the horizontal line */
.tree-node > .children-container {
  padding-top: 0;
}

.tree-node > .level-card::after {
  content: "";
}

/* ---------- Card ---------- */

.level-card {
  min-width: 190px;
  max-width: 220px;
  border-radius: 10px;
  padding: 12px 18px;
  text-align: left;
  border: 1px solid;
  background: #1e1e1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.level-card:hover {
  transform: translateY(-2px);
}

.status-active {
  background: #0f3d2e;
  border-color: #2f9e6f;
}

.status-inactive {
  background: #4a1414;
  border-color: #d9564f;
}

.level-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.level-label {
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.position {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.status-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}

.status-active .status-badge {
  background: #2f9e6f;
  color: #eafff3;
}

.status-inactive .status-badge {
  background: #d9564f;
  color: #fff0ef;
}

.investor-id {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 2px;
}

.investor-name {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  margin: 0 0 2px;
}

.investor-mobile {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Root card is a touch bigger ---------- */

.tree-node:first-child > .level-card {
  min-width: 200px;
}

#tree svg {
  width: 100%;
  height: auto;
  display: block;
}

#tree line {
  stroke: #f4b942;
  stroke-width: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .children-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .children-container::before,
  .connector-vertical {
    display: none;
  }

  .level-card {
    width: 90%;
    max-width: 260px;
  }
}


/* =====================================================
   END OF STYLE.CSS
===================================================== */