/* PHP Dynamically-Injected Variable Architecture */
:root {
    --primary:  #0288D1;
    --primary-gradient: linear-gradient(135deg, #0288D1 0%, #00B0FF 100%);
    --primary-glow: rgba(2, 136, 209, 0.25);
    --bg-dark: #040712;
    --surface-dark: #0A0F20;
    --surface-card: #121A30;
    --border-color: #1A2645;
    /*--text-main: #F8FAFC;*/
    /*--text-muted: #94A3B8;*/


    --bg-main: #060913;
    --bg-panel: rgba(13, 20, 38, 0.6);
    --border-glow: rgba(2, 136, 209, 0.2);
    /*--primary-glow: rgba(56, 189, 248, 0.4);*/
    /*--primary-gradient: linear-gradient(135deg, #38BDF8 0%, #0288D1 100%);*/
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
}

/* Base Configuration */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    /*'Inter',*/
}

a{
    text-decoration: none;
}

p{
    font-size: 14px;
}


html {
    scroll-behavior: smooth;
}



body {
    min-height: 100vh;
    background-color: var(--bg-main);
    color: var(--text-main);
    /*background-color: var(--bg-dark);*/
    line-height: 1.6;
    overflow-x: hidden;
}

html, body {
  /* Hide scrollbar for Chrome, Safari, and Opera */
  &::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for Firefox */
  scrollbar-width: none;

  /* Hide scrollbar for IE and Edge */
  -ms-overflow-style: none; 
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}


/* 🌐 TOP NAVIGATION BAR STYLES */
.top-nav {
    width: 100%;
    background: rgba(10, 15, 30, 0.5); /* Sleek dark backdrop transparent layer */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(2, 136, 209, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* AUTH BUTTON (LOGGED OUT) */
.nav-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(2, 136, 209, 0.2), rgba(0, 176, 255, 0.1));
    border: 1px solid rgba(2, 136, 209, 0.4);
    color: #38BDF8;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.nav-login-btn:hover {
    background: rgba(2, 136, 209, 0.3);
    border-color: rgba(0, 176, 255, 0.8);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}
.nav-login-btn .btn-arrow {
    transition: transform 0.2s ease;
}
.nav-login-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* PROFILE DROPDOWN (LOGGED IN) */
.profile-dropdown {
    position: relative;
    display: inline-block;
}
.profile-trigger {
    background: rgba(2, 136, 209, 0.05);
    border: 1px solid rgba(2, 136, 209, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.profile-trigger:hover {
    border-color: rgba(2, 136, 209, 0.5);
    background: rgba(2, 136, 209, 0.1);
}
.profile-avatar {
    width: 26px;
    height: 26px;
    background: #38BDF8;
    color: #0a0f1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}
.dropdown-chevron {
    color: #38BDF8;
    transition: transform 0.2s ease;
}
.profile-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
}

/* DROPDOWN MENU PANEL */

.dropdown-menu {
    /*display: none;*/
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    width: 200px;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(2, 136, 209, 0.25);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 1010;

    visibility: hidden;
    opacity: 0;
    /* Transition both properties, but delay visibility by 1 second */
    transition: visibility 0s 1s, opacity 1s;
}
.profile-dropdown:hover .dropdown-menu {
    /*display: block;*/
    visibility: visible;
    opacity: 1;
    /* Remove the 1-second delay so it opens instantly on hover */
    transition-delay: 0s;
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: rgba(2, 136, 209, 0.1);
    color: #38BDF8;
}
.dropdown-item .item-dot {
    width: 4px;
    height: 4px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.2s ease;
}
.dropdown-item:hover .item-dot {
    background: #38BDF8;
    box-shadow: 0 0 6px #38BDF8;
}
.dropdown-divider {
    height: 1px;
    background: rgba(2, 136, 209, 0.15);
    margin: 4px 0;
}
.dropdown-item.logout-btn {
    color: #f87171;
}
.dropdown-item.logout-btn:hover {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
}
.dropdown-item.logout-btn:hover .logout-dot {
    background: #f87171;
    box-shadow: 0 0 6px #f87171;
}

/* 📱 SCREEN RESPONSIVENESS FIXES */
@media (max-width: 480px) {
    /* Hide the minor badge on small screens to save valuable header space */
    .nav-container {
        padding: 12px 10px;
    }

    /* Slightly scale down the heroic banner typography so it doesn't break sentences awkwardly */
    h1 {
        font-size: 2.4rem;
    }

    .lead-text {
        font-size: 1.05rem;
        padding: 0 10px;
    }
}




/* 🚀 HEADER & HERO AREA PANELS */
header {
    text-align: center;
    padding: 50px 0 30px;
    position: relative;
}
.logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 136, 209, 0.08);
    border: 1px solid rgba(2, 136, 209, 0.3);
    color: #38BDF8;
    /*padding: 6px 18px;*/
    border-radius: 30px;
    /*font-size: 0.8rem;*/
    font-weight: 700;
    letter-spacing: 1px;
    /*margin-bottom: 24px;*/
    /*text-transform: uppercase;*/
    animation: pulseBorder 2s infinite alternate;

    margin-bottom: 0;
    padding: 4px 12px;
    font-size: 0.75rem;
}
@keyframes pulseBorder {
    0% {
        border-color: rgba(2, 136, 209, 0.3);
    }
    100% {
        border-color: rgba(0, 176, 255, 0.8);
        box-shadow: 0 0 12px var(--primary-glow);
    }
}
.logo-badge-dot {
    width: 6px;
    height: 6px;
    background-color: #38BDF8;
    border-radius: 50%;
    box-shadow: 0 0 8px #38BDF8;
}
h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 20px;
}
h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.lead-text {
    color: var(--text-muted);
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Balanced Hero Section Layout split evenly */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
}
@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.terminal-window {
    background-color: #04060F;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.7), 0 0 40px rgba(2,136,209,0.08);
    font-family: monospace;
    /*'Fira Code',*/
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 410px;
    transition: border-color 0.3s;
}


