/* Cyberpunk OTP Registration - v1 */

/* --- 1. FORCE RESET (Crucial) --- */
.cyber-wrapper h1, .cyber-wrapper h2, .cyber-wrapper h3, .cyber-wrapper h4, 
.cyber-wrapper h5, .cyber-wrapper input, .cyber-wrapper button, .cyber-wrapper label {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0;
}

/* --- 2. Variables --- */
:root {
    --cyber-bg: #e2e8f0;
    --cyber-glass: rgba(255, 255, 255, 0.85);
    --cyber-border: rgba(255, 255, 255, 0.9);
    --cyber-text: #0f172a;
    --cyber-text-muted: #64748b;
    --cyber-primary: #0891b2; /* Cyan */
    --cyber-accent: #db2777;  /* Pink */
    --cyber-success: #059669; /* Green */
    --cyber-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    --grid-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --cyber-bg: #020617;
    --cyber-glass: rgba(15, 23, 42, 0.9);
    --cyber-border: rgba(56, 189, 248, 0.2);
    --cyber-text: #f1f5f9;
    --cyber-text-muted: #94a3b8;
    --cyber-primary: #22d3ee;
    --cyber-accent: #f472b6;
    --cyber-success: #10b981;
    --cyber-shadow: 0 0 40px rgba(6, 182, 212, 0.15);
    --grid-color: rgba(34, 211, 238, 0.1);
}

/* --- 3. Wrapper --- */
.cyber-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    margin-top: 20px;
    background-color: var(--cyber-bg);
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    padding: 30px 15px;
    font-family: 'Rajdhani', sans-serif;
}

.cyber-console {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1000px;
    background: var(--cyber-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--cyber-border);
    box-shadow: var(--cyber-shadow);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    align-items: stretch;
}

/* Neon Top Border */
.cyber-console::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cyber-primary), var(--cyber-success));
    z-index: 10;
}

/* --- 4. Left Side: Info Panel --- */
.cyber-left {
    flex: 1;
    padding: 40px;
    border-right: 1px solid var(--cyber-border);
    position: relative;
    overflow-y: auto;
    max-height: 80vh;
}

.cyber-badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cyber-primary);
    border: 1px solid var(--cyber-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    background: rgba(6, 182, 212, 0.05);
}

/* Force Text Color for Imported HTML */
.cyber-info-content, .cyber-info-content * {
    color: var(--cyber-text) !important;
    background: transparent !important;
    border-color: var(--cyber-border) !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1.6;
}

/* --- 5. Right Side: Form --- */
.cyber-right {
    flex: 0 0 450px;
    padding: 50px 40px;
    background: rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cyber-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--cyber-text);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.cyber-subtitle {
    font-size: 13px;
    color: var(--cyber-text-muted);
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

/* --- 6. Inputs --- */
.cyber-group {
    margin-bottom: 20px;
}

.cyber-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyber-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

.cyber-input-wrapper {
    position: relative;
}

.cyber-input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyber-text-muted);
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
    z-index: 5;
}

.cyber-input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--cyber-border);
    color: var(--cyber-text);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
    height: 48px !important;
}

[data-theme="dark"] .cyber-input {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.15);
}

[data-theme="dark"] .cyber-input::placeholder {
    color: rgba(255,255,255,0.5);
    opacity: 1;
}

[data-theme="dark"] .cyber-input:focus {
    background: rgba(0, 0, 0, 0.3) !important; /* Darker background */
    color: black !important;                 /* Force PURE WHITE text */
    border-color: rgba(255, 255, 255, 0.15);
}

.cyber-input:focus {
    border-color: var(--cyber-primary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
    outline: none;
}

.cyber-input:focus + i {
    color: var(--cyber-primary);
}

/* --- 7. Buttons --- */
.btn-cyber {
    width: 100%;
    padding: 14px;
    background: var(--cyber-primary);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.2s;
    cursor: pointer;
    margin-top: 10px;
}

.btn-cyber:hover {
    background: var(--cyber-accent);
    color: #fff;
    box-shadow: 0 0 15px var(--cyber-accent);
}

.btn-cyber-outline {
    background: transparent;
    border: 1px solid var(--cyber-border);
    color: var(--cyber-text);
    margin-top: 10px;
    text-align: center;
    text-decoration: none;
    display: block;
}

.btn-cyber-outline:hover {
    border-color: var(--cyber-accent);
    color: var(--cyber-accent);
    background: rgba(255,255,255,0.05);
}

/* --- 8. Footer Links --- */
.cyber-footer-links {
    margin-top: 30px;
    text-align: center;
    font-size: 11px;
    opacity: 0.5;
}
.cyber-footer-links a { color: var(--cyber-text); text-decoration: underline; }

/* Mobile */
@media (max-width: 991px) {
    .cyber-console { flex-direction: column; }
    .cyber-left { border-right: none; border-bottom: 1px solid var(--cyber-border); padding: 30px; max-height: 300px; }
    .cyber-right { width: 100%; flex: none; padding: 30px; }
}