/* web/style.css */
:root {
    --bg-base: #030712;
    --panel-bg: rgba(9, 15, 35, 0.8);
    --border-color: rgba(59, 130, 246, 0.12);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #38bdf8;
    --text-base: #f1f5f9;
    --text-muted: #64748b;
    --success: #10e873;
    --warning: #ffb938;
    --danger: #ef4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-base);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(29, 78, 216, 0.15), transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.08), transparent 45%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.25);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.45);
}

/* ==========================================
   PUBLIC LANDING PAGE STYLES
   ========================================== */
.landing-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(3, 7, 18, 0.7);
}

.landing-nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.landing-nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav-links a:hover {
    color: #ffffff;
}

.btn-nav-admin {
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-nav-admin:hover {
    background: var(--accent);
    color: #030712;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.3);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 80px 8% 120px;
    align-items: center;
}

.hero-left h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 54px;
    line-height: 1.1;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 16px;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 35px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-download:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-buy:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* App Mockup UI */
.app-mockup {
    background: rgba(3, 8, 20, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    height: 380px;
    display: grid;
    grid-template-rows: 32px 1fr;
}

.mock-titlebar {
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mock-window-title {
    font-size: 10px;
    color: #475569;
    font-weight: 600;
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-content {
    display: grid;
    grid-template-columns: 100px 1fr;
    height: 100%;
}

.mock-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-sidebar-item {
    height: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
}

.mock-sidebar-item.active {
    background: rgba(37, 99, 235, 0.2);
}

.mock-workspace {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-header h3 {
    font-size: 14px;
    font-weight: 700;
}

.mock-diag-score {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(16, 232, 115, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 232, 115, 0.2);
}

.mock-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 12px;
}

.mock-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.mock-box h4 {
    font-size: 10px;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.mock-sysinfo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
}

.mock-sysinfo-row {
    display: flex;
    justify-content: space-between;
}

.mock-sysinfo-row span {
    color: #94a3b8;
}

.mock-rings {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.mock-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid rgba(37, 99, 235, 0.3);
    display: grid;
    place-items: center;
    font-size: 8px;
    font-weight: 700;
    color: #ffffff;
}

.mock-ring.green {
    border-color: rgba(16, 232, 115, 0.4);
}

.mock-logs {
    font-family: 'Fira Code', monospace;
    font-size: 8px;
    color: var(--success);
    background: #02050b;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 8px;
    height: 90px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Features Section */
.section-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.features {
    padding: 80px 8%;
    background: rgba(0, 0, 0, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 30px;
    border-radius: 14px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Pricing Section */
.pricing {
    padding: 80px 8%;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.price-card {
    width: 320px;
    padding: 40px;
    border-radius: 16px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.premium {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 10px 40px rgba(56, 189, 248, 0.08);
}

.price-card.premium::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent);
    color: #030712;
    font-size: 8px;
    font-weight: 800;
    padding: 4px 30px;
    transform: rotate(45deg);
}

.price-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.price-val {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
}

.price-val span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-features {
    text-align: left;
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: #cbd5e1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li svg {
    color: var(--success);
    flex-shrink: 0;
}

.price-card button {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.price-card.premium button {
    background: var(--primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.price-card.premium button:hover {
    background: var(--primary-hover);
}

.price-card button:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* FAQ Section */
.faq {
    padding: 80px 8% 120px;
    background: rgba(0, 0, 0, 0.2);
}

.faq-grid {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border-color);
    background: var(--panel-bg);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    user-select: none;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 200px;
}

.faq-question svg {
    transition: transform 0.3s;
    color: var(--accent);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

/* Footer */
footer {
    padding: 40px 8%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

/* ==========================================
   ADMIN LOGIN CARD STYLE
   ========================================== */
.login-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 60px);
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 16px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.02),
        0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.login-brand h1 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.login-brand span {
    font-size: 11px;
    color: var(--text-muted);
}

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

.input-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group input {
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(2, 6, 23, 0.6);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.15);
}

form button {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

form button:hover {
    background: var(--primary-hover);
}

/* ==========================================
   PORTAL SHELL
   ========================================== */
.portal-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 24px 18px;
    border-right: 1px solid rgba(59, 130, 246, 0.08);
    background: rgba(2, 6, 23, 0.95);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
}

.brand strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

.brand span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 2px;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 14px;
    color: #94a3b8;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-list a:hover {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

.nav-list a.active {
    color: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.85);
    background: rgba(29, 78, 216, 0.22);
    box-shadow: 
        0 0 14px rgba(37, 99, 235, 0.25),
        inset 0 0 8px rgba(37, 99, 235, 0.1);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 12px;
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
}

.user-card div {
    flex-grow: 1;
    min-width: 0;
}

.user-card strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.user-card span {
    display: block;
    color: var(--text-muted);
    font-size: 10px;
    margin-top: 2px;
}

.logout-link {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
    transition: all 0.2s;
}

.logout-link:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ==========================================
   WORKSPACE & WORK AREA
   ========================================== */
.workspace {
    display: grid;
    grid-template-rows: 60px 1fr;
    min-width: 0;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    background: rgba(2, 6, 23, 0.4);
}

.status-pills {
    display: flex;
    gap: 12px;
}

.status-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    padding: 0 12px;
    color: #94a3b8;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.6);
    font-size: 10px;
    font-weight: 600;
}

.status-pills b {
    font-weight: 700;
    color: var(--accent);
}

.status-pills span:nth-child(2) b {
    color: var(--success);
}

.content-view {
    overflow-y: auto;
    padding: 30px 40px;
}

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

/* ==========================================
   STATS GRID
   ========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    position: relative;
    padding: 24px;
    border-radius: 14px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.stat-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-head small {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.icon-wrap {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.icon-wrap.blue {
    color: var(--accent);
    background: rgba(56, 189, 248, 0.08);
}

.icon-wrap.green {
    color: var(--success);
    background: rgba(16, 232, 115, 0.08);
}

.icon-wrap.purple {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.08);
}

.stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
}

.stat-desc {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ==========================================
   PANELS & DETAILS
   ========================================== */
.panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.detail-panel h2 {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 20px;
}

.service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 13px;
}

.service-row:last-child {
    border-bottom: none;
}

.status-badge.live {
    color: var(--success);
    background: rgba(16, 232, 115, 0.08);
    border: 1px solid rgba(16, 232, 115, 0.2);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================
   TABLES
   ========================================== */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.generate-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.generate-form input,
.generate-form select {
    height: 36px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(2, 6, 23, 0.6);
    color: #ffffff;
    outline: none;
    padding: 0 10px;
    font-size: 13px;
}

.generate-form input {
    width: 70px;
    text-align: center;
}

.generate-form select {
    cursor: pointer;
}

.generate-form button {
    height: 36px;
    padding: 0 16px;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.generate-form button:hover {
    background: var(--primary-hover);
}

.table-panel {
    padding: 0;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

th, td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

th {
    background: rgba(15, 23, 42, 0.4);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:last-child td {
    border-bottom: none;
}

.license-code {
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    color: var(--accent);
}

.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-active {
    color: var(--success);
    background: rgba(16, 232, 115, 0.08);
    border: 1px solid rgba(16, 232, 115, 0.15);
}

.badge-unused {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.badge-suspended {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-revoke {
    color: #ffffff;
    background: rgba(242, 178, 55, 0.15);
    border: 1px solid rgba(242, 178, 55, 0.25);
}

.btn-revoke:hover {
    background: rgb(242, 178, 55);
    color: #000;
}

.btn-activate {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.btn-activate:hover {
    background: rgb(37, 99, 235);
}

.btn-delete {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-delete:hover {
    background: var(--danger);
}

/* ==========================================
   SETTINGS FORM
   ========================================== */
.settings-form-panel form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 20px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group textarea {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(2, 6, 23, 0.6);
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.save-btn {
    height: 40px;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
    padding: 0 24px;
}

.save-btn:hover {
    background: var(--primary-hover);
}

/* Mandatory Toggle switch */
.toggle-group {
    align-items: center;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-top: 4px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e293b;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Responsive queries */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
        padding-bottom: 60px;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .portal-shell {
        grid-template-columns: 1fr;
    }
    .sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    }
}
