/* style.css - AXIOMA Visual Interface (Versão 2.0 - Dinâmica) */
:root {
    --primary: #00d4ff;
    --secondary: #00ff88;
    --error: #ff4444;
    --bg: #0a0a0b;
    --card: #151518;
}

body {
    background: var(--bg);
    color: #e0e0e0;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 80%);
}

.container {
    background: var(--card);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    border: 1px solid #222;
    transition: all 0.5s ease;
}

.container:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

h1 {
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 3px;
    margin: 0;
}

header p {
    font-size: 0.7rem;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.8;
}

label {
    font-size: 0.65rem;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

input[type="date"], .input-select {
    width: 100%;
    background: #1e1e22;
    border: 1px solid #333;
    color: white;
    padding: 12px;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
}

input[type="date"]:focus { border-color: var(--secondary); }

.integrity-box {
    background: rgba(0, 212, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
}

.scanner-bar {
    height: 4px;
    background: #000;
    border-radius: 2px;
    margin-top: 10px;
}

.scanner-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s;
}

.status-text { font-size: 0.6rem; color: var(--primary); font-weight: bold; }

.btn-choice {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    color: #bbb;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: 0.3s;
}

.btn-choice:hover {
    background: rgba(0, 212, 255, 0.1);
    color: white;
    border-color: var(--primary);
}

.btn-action {
    padding: 15px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: black;
    cursor: pointer;
    box-shadow: 0 0 15px var(--primary);
}

#btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Overlay de Loading */
#axioma-loading {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 11, 0.9);
    display: none; justify-content: center; align-items: center;
    z-index: 100; border-radius: 20px;
}
.spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(0, 212, 255, 0.1);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Animação suave para as transições de conteúdo */
.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }