/* Auth — layout inspirado em split panel moderno */
:root {
    --agentry-brand: #563AF7;
    --agentry-brand-hover: #4529e6;
    --agentry-brand-soft: rgba(86, 58, 247, 0.15);
    --agentry-brand-ring: rgba(86, 58, 247, 0.2);
}

.agentry-auth-page {
    margin: 0;
    min-height: 100vh;
    background: #f8fafc;
    font-family: "Golos Text", sans-serif;
}

.agentry-auth {
    display: flex;
    min-height: 100vh;
}

.agentry-auth__brand {
    flex: 1 1 50%;
    display: none;
    background: linear-gradient(145deg, #0b1220 0%, #1a1033 45%, #563AF7 180%);
    color: #f8fafc;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.agentry-auth__brand::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(86, 58, 247, 0.28), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(86, 58, 247, 0.16), transparent 35%);
    pointer-events: none;
}

.agentry-auth__brand-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.agentry-auth__logo img {
    height: 40px;
    width: auto;
}

.agentry-auth__hero {
    margin-top: 4rem;
}

.agentry-auth__hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #fff;
}

.agentry-auth__hero h1 span {
    color: var(--agentry-brand);
}

.agentry-auth__hero p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(248, 250, 252, 0.78);
    max-width: 420px;
}

.agentry-auth__features {
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.agentry-auth__features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.agentry-auth__feature-mark {
    flex-shrink: 0;
    min-width: 44px;
    height: 44px;
    padding: 0 0.35rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1;
    color: var(--agentry-brand);
    background: var(--agentry-brand-soft);
}

.agentry-auth__feature-body {
    min-width: 0;
}

.agentry-auth__features strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.15rem;
}

.agentry-auth__feature-desc {
    display: block;
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.65);
    line-height: 1.4;
}

.agentry-auth__copyright {
    margin-top: auto;
    padding-top: 3rem;
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.45);
}

.agentry-auth__panel {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.agentry-auth__panel-inner {
    width: 100%;
    max-width: 420px;
}

.agentry-auth-form__header {
    margin-bottom: 2rem;
}

.agentry-auth-form__header h2 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
}

.agentry-auth-form__header p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

.agentry-auth-form .form-label {
    font-weight: 500;
    color: #334155;
    font-size: 0.875rem;
}

.agentry-auth-form .form-control {
    border-radius: 10px;
    border-color: #e2e8f0;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
}

.agentry-auth-form .form-control:focus {
    border-color: var(--agentry-brand);
    box-shadow: 0 0 0 0.2rem var(--agentry-brand-ring);
}

.agentry-auth-form .form-check-input:checked {
    background-color: var(--agentry-brand);
    border-color: var(--agentry-brand);
}

.agentry-auth-form .form-check-input:focus {
    border-color: var(--agentry-brand);
    box-shadow: 0 0 0 0.2rem var(--agentry-brand-ring);
}

.agentry-auth-form .btn-primary {
    background-color: var(--agentry-brand);
    border-color: var(--agentry-brand);
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1rem;
}

.agentry-auth-form .btn-primary:hover,
.agentry-auth-form .btn-primary:focus,
.agentry-auth-form .btn-primary:active {
    background-color: var(--agentry-brand-hover);
    border-color: var(--agentry-brand-hover);
    color: #fff;
}

.agentry-auth-form__link {
    color: var(--agentry-brand);
    text-decoration: none;
    font-weight: 500;
}

.agentry-auth-form__link:hover {
    color: var(--agentry-brand-hover);
    text-decoration: underline;
}

.f-s-13 {
    font-size: 0.8125rem;
}

.f-s-14 {
    font-size: 0.875rem;
}

.text-secondary {
    color: #64748b !important;
}

.agentry-auth-form__footer {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.agentry-auth-form__password-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.agentry-auth-form__password-row .form-label {
    margin-bottom: 0;
}

.agentry-auth-form__password-row + .form-control,
.agentry-auth-form__password-row ~ input.form-control {
    margin-top: 0.5rem;
}

.agentry-auth-form__password-wrap {
    position: relative;
}

.agentry-auth-form__password-wrap .form-control {
    padding-right: 2.75rem;
}

.agentry-auth-form__password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
}

.agentry-auth-form__password-toggle:hover {
    color: var(--agentry-brand);
}

.agentry-auth__mobile-logo {
    display: block;
    margin-bottom: 2rem;
}

.agentry-auth__mobile-logo img {
    height: 32px;
    width: auto;
}

@media (min-width: 992px) {
    .agentry-auth__brand {
        display: flex;
    }

    .agentry-auth__mobile-logo {
        display: none;
    }
}

@media (max-width: 991px) {
    .agentry-auth__panel {
        flex: 1 1 100%;
    }
}
