/*
 * auth.css — overrides for /login, /register, /forgot-password, /reset-password, /verify-email.
 * Builds on landing.css from public/marketing/landing/assets/css.
 *
 * Goal: keep visual parity with ee-trader.live / workspace.ee-trading.net auth screens
 * while exposing Laravel-specific states (validation errors, success messages, csrf input).
 */

.auth-error-list {
    background: #fdeaea;
    border: 1px solid #f5c2c2;
    color: #8c2424;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.45;
}

.auth-error-list ul {
    margin: 0;
    padding-left: 18px;
}

.auth-status {
    background: #e7f5ec;
    border: 1px solid #b8e0c4;
    color: #1f6c3a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
}

.form-group .error {
    display: block;
    color: #c0392b;
    font-size: 12.5px;
    font-weight: 500;
    margin-top: 4px;
}

.form-group input.is-invalid,
.form-group select.is-invalid {
    border-color: #c0392b !important;
    background-color: #fff5f5;
}

.form-group select {
    width: 100%;
    height: 54px;
    padding: 10px 15px;
    border-radius: 5px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: #333;
    appearance: auto;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select:focus {
    border-color: #1474c4;
    box-shadow: 0 0 0 3px rgba(20, 116, 196, 0.12);
}

.form-group label {
    font-weight: 600;
    color: #152838;
    font-size: 14px;
}

.login-form-wrap {
    box-shadow: 0 18px 40px rgba(21, 40, 56, 0.08);
    border-radius: 14px;
    background: #ffffff;
}

.login-header {
    padding: 28px 30px 0;
    text-align: center;
}

.login-header h3 {
    color: #152838;
    font-weight: 700;
    margin: 0;
}

.login-form .login-body {
    padding: 0 30px 30px;
}

.login-form .form-wrap .row > [class^="col-"] {
    margin-bottom: 14px;
}

.login-form .btn.style1.m-submit {
    width: 100%;
    justify-content: center;
}

.login-form .form-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 14px;
    font-size: 14px;
}

.login-form .form-extra a {
    color: #1060AE;
    text-decoration: none;
}

.login-form .form-extra a:hover {
    text-decoration: underline;
}

.login-form .form-check-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.login-form .form-check-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1060AE;
}

.login-form p.mb-0 a.link.style1 {
    color: #1060AE;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
}

.login-form p.mb-0 a.link.style1:hover {
    text-decoration: underline;
}

.auth-secondary-action {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
}

.auth-secondary-action button {
    background: none;
    border: none;
    padding: 0;
    color: #1060AE;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

@media (max-width: 575px) {
    .login-form .login-body {
        padding: 0 18px 24px;
    }
    .login-header {
        padding: 22px 20px 0;
    }
}
