form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    margin: 1rem;
}

@media (max-width: 480px) {
    form {
        padding: 1.5rem;
        box-shadow: none;
        border: none;
        background-color: transparent;
    }
}

form h1 {
    text-align: center;
    margin-bottom: 0.25rem;
}

form p.subtitle {
    text-align: center;
    margin: 0 0 1.5rem 0;
    color: var(--text-gray);
}

input {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    color: var(--text-white);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

input::placeholder {
    color: #4b5563;
}

.register-link, .login-link {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.form-logo {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 12px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
