body {
    background-color: #071026;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #eef2f8;
}

.container {
    background: #061022;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    width: 400px;
    max-width: 90%;
    text-align: center;
}

h1 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #eef2f8;
}

.description {
    font-size: 1rem;
    margin-bottom: 0px;
    color: #9fb0c6;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.email-code {
    flex-direction: column;
    gap: 15px;
    display: none;
}

.password-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

input[type="email"],
[type="text"],
[type="password"] {
    padding: 12px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 1rem;
    background-color: #071026;
    color: #eef2f8;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: #7b3fb1;
    outline: none;
    box-shadow: 0 0 8px rgba(123, 63, 177, 0.18);
}

button {
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background-color: #7b3fb1;
    color: #eef2f8;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #5b2f9d;
}

button:active {
    background-color: #3e1a63;
}

button:disabled {
    background-color: transparent;
    color: rgba(238, 242, 248, 0.52);
    cursor: not-allowed;
    pointer-events: none;
    border: 1px solid rgba(123, 63, 177, 0.5);
    user-select: none;
}

.flash-container {
    margin-bottom: 20px;
    display: none;
}

.flash-message {
    background-color: #1c1f33;
    color: #eef2f8;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: fadeIn 0.4s ease-out;
    border-left: 4px solid #e74c3c;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.code-input {
    font-size: 1.5rem;
}

.logout-container {
    justify-content: left;
    text-align: left;
    display: flex;
    flex-direction: row;
}

.logout-container input {
    padding: 12px 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    background-color: #071026;
    color: #eef2f8;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 25px;
    }

    h1 {
        font-size: 22px;
    }

    input,
    button {
        font-size: 1rem;
        padding: 10px;
    }
}