@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg-color: #070B14;
    --text-color: #ffffff;
    --text-secondary: #d1d5db;
    
    /* Surface Colors */
    --card-bg: #0b1121;
    --nav-bg: rgba(7, 11, 20, 0.8);
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.05);
    
    /* Branding */
    --primary-color: #FF6600; /* Primary orange */
    --primary-hover: #e05a00; /* 85% of #FF6600 */
    --secondary-bg: #0f172a;
    --accent-gradient: linear-gradient(135deg, #FF6600 0%, #FF8A47 100%); /* HLYDO Premium Gradient */
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Radius */
    --radius-xl: 16px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-sm: 6px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    background-image: radial-gradient(circle at 50% 0%, rgba(237, 112, 45, 0.15), transparent 50%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #04070c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Sidebar Navigation (Software Left Nav) */
.sidebar {
    width: 260px;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;
    background: var(--nav-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}

.sidebar-logo {
    padding: 0 2rem 2.5rem;
    display: block;
    text-decoration: none;
}

.sidebar-logo strong {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.04em;
}

.sidebar-nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    gap: 4px;
}

.sidebar-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    color: #ffffff;
    background: var(--hover-bg);
}

.sidebar-nav a.upgrade {
    color: var(--primary-color);
    margin-top: 10px;
    background: rgba(237, 112, 45, 0.05);
}

.sidebar-nav a.upgrade:hover {
    background: rgba(237, 112, 45, 0.1);
}

/* Software Top Header */
.main-wrapper {
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-header {
    height: 70px;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
    position: sticky;
    top: 0;
    z-index: 90;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Public Navbar (Website Top Nav) */
.public-navbar {
    height: 80px;
    background: rgba(7, 11, 20, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
}

.public-navbar .nav-brand a {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.public-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.public-navbar .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.public-navbar .nav-links a:hover {
    color: #fff;
}

/* Containers */
.container {
    animation: fadeIn 0.5s ease forwards;
}

.container-app {
    padding: 3rem 2.5rem;
    flex-grow: 1;
    max-width: 100%;
    margin: 0;
}

.container-public {
    padding: 120px 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 120px);
}

/* Landing Page Sections (index.php) */
.hero-section {
    text-align: center;
    padding: 120px 20px;
    background-image: radial-gradient(circle at 50% 100%, rgba(237, 112, 45, 0.1), transparent 70%);
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    line-height: 1.1;
}
.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.6;
}
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.featured-services-section {
    margin-bottom: 100px;
}

.cta-section {
    background: var(--accent-gradient) !important;
    text-align: center;
    padding: 80px 40px !important;
    border: none !important;
}
.cta-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff !important;
}
.cta-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.25rem;
    margin-bottom: 40px;
}
.cta-btn {
    background: #fff !important;
    color: #000 !important;
    padding: 18px 60px !important;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px !important;
}


/* The Cards (Sleek Dark Mode) */
.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Forms & Inputs */
.form-group input, .form-group select,
input[type="text"], input[type="password"], input[type="date"], input[type="number"], select, textarea, input[type="file"] {
    width: 100%;
    padding: 12px 16px;
    margin: 10px 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #070b14;
    color: var(--text-color);
    font-family: var(--font-family);
    box-sizing: border-box;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    outline: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
}
select option {
    background: #0f172a;
    color: var(--text-color);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* File Input Chooser */
input[type="file"] {
    background: transparent;
    padding: 10px 10px;
}
input[type="file"]::file-selector-button {
    background: #ffffff;
    color: #070b14;
    border: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: 15px;
    transition: all 0.2s ease;
}
input[type="file"]::file-selector-button:hover {
    background: #e5e5e5;
    transform: scale(0.98);
}

/* Linear-style Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 24px;
    background: #ffffff;
    color: #070b14 !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Transparent/ghost button variant â€” white text on dark backgrounds */
.btn[style*="background: transparent"],
.btn[style*="background:transparent"],
.btn-ghost {
    color: rgba(255,255,255,0.75) !important;
}

.btn:hover {
    background: #e5e5e5;
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff !important;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-auto {
    width: auto;
}

/* Copy Button */
.copy-btn {
    background: var(--secondary-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--hover-bg);
    border-color: rgba(255,255,255,0.3);
}

/* Category Grid & Cards */
.category-grid {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin-top: 20px;
}


.category-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.category-thumb-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* Tables */
.table-responsive-wrapper {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

/* Copy Icon Button */
.copy-icon-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    vertical-align: middle;
    margin-left: 6px;
}
.copy-icon-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

th {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:hover td {
    background: var(--hover-bg);
}

/* Utilities */
.hidden-ctx { display: none; }
.flex { display: flex; gap: 20px; }

/* Login Page Styling */
.login-bg {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Prevent vertical clipping and allow scrolling */
    padding: 60px 20px; /* Generous top and bottom padding */
    box-sizing: border-box;
    min-height: 100vh;
    overflow-y: auto;
    background: #070b14;
    background-image: radial-gradient(circle at 50% -20%, rgba(237, 112, 45, 0.4), transparent 60%);
}

.login-container {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.4s ease forwards;
}

.login-container h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.error-msg {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Modal & Video */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 11, 20, 0.9); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
    background: #070b14; width: 100%; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: 0 0 50px rgba(0,0,0,0.8); aspect-ratio: 16/9;
    border: 1px solid var(--border-color);
}
.modal-close {
    position: absolute; top: -45px; right: 0; color: var(--text-secondary); font-size: 2.5rem;
    background: none; border: none; cursor: pointer; transition: color 0.2s;
    line-height:1; padding:0;
}
.modal-close:hover { color: #fff; }
.video-trigger {
    display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.05);
    color: var(--text-color); padding: 10px 16px; border-radius: var(--radius-md);
    font-weight: 500; font-size: 0.9rem; cursor: pointer; transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}
.video-trigger:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-1px); }

/* Footer Logic */
footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    margin: 0;
    max-width: 350px;
    line-height: 1.5;
}

