body {
    background: #f1f1f3;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.card {
    display: flex;
    background: #2c2738;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44, 39, 56, 0.2);
    overflow: hidden;
    width: 800px;
    max-width: 95vw;
}

.card-image {
    background: url('./security-otp-one-time-password-smartphone-shield_9904-104.jpg') center/cover no-repeat;
    width: 350px;
    min-height: 500px;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.card-image .logo {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.card-image .caption {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.card-form {
    flex: 1;
    padding: 48px 32px;
    background: #2c2738;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-form h2 {
    color: #fff;
    margin-bottom: 8px;
}

.card-form p {
    color: #bdb7d2;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    color: #bdb7d2;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: block;
}

input[type="email"], input[type="text"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #423a57;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 8px;
}

button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #7c5dfa;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
}

button:hover {
    background: #6a4bd8;
}

#reset-btn {
    background: #423a57;
    color: #bdb7d2;
    margin-top: 8px;
}

#result {
    color: #ffb4b4;
    margin-bottom: 12px;
    min-height: 24px;
}

@media (max-width: 900px) {
    .card {
        flex-direction: column;
        width: 95vw;
    }

    .card-image {
        width: 100%;
        min-height: 200px;
    }
}