/* ==========================================================================
   LDC branded auth pages — login, register, forgot/reset password,
   My Account (logged out), Tutor student/instructor registration.
   ========================================================================== */

.ldc-auth-card {
    position: relative;
    max-width: 440px;
    margin: 40px auto;
    padding: 32px 28px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ldc-auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #299E70, #1E869B);
}

.ldc-auth-card__logo {
    display: block;
    max-width: 180px;
    margin: 0 auto 20px;
}

.ldc-auth-card h2,
.ldc-auth-card h3 {
    color: #3F3A64;
    text-align: center;
    margin-top: 0;
}

.ldc-auth-card label {
    display: block;
    color: #3F3A64;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.ldc-auth-card label.inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

.ldc-auth-card input[type="text"],
.ldc-auth-card input[type="email"],
.ldc-auth-card input[type="password"],
.ldc-auth-card input.input,
.ldc-auth-card .woocommerce-Input,
.ldc-auth-card #tutor-registration-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #E2E5E9;
    border-radius: 8px;
    font-family: inherit;
}

.ldc-auth-card input:focus {
    outline: none;
    border-color: #1E869B;
    box-shadow: 0 0 0 3px rgba(30, 134, 155, 0.12);
}

.ldc-auth-card .input-checkbox {
    width: auto;
}

.ldc-auth-card .form-row,
.ldc-auth-card .woocommerce-form-row,
.ldc-auth-card .tutor-form-group {
    margin-bottom: 16px;
}

.ldc-auth-card .form-row.submit {
    margin-bottom: 0;
}

.ldc-auth-card .tutor-form-row {
    display: flex;
    gap: 16px;
}

.ldc-auth-card .tutor-form-col-6 {
    flex: 1;
    min-width: 0;
}

.ldc-auth-card input[type="submit"],
.ldc-auth-card button[type="submit"],
.ldc-auth-card .tutor-btn-primary {
    width: 100%;
    display: block;
    background: linear-gradient(90deg, #299E70, #1E869B);
    border: none;
    color: #fff !important;
    padding: 13px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    text-shadow: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
}

.ldc-auth-card input[type="submit"]:hover,
.ldc-auth-card button[type="submit"]:hover {
    opacity: 0.9;
}

.ldc-auth-card a {
    color: #1E869B;
}

.ldc-auth-card a:hover {
    color: #299E70;
}

.ldc-auth-card .event-wrapper-shortcode > p {
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
}

.ldc-auth-card .woocommerce-LostPassword {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .ldc-auth-card {
        margin: 20px 16px;
        padding: 24px 18px;
    }

    .ldc-auth-card .tutor-form-row {
        flex-direction: column;
        gap: 0;
    }
}
