@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700&display=swap');

:root {
    --primary-color: #00ffff;
    --secondary-color: #0077ff;
    --panel-bg: rgba(15, 20, 35, 0.75);
    --input-bg: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(0, 255, 255, 0.2);
    --text-main: #ffffff;
    --text-muted: #9aa4b2;
    --text-label: #c7d2fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body {
    background-color: #020342;
    background: linear-gradient(135deg, #020342, #0b0c10);
    color: var(--text-main);
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 119, 255, 0.2), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 8s infinite ease-in-out;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden { display: none !important; }

.screen {
    width: 100%;
    height: 100vh;
}

#auth-screen {
    display: flex;
    justify-content: center;
    align-items: center;
}

#auth-form {
    width: 420px;
    padding: 40px;
    border-radius: 25px;
    background: var(--panel-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15), 0 0 60px rgba(0, 255, 255, 0.08);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

h2 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 28px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.subtitle {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 30px;
}

.input-box {
    text-align: left;
    margin-bottom: 20px;
}

.input-box label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-label);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-box input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    background: var(--input-bg);
    color: var(--text-main);
    outline: none;
    transition: 0.3s ease;
}

.input-box input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.input-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
    transform: scale(1.01);
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.4s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) sepia(1) saturate(5) hue-rotate(145deg);
    cursor: pointer;
}

@media (max-width: 500px) {
    #auth-form { width: 95%; padding: 25px; }
}



/* Responsividade para celular */
@media (max-width: 480px) {
    #auth-form {
        padding: 30px; /* Reduz o padding para ganhar espaço */
    }

    h2 {
        font-size: 24px; /* Diminui um pouco o título */
    }

    .subtitle {
        font-size: 11px;
    }
}