/* --- BASE STYLES --- */
body {
    background: #050505;
    color: #0ff;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

#fx-background {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.25) 50%), linear-gradient(90deg, rgba(255,0,0,0.04), rgba(0,255,0,0.02), rgba(0,0,255,0.04));
    z-index: -1;
    pointer-events: none;
}

/* --- HEADER --- */
#header-zone {
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}
.retro-title { margin: 0; font-size: 2.2rem; font-weight: bold; color: #fd0; letter-spacing: 4px; text-shadow: 0 0 10px #fc0, 0 0 20px #fa0; }
.retro-subtitle { margin: 5px 0 0; font-size: 0.85rem; color: #f0f; letter-spacing: 2px; text-shadow: 0 0 8px #f0f; }

/* --- CONTAINERS & PANELS --- */
#main-container {
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.neon-panel {
    background: rgba(0, 10, 20, 0.85);
    border: 1px solid #0ff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.15);
    padding: 25px 20px;
    width: 100%;
    box-sizing: border-box;
}

.panel-header {
    color: #0ff;
    text-align: center;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #0ff;
}

.welcome-msg {
    color: #aaa;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* --- FORMS & INPUTS --- */
#auth-form { display: flex; flex-direction: column; gap: 15px; }

.neon-input {
    background: rgba(0, 20, 20, 0.6);
    border: 1px solid #0ff;
    color: #fff;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
}
.neon-input:focus { box-shadow: 0 0 10px #0ff; }

.checkbox-row {
    color: #0f0;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.checkbox-row input { accent-color: #0f0; cursor: pointer; }

.action-row { display: flex; gap: 10px; margin-top: 10px; }

button {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    padding: 12px;
    flex: 1;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary { background: rgba(0, 255, 255, 0.1); border: 1px solid #0ff; color: #0ff; }
.btn-primary:hover { background: rgba(0, 255, 255, 0.3); box-shadow: 0 0 10px #0ff; }
.btn-secondary { background: rgba(255, 0, 255, 0.1); border: 1px solid #f0f; color: #f0f; }
.btn-secondary:hover { background: rgba(255, 0, 255, 0.3); box-shadow: 0 0 10px #f0f; }

#auth-status { margin-top: 15px; text-align: center; font-size: 0.85rem; font-weight: bold; min-height: 1.2em;}

/* --- DASHBOARD VIEW --- */
.hidden { display: none !important; }

.chart-mockup {
    background: #02050a;
    border: 1px solid #333;
    border-radius: 6px;
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.chart-header {
    background: rgba(0,255,255,0.1);
    color: #0ff;
    font-size: 0.7rem;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333;
}
.live-pulse { color: #f00; animation: pulse 1.5s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

.chart-body { position: relative; width: 100%; height: 100%; }
.mock-candle { position: absolute; width: 8px; bottom: 10%; border-radius: 2px;}
.mock-candle.red { background: #f00; box-shadow: 0 0 5px #f00; }
.mock-candle.green { background: #0f0; box-shadow: 0 0 5px #0f0; }
.mock-line { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.resource-links { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.btn-download { background: rgba(0, 255, 0, 0.1); border: 1px solid #0f0; color: #0f0; }
.btn-download:hover { box-shadow: 0 0 15px #0f0; }
.btn-guide { background: rgba(255, 170, 0, 0.1); border: 1px solid #fa0; color: #fa0; }
.btn-guide:hover { box-shadow: 0 0 15px #fa0; }

.btn-logout { background: transparent; border: 1px solid #f00; color: #f00; padding: 6px 12px; font-size: 0.7rem; margin-top: 20px; }