/* EZWILL — Login / register / password reset */
body.ez-auth-page {
    background: #f4f6f9 !important;
}

.ez-auth {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.ez-auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(30, 58, 95, 0.08);
    overflow: hidden;
}

@media (min-width: 768px) {
    .ez-auth-grid {
        grid-template-columns: 1fr 1.1fr;
    }
}

.ez-auth-aside {
    background: linear-gradient(160deg, #1e3a5f 0%, #102a43 100%);
    color: #fff;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ez-auth-aside .ez-auth-logo {
    margin-bottom: 1.5rem;
}

.ez-auth-logo-image {
    height: 48px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.ez-auth-logo-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: #fff;
}

.ez-auth-aside h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.ez-auth-aside p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.ez-auth-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ez-auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.65rem;
}

.ez-auth-points svg {
    flex-shrink: 0;
    width: 1.1rem;
    height: 1.1rem;
    color: #e67e22;
    margin-top: 0.15rem;
}

.ez-auth-form {
    padding: 2.5rem 2rem;
}

@media (min-width: 576px) {
    .ez-auth-form {
        padding: 2.75rem 2.5rem;
    }
}

.ez-auth-form h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.35rem;
}

.ez-auth-form .ez-auth-lead {
    color: #64748b;
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
}

.ez-auth-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334e68;
    margin-bottom: 0.35rem;
    text-align: left;
}

.ez-auth-form .form-control {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
}

.ez-auth-form .form-control:focus {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

.ez-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.ez-auth-row a {
    color: #1e3a5f;
    font-weight: 500;
    text-decoration: none;
}

.ez-auth-row a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.ez-auth-remember {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    margin: 0;
    cursor: pointer;
}

.ez-auth-remember input {
    accent-color: #1e3a5f;
}

.ez-auth-submit {
    width: 100%;
    background: #e67e22;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.ez-auth-submit:hover {
    background: #d35400;
    color: #fff;
}

.ez-auth-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
}

.ez-auth-footer a {
    color: #1e3a5f;
    font-weight: 600;
    text-decoration: none;
}

.ez-auth-footer a:hover {
    color: #e67e22;
}

.ez-auth-trust {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.ez-auth .alert {
    text-align: left;
    font-size: 0.875rem;
    border-radius: 10px;
}

.ez-auth-form .form-check {
    cursor: pointer;
}

.ez-auth-form .form-check-input {
    cursor: pointer;
    pointer-events: auto;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
}

.ez-auth-form .form-check-label {
    cursor: pointer;
    pointer-events: auto;
    line-height: 1.5;
}

.ez-auth-submit {
    cursor: pointer;
    pointer-events: auto;
}

/* Trust badges — shared with register, login, review */
.ez-trust-badges__list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.ez-trust-badges__list li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #334e68;
}

.ez-trust-badges__dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: #e67e22;
    flex-shrink: 0;
}

.ez-trust-badges__note {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #64748b;
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: #f0f4f8;
    border-radius: 8px;
    border-left: 3px solid #1e3a5f;
}

.ez-trust-badges__note strong {
    color: #1e3a5f;
}

.ez-trust-badges--aside .ez-trust-badges__list li {
    color: rgba(255, 255, 255, 0.92);
}

.ez-trust-badges--aside .ez-trust-badges__note {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #e67e22;
    color: rgba(255, 255, 255, 0.85);
}

.ez-trust-badges--aside .ez-trust-badges__note strong {
    color: #fff;
}

.ez-pdf-actions .ez-trust-badges {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
