.authentication-bg-pattern {
    overflow-y: auto !important;
}

.authentication-bg-pattern::before,
.authentication-bg-pattern .floating-elements,
.authentication-bg-pattern .procurement-decoration,
.authentication-bg-pattern .procurement-decoration-2 {
    display: none !important;
}

.authentication-bg-pattern .account-pages {
    background: var(--eproc-color-surface-muted);
    padding: 1rem 0;
}

.eproc-auth-column {
    max-width: 500px;
}

.eproc-auth-card {
    background: var(--eproc-color-surface);
    border: 1px solid var(--eproc-color-border);
    border-radius: var(--eproc-radius-md);
    box-shadow: var(--eproc-shadow-lg);
    overflow: hidden;
    width: 100%;
}

.eproc-auth-hero {
    background: linear-gradient(135deg, var(--eproc-color-primary) 0%, var(--eproc-color-success) 100%);
    color: #ffffff;
    overflow: hidden;
    padding: 1.5rem;
    position: relative;
}

.eproc-auth-hero::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(243, 156, 18, 0.86), rgba(255, 255, 255, 0.55));
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
}

.eproc-auth-brand {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.eproc-auth-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--eproc-radius-md);
    display: inline-flex;
    flex: 0 0 64px;
    font-size: 1.8rem;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.eproc-auth-kicker {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    opacity: 0.84;
    text-transform: uppercase;
}

.eproc-auth-title {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0.15rem 0 0.35rem;
}

.eproc-auth-copy {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.45;
    margin: 0;
}

.eproc-auth-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.eproc-auth-meta span {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--eproc-radius-md);
    display: inline-flex;
    font-size: 0.82rem;
    gap: 0.35rem;
    line-height: 1.2;
    padding: 0.4rem 0.6rem;
}

.eproc-auth-body {
    padding: 1.5rem;
}

.eproc-auth-form-title {
    margin-bottom: 1.15rem;
}

.eproc-auth-form-title h2 {
    color: var(--eproc-color-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.eproc-auth-form-title p {
    color: var(--eproc-color-muted);
    margin: 0;
}

.eproc-auth-field {
    margin-bottom: 1rem;
}

.eproc-auth-field .form-label,
.eproc-auth-card .form-check-label {
    color: var(--eproc-color-heading);
    font-size: 0.88rem;
    font-weight: 800;
}

.eproc-auth-card .form-control {
    background: var(--eproc-color-surface);
    border: 1px solid var(--eproc-color-border-strong);
    border-radius: var(--eproc-radius-md);
    min-height: 44px;
}

.eproc-auth-card .form-control:focus {
    border-color: var(--eproc-color-primary);
    box-shadow: 0 0 0 0.2rem rgba(3, 120, 166, 0.12);
}

.eproc-auth-card .form-check-input {
    border-color: var(--eproc-color-border-strong);
}

.eproc-auth-card .form-check-input:checked {
    background-color: var(--eproc-color-primary);
    border-color: var(--eproc-color-primary);
}

.eproc-auth-submit,
.eproc-auth-secondary {
    align-items: center;
    border-radius: var(--eproc-radius-md);
    display: inline-flex;
    font-weight: 800;
    gap: 0.42rem;
    justify-content: center;
    min-height: 42px;
    width: 100%;
}

.eproc-auth-submit {
    background: var(--eproc-color-primary);
    border-color: var(--eproc-color-primary);
    color: #ffffff;
}

.eproc-auth-submit:hover {
    background: var(--eproc-color-primary-dark);
    border-color: var(--eproc-color-primary-dark);
    color: #ffffff;
}

.eproc-auth-secondary {
    border: 1px solid var(--eproc-color-border-strong);
    color: var(--eproc-color-heading);
}

.eproc-auth-secondary:hover {
    background: var(--eproc-color-surface-muted);
    border-color: var(--eproc-color-primary);
    color: var(--eproc-color-primary-dark);
}

.eproc-auth-footer {
    border-top: 1px solid var(--eproc-color-border);
    color: var(--eproc-color-muted);
    margin-top: 1.25rem;
    padding-top: 1rem;
    text-align: center;
}

.eproc-auth-footer a {
    color: var(--eproc-color-primary);
    font-weight: 800;
    text-decoration: none;
}

.eproc-auth-footer a:hover {
    color: var(--eproc-color-success-dark);
}

.eproc-auth-link-grid {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.eproc-auth-card .alert {
    border: 0;
    border-radius: var(--eproc-radius-md);
}

.eproc-auth-error {
    color: var(--eproc-color-danger);
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    margin-top: 0.4rem;
}

@media (max-width: 575.98px) {
    .eproc-auth-card {
        box-shadow: var(--eproc-shadow-md);
    }

    .eproc-auth-hero,
    .eproc-auth-body {
        padding: 1rem;
    }

    .eproc-auth-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .eproc-auth-icon {
        flex-basis: 56px;
        height: 56px;
        width: 56px;
    }
}