@media(max-width: 768px) {
    .terminal-window {
        height: auto;
    }
}
.terminal-window:hover {
    border-color: var(--primary);
}
.terminal-header {
    background-color: #0A0D1A;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.terminal-title {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Three Window Dots (Green, Yellow, Red) with Custom Terminal Glows */
.terminal-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.green {
    background-color: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.dot.yellow {
    background-color: #F59E0B;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
.dot.red {
    background-color: #EF4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.terminal-body {
    padding: 24px;
    font-size: 0.9rem;
    color: #E2E8F0;
    flex-grow: 1;
    overflow-y: auto;
}
.cmd-line {
    color: #38BDF8;
    margin-bottom: 16px;
    font-weight: 500;
}
.typing-text {
    color: #FFF;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    animation: typing 3.5s steps(25, end) infinite, blink 0.6s step-end infinite alternate;
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
}
@keyframes typing {
    0%, 90%, 100% {
        width: 0;
    }
    35%, 85% {
        width: 195px;
    }
}
@keyframes blink {
    50% {
        border-color: transparent;
    }
}
.output-block {
    margin-top: 16px;
    color: #94A3B8;
    line-height: 1.7;
}
.text-green {
    color: #10B981;
    font-weight: 600;
}
.text-cyan {
    color: #38BDF8;
    font-weight: 600;
}
.log-stream {
    margin-top: 20px;
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
}
.log-line {
    animation: fadeInLog 7s infinite linear;
    opacity: 0;
    margin-bottom: 6px;
    font-size: 0.85rem;
}
@keyframes fadeInLog {
    0%, 12% {
        opacity: 0;
        transform: translateY(6px);
    }
    18%, 88% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
    }
}
.glass-card {
    background-color: var(--surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    height: 410px;
}


@media(max-width: 768px) {
    .glass-card {
        height: auto;
    }
}

.card-heading {
    font-size: 1.4rem;
    font-weight: 700;
    /*margin-bottom: 24px;*/
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.5px;
}
.card-heading svg {
    color: var(--primary);
}
.download-container-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
@media(min-width: 480px) {
    .download-container-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.action-dl-link {
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
}
.action-dl-link:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -5px rgba(2,136,209,0.3);
}
.action-dl-link .platform-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 3px;
}
.action-dl-link .platform-details {
    font-size: 0.8rem;
    color: var(--text-muted);
    z-index: 2;
}
.curl-box {
    background-color: #04060F;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-family: monospace;
    /*'Fira Code'*/
    font-size: 0.75rem;
    margin-bottom: 15px;
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    color: #94A3B8; 
    /*font-size: 0.75rem;*/
}

.curl-box .curl-command{
    color: #38BDF8; 
    font-weight: 500;
}

/* 📊 REAL-TIME METRICS VISITOR STATS SECTION */
.metrics-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 20px;
}
.metric-card {
    background-color: var(--surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s;
}
.metric-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}
.metric-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFF;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* GRAPHICAL WORKFLOW DIAGRAM ARCHITECTURE */
.process-section {
    margin-top: 50px;
    background: linear-gradient(180deg, var(--surface-dark) 0%, #060917 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 45px;
    position: relative;
}
.diagram-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
    position: relative;
}
@media(min-width: 768px) {
    .diagram-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.diagram-node {
    flex: 1;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 26px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.diagram-node:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(2, 136, 209, 0.15);
}
.icon-box {
    width: 54px;
    height: 54px;
    background: rgba(2, 136, 209, 0.1);
    border: 1px solid var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #38BDF8;
    position: relative;
    overflow: hidden;
}
.diagram-node h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.diagram-node p {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.diagram-pipe {
    display: none;
    flex-grow: 1;
    height: 4px;
    background: var(--border-color);
    position: relative;
    overflow: hidden;
}
@media(min-width: 768px) {
    .diagram-pipe {
        display: block;
    }
}
.diagram-pipe::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00B0FF, transparent);
    animation: pipeFlow 2.5s infinite linear;
}
@keyframes pipeFlow {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}
/* 🛠️ UPGRADED 2-COLUMN RECIPES GRID SYSTEM DESIGN LAYOUT */
.recipe-section {
    margin-top: 60px;
}
.recipe-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}
@media (min-width: 900px) {
    .recipe-grid-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px){
    .recipe-grid-container {
        width: 100%;
        display: block;
    }
}

