
/* --- Authentication styles --- */
.alert-danger {
    background: #fee2e2;
    color: var(--danger-color);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    font-weight: 700;
}

.login-form .user-card {
    cursor: pointer;
    position: relative;
    user-select: none;
}

.card-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.user-card:has(.card-radio:checked) {
    border: 3px solid var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.password-section {
    margin-top: 2rem;
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.password-section label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 2px solid #e2e8f0;
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}
