/* EYE-EXTRACT - Style Initial Stable */

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: white;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hidden { display: none !important; }

/* Calibration */
#calibration-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: black;
    z-index: 10000;
}

.calib-point {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: red;
    border-radius: 50%;
    border: 4px solid white;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(255,0,0,0.8);
}

.calib-text {
    position: absolute;
    top: 50px;
    width: 100%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Grille */
.grid-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
    padding: 20px;
}

.cell {
    background-color: #1e293b;
    border: 3px solid #334155;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cell-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.cell.active { border-color: #3b82f6; background-color: #334155; }
.cell.selected { background-color: #10b981; }

.cell-icon { width: 110px; height: 110px; object-fit: contain; margin-bottom: 10px; }
.cell-label { font-size: 22px; font-weight: bold; }

.progress-bar { position: absolute; bottom: 0; left: 0; height: 10px; background-color: #3b82f6; width: 0%; }

.dead-zone-indicator { color: #9ca3af; font-size: 14px; }

/* Auth */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.auth-card {
    background-color: #1e293b;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.form-group { margin-bottom: 20px; }
.form-input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid #334155; background: #0f172a; color: white; font-size: 16px; }

.btn { padding: 12px 24px; border-radius: 8px; border: none; font-weight: bold; cursor: pointer; transition: all 0.2s; }
.btn-primary { background-color: #3b82f6; color: white; }
.btn-link { background: transparent; color: #3b82f6; text-decoration: underline; margin-top: 15px; display: inline-block; }

#status-bar { background: #0f172a; padding: 15px 30px; border-top: 1px solid #334155; display: flex; justify-content: space-between; }
#status-text { color: #10b981; font-weight: bold; }