.recipe-modern-card {
    background-color: var(--surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.recipe-modern-card:hover {
    border-color: rgba(2, 136, 209, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.recipe-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.os-badge {
    background-color: rgba(2, 136, 209, 0.08);
    border: 1px solid rgba(2, 136, 209, 0.25);
    color: #38BDF8;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terminal-code-area {
    background-color: #04060F;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-family:  monospace;
    /*'Fira Code',*/
    font-size: 0.85rem;
    overflow-x: auto;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    min-height: 250px;
}
.code-lines-wrapper {
    margin-bottom: 54px;
}
.comment-str {
    color: #4B5E7D;
    display: block;
    margin-bottom: 6px;
    font-style: italic;
    overflow-wrap: anywhere;
}
.comment-str:not(:first-child) {
    margin-top: 14px;
}
.code-str {
    color: #E2E8F0;
    display: block;
    overflow-wrap: anywhere;
}

/* 🟢 MATRIX GLOWING GREEN EMBEDDED BUTTONS (BOTTOM RIGHT) */
.terminal-action-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.terminal-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4), 0 0 10px rgba(16, 185, 129, 0.2);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}


/* --- SZ TUNNEL BALANCED FOOTER SYSTEM --- */

footer {
    margin-top: 100px;
    border-top: 1px solid var(--border-color);
    background-color: #03050C;
    padding: 70px 0 40px;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 1. Base Mobile / Tablet Flow */
.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Switches to 2x2 grid matrix layout on smaller tablet displays */
@media(min-width: 480px) {
    .footer-links-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* 2. Responsive Desktop Equal Spacing System */
@media(min-width: 1024px) {
    .footer-grid {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .footer-brand {
        flex: 0 1 320px; /* Reduced max-width slightly to allocate room for the 4th column */
    }

    /* Pushes all 4 columns together tightly to the absolute right side */
    .footer-links-wrapper {
        display: flex;
        flex-direction: row;
        gap: 50px; /* Tightened from 80px to 50px to comfortably fit 4 columns on desktop layouts */
        margin-left: auto;
    }

    .footer-links {
        flex: 0 0 auto;
    }

    /* Keeps text right-aligned cleanly matching the container line edge */
    .footer-links.legal-column {
        text-align: right;
    }

    /* Micro-animation shift adjustments for right edge typography */
    .footer-links.legal-column ul li a:hover {
        transform: translateX(-2px);
    }
}

/* 3. Typography & Utility Elements */
.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    color: var(--text-main);
}

.footer-brand h2 span,.footer-links h4 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.footer-brand p {
    color: var(--text-muted);
    font-size: 0.99rem;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary);
    transform: translateX(2px);
}

/* 4. Bottom Metadata Strip */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-meta-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media(min-width: 768px) {
    .footer-meta-left {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

.footer-bottom p {
    color: #4B5E7D;
    font-size: 0.82rem;
    margin: 0;
}

.compliance-tag {
    font-size: 0.72rem;
    color: var(--primary);
    background-color: var(--primary-glow);
    border: 1px solid var(--border-glow);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
    display: inline-block;
    align-self: flex-start;
}

.version-tag {
    font-family: monospace;
    color: var(--color-success) !important;
    margin: 0;
}

.text-white {
    color: white;
}





/* DASHBOARD */

.dashboard-main {
    max-width: 1200px;
    margin: 40px auto;
}
.welcome-header {
    margin-bottom: 32px;
}
.welcome-header h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 24px;
}
.cyber-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}
.card-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #38BDF8;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-detail-group {
    margin-bottom: 18px;
}
.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.badge-pro {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--color-warning);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}
.upgrade-btn {
    width: 100%;
    background: var(--primary-gradient);
    color: #060913;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 14px;
}

.token-container {
    background: #05070f;
    border: 1px solid rgba(2, 136, 209, 0.2);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.token-wrapper {
    font-family: monospace;
    color: #A7F3D0;
    overflow-wrap: anywhere;
    margin-right: 10px;
}
.token-toggle-btn {
    background: rgba(2, 136, 209, 0.15);
    border: 1px solid rgba(2, 136, 209, 0.4);
    color: #38BDF8;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.live-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 24px;
}
.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-success);
}
.stats-subgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stat-box {
    background: rgba(5, 7, 15, 0.4);
    border: 1px solid rgba(2, 136, 209, 0.1);
    border-radius: 8px;
    padding: 16px;
}

