:root {
    --color-navy: #032117;
    --color-yellow: #ecad0a;
    --color-blue: #209dd7;
    --color-purple: #753991;
    --color-gray: #888888;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: var(--color-navy);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: #ffffff;
    color: var(--color-navy);
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.card h1 {
    color: var(--color-navy);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
}

.tabs button {
    flex: 1;
    background: none;
    border: none;
    padding: 0.6rem;
    font-weight: 600;
    color: var(--color-gray);
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tabs button.active {
    color: var(--color-blue);
    border-bottom-color: var(--color-blue);
}

form {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

form.active {
    display: flex;
}

input {
    padding: 0.6rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

button[type="submit"] {
    background: var(--color-purple);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

.message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.message.error {
    color: #b00020;
}

.message.success {
    color: var(--color-blue);
}
