* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #1a1a2e;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    background: #16213e;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

h1 {
    color: #e94560;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.code-inputs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.code-inputs input {
    width: 60px;
    height: 70px;
    font-size: 2rem;
    text-align: center;
    border: 2px solid #0f3460;
    border-radius: 12px;
    background: #0f3460;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    caret-color: #e94560;
}

.code-inputs input:focus {
    border-color: #e94560;
    background: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.2);
}

.code-inputs input.filled {
    border-color: #e94560;
    background: #1a1a2e;
}

.code-inputs input.error {
    border-color: #ff4757;
    animation: shake 0.4s ease;
}

.error-msg {
    color: #ff4757;
    font-size: 0.9rem;
    min-height: 1.2rem;
    margin-top: 0.5rem;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