.stat-box.white-border {
    border-left: 3px solid #FFFFFF;
}
.stat-box.success-border {
    border-left: 3px solid var(--color-success);
}
.stat-box.error-border {
    border-left: 3px solid var(--color-error);
}
.stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 4px;
}

.terminal-block {
    background: #02040a;
    border: 1px solid #1f293d;
    border-radius: 6px;
    padding: 14px;
    font-family: monospace;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .grid-layout {
        grid-template-columns: 1fr;
    }
}

/* 📱 SCREEN RESPONSIVENESS FIXES */
@media (max-width: 480px) {
    /* Slightly scale down the heroic banner typography so it doesn't break sentences awkwardly */
    h1 {
        font-size: 2.4rem;
    }

    .lead-text {
        font-size: 1.05rem;
        padding: 0 10px;
    }
    .stats-subgrid {
        grid-template-columns: 1fr;
    }

    .grid-layout {
        display: block;
    }
}

/* DASHBOARD */



/* PACKAGE */

.pricing-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    text-align: center;
}
.page-title {
    margin-bottom: 40px;
}
.page-title h2 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.page-title h2 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-title p {
    color: var(--text-muted);
    margin-top: 6px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
    align-items: stretch;
}
.package-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.package-card:hover {
    border-color: rgba(2, 136, 209, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: #060913;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.tier-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.tier-price {
    margin: 20px 0;
}
.price-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: #38BDF8;
}
.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 24px 0;
    border-top: 1px solid rgba(2, 136, 209, 0.15);
    padding-top: 24px;
}
.feature-item {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.feature-item .check-icon {
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.1rem;
}

.action-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(2, 136, 209, 0.4);
    background: rgba(2, 136, 209, 0.08);
    color: #38BDF8;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: block;
    margin-top: auto;
    transition: all 0.2s;
}
.action-btn:hover {
    background: var(--primary-gradient);
    color: #060913;
    border-color: transparent;
    box-shadow: 0 0 15px var(--primary-glow);
}
.action-btn.active-tier {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--color-success);
    color: var(--color-success);
    cursor: default;
}
.action-btn.active-tier:hover {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    box-shadow: none;
}

@media (max-width: 960px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

/* PACKAGE */



/* PRIVACY */
/* --- SIMPLE PRIVACY POLICY COMPONENT --- */

.policy-wrapper {
    width: 100%;
    margin: 2rem 0;
    padding: 0;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 1. Header Layout */
.policy-header {
    margin-bottom: 3rem;
    text-align: left;
}

.policy-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-glow);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--border-glow);
    margin-bottom: 1rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.policy-header h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
}

/* 2. Simple Linear Content Flow */
.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.policy-section p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