.footer-links-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-dot {
    color: rgba(255,255,255,0.15);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-secondary);
    transition: all 0.2s ease;
    display: flex;
}

.footer-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-socials i {
    width: 18px;
    height: 18px;
}

.footer-app {
    margin-left: 0; 
}

.footer-public {
    max-width: 1200px;
    margin: 0 auto;
}


/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

/* Sidebar Download Button */
.sidebar-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(237, 112, 45, 0.15) 0%, rgba(255, 138, 71, 0.15) 100%);
    border: 1px solid rgba(237, 112, 45, 0.3);
    border-radius: var(--radius-md);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sidebar-download-btn:hover {
    background: linear-gradient(135deg, rgba(237, 112, 45, 0.25) 0%, rgba(255, 138, 71, 0.25) 100%);
    border-color: rgba(237, 112, 45, 0.5);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(237, 112, 45, 0.15);
}

.dl-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceArrow 2s ease-in-out infinite;
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Mobile Navbar Layout */
.hamburger-menu {
    display: none;
    cursor: pointer;
    color: #fff;
}
.hamburger-menu:hover {
    color: var(--primary-color);
}


/* Custom Checkboxes */
.custom-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 8px;
    color: #fff;
    user-select: none;
}

.custom-checkbox-input {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0;
    flex-shrink: 0;
}

.custom-checkbox-input:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.custom-checkbox-input:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox-input:checked::after {
    content: '';
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* ==========================================================================
   Antigravity Premium Redesign System for Public Pages (.public-body)
   ========================================================================== */

/* 1. Global Reset & Ambient Glow System for Public Site */
.public-body {
    background-color: #070B14 !important; /* HLYDO Dark background */
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 102, 0, 0.12), transparent 50%),
        radial-gradient(circle at 10% 30%, rgba(255, 138, 71, 0.03), transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(255, 102, 0, 0.03), transparent 40%) !important;
    overflow-x: hidden;
    position: relative;
}

/* Ambient glow blobs */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 12s infinite ease-in-out alternate;
}

.glow-top {
    top: 5%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: #FF6600; /* Primary orange */
}

.glow-middle {
    top: 45%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: #FF8A47; /* Secondary orange */
    animation-duration: 18s;
    animation-delay: -3s;
    opacity: 0.08;
}

.glow-bottom {
    bottom: 8%;
    left: 15%;
    width: 400px;
    height: 400px;
    background: #FF6600; /* Primary orange */
    animation-duration: 15s;
    animation-delay: -6s;
    opacity: 0.1;
}

@keyframes floatGlow {
    0% { transform: translateY(0) scale(1); opacity: 0.1; }
    100% { transform: translateY(30px) scale(1.1); opacity: 0.18; }
}

/* 2. Glassmorphic Navigation Bar */
.public-body .public-navbar {
    background: rgba(7, 11, 20, 0.4) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
    padding: 0 4rem !important;
    height: 80px !important;
}

.public-body .public-navbar .nav-links a {
    position: relative;
    padding: 6px 0;
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.public-body .public-navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.public-body .public-navbar .nav-links a:hover {
    color: #fff !important;
}

.public-body .public-navbar .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* 3. Global Public Glass Card Enhancements */
.public-body .card,
.public-body .category-card,
.public-body .pricing-card,
.public-body .blog-card,
.public-body .platform-card,
.public-body .hlydo-player-wrapper,
.public-body #faq > div {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
    border-radius: 24px !important;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

/* Subtle light border highlight gradient overlay */
.public-body .card::before,
.public-body .category-card::before,
.public-body .pricing-card::before,
.public-body .blog-card::before,
.public-body .platform-card::before,
.public-body .hlydo-player-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

/* Hover glow & lift properties */
.public-body .card:hover,
.public-body .category-card:hover,
.public-body .pricing-card:hover,
.public-body .blog-card:hover,
.public-body .platform-card:hover {
    transform: translateY(-6px) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.55),
        0 0 30px var(--primary-glow-thick) !important;
}

/* 4. Glass Forms, Inputs and Checkboxes */
.public-body input,
.public-body select,
.public-body textarea,
.login-bg input,
.login-bg select,
.login-bg textarea {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.public-body input:focus,
.public-body select:focus,
.public-body textarea:focus,
.login-bg input:focus,
.login-bg select:focus,
.login-bg textarea:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px var(--primary-glow) !important;
}

/* 5. Standalone Login/Signup Glass Overrides */
.login-bg {
    background-color: #070B14 !important;
    background-image: 
        radial-gradient(circle at 50% -20%, rgba(255, 102, 0, 0.15), transparent 60%),
        radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.01), transparent 50%) !important;
    position: relative;
    overflow: hidden;
}

.login-bg .login-container {
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 28px !important;
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 0 40px var(--primary-glow) !important;
}

.login-bg .login-container::before {
    display: none !important; /* Hide original top accent line */
}

/* Glowing card outline */
.login-bg .login-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent, rgba(255, 255, 255, 0.03));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* 6. Buttons with Neon Glow */
.public-body .btn-primary,
.login-bg .btn-primary {
    background: var(--accent-gradient) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px var(--primary-glow) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.public-body .btn-primary:hover,
.login-bg .btn-primary:hover {
    filter: brightness(1.1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 
        0 15px 30px var(--primary-glow-thick),
        0 0 15px var(--primary-glow) !important;
}


/* 7. Secondary Glass Buttons */
.public-body .btn-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.public-body .btn-glass:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px) !important;
}
