/* ============================================
   8bitedge Cookie Policy - Retro Gaming Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Electrolize&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
    --neon-cyan: #00d9ff;
    --neon-green: #00ff41;
    --neon-magenta: #ff00ff;
    
    --bg-card: #0f0f1e;
    --bg-darker: #1a1a2e;
    
    --border-cyan: #00d9ff;
    
    --text-primary: #ffffff;
    --text-secondary: #a5b4fc;
}

#auth-main-section {
    font-family: 'Electrolize', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1d35 100%);
    min-height: 100vh;
    padding: 20px 0 0 0;
}

.container {
    max-width: 100%;
    margin: 0 !important;
    padding: 0 20px 40px 20px !important;
    width: 100%;
}

.row {
    margin: 0 !important;
}

/* Hero Section - Retro Gaming Style */
.cookies-hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 4px solid #00ff41;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 60px rgba(0, 255, 65, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 180px;
    padding: 2rem;
    border-radius: 0;
    margin-bottom: 40px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}

.hero-gradient {
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 65, 0.03) 0px,
        transparent 2px,
        transparent 4px,
        rgba(0, 255, 65, 0.03) 6px
    );
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.05) 50%, transparent 100%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 0, 255, 0.02) 0px,
            transparent 2px,
            transparent 4px,
            rgba(255, 0, 255, 0.02) 6px
        );
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-headline {
    font-family: 'Electrolize', 'Courier New', monospace;
    font-size: 2rem;
    color: #00ff41;
    text-shadow: 
        2px 2px 0px #ff00ff,
        4px 4px 0px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(0, 255, 65, 0.5);
    margin: 0;
    letter-spacing: 2px;
}

.hero-subtext {
    font-family: 'Electrolize', 'Courier New', monospace;
    font-size: 1rem;
    color: #00d9ff;
    text-shadow: 
        1px 1px 0px #ff00ff,
        0 0 8px rgba(0, 217, 255, 0.6);
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-subtext::before {
    content: '> ';
    color: #ff00ff;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Pixel corner decorations */
.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #ff00ff;
}

.hero-content::before {
    top: -1rem;
    left: -1rem;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.hero-content::after {
    bottom: -1rem;
    right: -1rem;
    border-left: none;
    border-top: none;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Main Content Card - Single Container */
.col-lg-12 {
    background: var(--bg-card);
    border: 2px solid var(--border-cyan);
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    padding: 3rem;
    margin-bottom: 2rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.col-lg-12 > div {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0;
}

/* Main Title */
h1 {
    color: var(--neon-cyan) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
    margin-bottom: 2rem !important;
    font-size: 2.5rem !important;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-cyan);
    font-family: 'Electrolize', sans-serif;
}

/* Section Headers */
.heading_1,
[data-custom-class="heading_1"] {
    color: var(--neon-cyan) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.5rem !important;
    display: block;
    font-family: 'Electrolize', sans-serif;
}

.heading_2,
[data-custom-class="heading_2"] {
    color: var(--neon-green) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.6);
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.25rem !important;
    display: block;
    font-family: 'Electrolize', sans-serif;
}

/* Body Text */
.body_text,
[data-custom-class="body_text"] {
    color: var(--text-primary) !important;
    line-height: 1.8 !important;
    font-size: 1rem !important;
    font-family: 'Electrolize', sans-serif;
}

.subtitle,
[data-custom-class="subtitle"] {
    color: var(--text-secondary) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    font-family: 'Electrolize', sans-serif;
}

.title,
[data-custom-class="title"] {
    color: var(--neon-cyan) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.8);
}

/* Links */
.link,
a[data-custom-class="link"],
a {
    color: var(--neon-cyan) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.4);
    font-weight: 600;
}

.link:hover,
a[data-custom-class="link"]:hover,
a:hover {
    color: var(--neon-green) !important;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

/* Lists */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.8;
}

ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

ul li[data-custom-class="body_text"] {
    color: var(--text-primary) !important;
}

/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: #1a1a2e;
}

table td,
table th {
    border: 2px solid var(--border-cyan) !important;
    padding: 1rem !important;
    color: var(--text-primary) !important;
}

table th {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
}

table tbody tr:hover {
    background: rgba(0, 217, 255, 0.1);
}

/* Paragraphs and Divs */
div[style*="line-height"] {
    margin-bottom: 1rem;
}

p {
    color: var(--text-primary);
    line-height: 1.8;
}

/* Strong/Bold Text */
strong {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 217, 255, 0.4);
}

em {
    color: var(--text-secondary);
    font-style: italic;
}

/* Special Highlights */
.question,
[class*="question"],
.bdt.question {
    color: var(--neon-cyan) !important;
    font-weight: 600;
}

.block-component,
.statement-end-if-in-editor,
.else-block,
.forloop-component,
.block-container,
bdt {
    display: none;
}

/* Dividers */
hr {
    border: none;
    height: 2px;
    background: var(--neon-cyan);
    margin: 2rem 0;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookies-hero-section {
        min-height: 140px;
        padding: 1.5rem;
    }
    
    .hero-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .hero-headline {
        font-size: 1.25rem;
    }
    
    .hero-subtext {
        font-size: 0.875rem;
    }

    .col-lg-12 {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    .heading_1,
    [data-custom-class="heading_1"] {
        font-size: 1.25rem !important;
    }
    
    .heading_2,
    [data-custom-class="heading_2"] {
        font-size: 1.1rem !important;
    }
    
    table {
        font-size: 0.875rem;
    }
    
    table td,
    table th {
        padding: 0.5rem !important;
    }
}

/* Scrollbar */
#auth-main-section::-webkit-scrollbar {
    width: 10px;
}

#auth-main-section::-webkit-scrollbar-track {
    background: #1a1a2e;
    border-radius: 0;
}

#auth-main-section::-webkit-scrollbar-thumb {
    background: #00d9ff;
    border-radius: 0;
}

#auth-main-section::-webkit-scrollbar-thumb:hover {
    background: #00ff41;
}