/* 3. Simple List Blocks */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.policy-list li {
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

/* Using a simple text dash block indicator */
.policy-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.policy-list li strong {
    color: var(--text-main);
    font-weight: 600;
}

/* 4. Minimal Text Callout Instead of Heavy Alerts */
.policy-notice {
    border-left: 3px solid var(--color-warning);
    padding-left: 1rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* 5. Mobile Scaling Adjustments */
@media (max-width: 768px) {
    .policy-header h1 {
        font-size: 2rem;
    }
    .policy-section {
        margin-bottom: 2rem;
    }
}

/*PRIVACY*/


/* TERMS */
/* --- SIMPLE TERMS & CONDITIONS COMPONENT --- */

.terms-wrapper {
    width: 100%;
    margin: 2rem 0;
    padding: 0;
    line-height: 1.7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 1. Header Layout Layout Tokens */
.terms-header {
    margin-bottom: 3rem;
    text-align: left;
}

.terms-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-glow);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--border-glow);
    margin-bottom: 1rem;
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* Seamless application of your primary-gradient token */
.terms-header h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
}

/* 2. Simple Linear Content Flow */
.terms-section {
    margin-bottom: 3rem;
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.terms-section p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

/* 3. Simple List Blocks */
.terms-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.terms-list li {
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
}

/* Using a clean text dash matching your privacy component block */
.terms-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.terms-list li strong {
    color: var(--text-main);
    font-weight: 600;
}

/* 4. Minimal Text Warning Callout */
.terms-notice {
    border-left: 3px solid var(--color-error); /* Uses color-error to flag corporate liability boundaries */
    padding-left: 1rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* 5. Mobile Fluidity Scales */
@media (max-width: 768px) {
    .terms-header h1 {
        font-size: 2rem;
    }
    .terms-section {
        margin-bottom: 2rem;
    }
}

/* TERMS */


/* CAREER */
/* --- SZ TUNNEL UNIQUE CAREERS SYSTEM --- */

.careers-layout {
    width: 100%;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

/* 1. Desktop Asymmetric Split Configuration */
@media (min-width: 1024px) {
    .careers-layout {
        grid-template-columns: 350px 1fr;
        gap: 5rem;
        align-items: flex-start;
    }

    .careers-sidebar {
        position: sticky;
        top: 40px;
    }
}

/* 2. Sidebar Component Elements */
.careers-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

/* Green badge token indicating active hiring paths */
.careers-badge.status-open {
    color: var(--color-success);
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.careers-sidebar h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.careers-sidebar h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.careers-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* 3. Main Active Roles Grid Stream */
.roles-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roles-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Interactive Card Matrix Elements */
.role-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.role-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.role-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.role-tag.type-eng {
    background-color: var(--primary-glow);
    color: var(--primary);
}
.role-tag.type-ops {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}
.role-tag.type-adv {
    background-color: rgba(13, 20, 38, 0.6);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}
.role-tag.location-remote {
    background-color: rgba(255,255,255,0.04);
    color: var(--text-muted);
}

.role-title {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.role-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* 4. Technical Requirements & Action Loops */
.role-requirements {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media(min-width: 580px) {
    .role-requirements {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
}

.role-requirements span {
    color: var(--text-main);
    font-weight: 600;
}

.role-apply-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.role-apply-link:hover {
    opacity: 0.85;
}

/* 5. Fluid Responsive Adjustments */
@media (max-width: 768px) {
    .role-card {
        padding: 1.5rem;
    }
    .careers-sidebar h1 {
        font-size: 1.85rem;
    }
}

/* CAREER */


/* CONTACT US */
/* --- SZ TUNNEL UNIQUE CONTACT SYSTEM --- */

.contact-layout {
    width: 100%;
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

/* 1. Desktop Asymmetric Split Configuration */
@media (min-width: 1024px) {
    .contact-layout {
        grid-template-columns: 350px 1fr;
        gap: 5rem;
        align-items: flex-start;
    }

    .contact-sidebar {
        position: sticky;
        top: 40px;
    }
}

/* 2. Sidebar Component Elements */
.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-glow);
    padding: 0.4rem 0.85rem;
    border-radius: 4px;
    border: 1px solid var(--border-glow);
    margin-bottom: 1.25rem;
}

.contact-sidebar h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.contact-sidebar h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* 3. Main Operational Channels Container */
.channels-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.channels-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 0.5rem;
}

/* Interactive Channel Cards */
.channel-card {
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
    transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.channel-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Category Tags */
.channel-tag {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.channel-tag.type-tech {
    background-color: var(--primary-glow);
    color: var(--primary);
}
.channel-tag.type-biz {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--color-success);
}
.channel-tag.type-legal {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--color-error);
}

/* Operational Status Chips */
.channel-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.channel-status.status-online::before {
    content: "● ";
    color: var(--color-success);
}

.channel-status.status-urgent::before {
    content: "⚠️ ";
}

.channel-title {
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.channel-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

/* 4. Action Row Mapping */
.channel-action-row {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px dashed var(--border-color);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media(min-width: 580px) {
    .channel-action-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
}

.channel-action-row span {
    color: var(--text-main);
    font-weight: 600;
}

.channel-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: monospace;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.channel-link.link-alert {
    color: var(--color-error); /* Flags the abuse channel clearly using your warning state token */
}

.channel-link:hover {
    opacity: 0.85;
}

/* 5. Mobile Fluidity Scaling */
@media (max-width: 768px) {
    .channel-card {
        padding: 1.5rem;
    }
    .contact-sidebar h1 {
        font-size: 1.85rem;
    }
}

/* CONTACT US */


/* LOGIN */

/* Surface Card Container */



.login-box {
    /*min-height: 90vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
/*    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;*/
    padding: 80px 20px 0px 20px;
}

.login-container {
    width: 100%;
    max-width: 440px;
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px var(--primary-glow);
}

/* Card Width extended to 640px to neatly fit 2-column configurations */
.login-container.register-wide {
    width: 100%;
    max-width: 640px;
    background-color: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px var(--primary-glow);
}

/* Identity Branding */
.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-main);
}

.logo i, .logo span span {
    /*color: var(--primary);*/

    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* SSO Authentication */
.btn-google {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    color: #1f2937;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-google:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.google-icon {
    width: 18px;
    height: 18px;
}

/* Subtle Visual Splitter */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--border-color);
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 12px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* CSS Grid implementation for 2-column structure */
.row-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Form Helper Utility Classes */
.full-width {
    grid-column: span 2 / span 2;
}

label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}

input {
    width: 100%;
    padding: 12px 16px 12px 25px;
    background-color: var(--surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Hyperlinks Styling */
.forgot-link, .register-link {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
    transition: filter 0.2s ease;
}

.forgot-link:hover, .register-link:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}


/* 💎 Premium Dropdown Component UI Optimization */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

select {
    width: 100%;
    padding: 12px 42px 12px 42px;
    background-color: var(--surface-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Custom clean chevron icon rendered dynamically */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced Highlight Dropdown Focus State */
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://w3.org' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300B0FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='18 15 12 9 6 15'></polyline></svg>");
}

/* Makes option choices match theme container elements */
select option {
    background-color: var(--surface-card);
    color: var(--text-main);
    padding: 12px;
}

/* Custom icon glow indicator when dropdown is active */
select:focus ~ .accent-glow-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 4px var(--primary));
}

/* Set placeholder opacity state for unselected dropdown elements */
select:invalid, select:has(option[value=""]:checked) {
    color: rgba(248, 250, 252, 0.4);
}

/* Hyperlinks Styling */
.register-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    transition: filter 0.2s ease;
}

.register-link:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}

/* Form Action Trigger */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(2, 136, 209, 0.4);
    filter: brightness(1.1);
}

/* Context Footer */
.login-footer {
    text-align: center;
    margin-top: 28px;
}

.login-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Real-time Inline Error Validation Styles */
.error-msg {
    color: #ef4444;
    font-size: 11px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

input.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}



/* 🔒 Premium UI Styling for Disabled Fields */
input:disabled {
    background: rgba(4, 7, 18, 0.6) !important; /* Deeper and darker than your standard inputs */
    border: 1px solid rgba(26, 38, 69, 0.4) !important;
    color: var(--text-muted) !important;
    opacity: 0.5;
    cursor: not-allowed;
    user-select: none;
    /* 💎 Crucial: Inner shadow makes the field look physically pushed down/disabled */
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.6),
        inset 0 1px 3px rgba(0, 0, 0, 0.8) !important;
}

/* Accent change for the wrapper container holding the disabled input */
.disabled-group .input-wrapper {
    position: relative;
}

/* Adds a secure visual pad-lock indicator inside the field dynamically */
.disabled-group .input-wrapper::after {
    content: '🔒'; /* FontAwesome Lock Icon code */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    color: #ef4444; /* Alert red tone to show it is firmly locked down */
    font-size: 13px;
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

/* Optional hover state to reinforce that the field cannot be modified */
.disabled-group .input-wrapper:hover::after {
    opacity: 1;
    filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.5));
}

.text-red{
    color:red;
}
.text-green{
    color:green;
}
.text-blue{
    color:blue;
}

/* Responsive breakpoint fallback for smaller screen architectures */
@media (max-width: 580px) {
    .row-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .full-width {
        grid-column: span 1 / span 1;
    }
    .login-container.register-wide {
        padding: 24px;
    }
}


/* LOGIN */