@charset "UTF-8";
:root {
    --auth-teal: #14f1d9;
    --auth-teal-deep: #0d8577;
    --auth-navy-0: #060d16;
    --auth-navy-1: #0a1524;
    --auth-navy-2: #0d1b2c;
    --auth-text: rgba(255, 255, 255, .82);
    --auth-text-muted: rgba(255, 255, 255, .55);
}

.page-auth,
.page-auth body {
    background: var(--auth-navy-1);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.page-auth .container-login100 {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(20, 241, 217, .10), transparent 38%),
    radial-gradient(circle at 85% 80%, rgba(20, 241, 217, .07), transparent 40%),
    linear-gradient(135deg, var(--auth-navy-0) 0%, var(--auth-navy-2) 55%, #08111d 100%);
}

.page-auth .container-login100::before,
.page-auth .container-login100::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    animation: authBlobFloat 9s ease-in-out infinite;
}

.page-auth .container-login100::before {
    width: 260px;
    height: 260px;
    top: 8%;
    left: 8%;
    background: rgba(20, 241, 217, .12);
}

.page-auth .container-login100::after {
    width: 320px;
    height: 320px;
    bottom: 8%;
    right: 8%;
    background: rgba(13, 133, 119, .18);
    animation-delay: -4.5s;
}

@keyframes authBlobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(14px, -10px) scale(1.08);
    }
}

/* ---------- КАРТОЧКА ФОРМЫ ---------- */
.page-auth .wrap-login100 {
    position: relative;
    z-index: 1;
    width: 1040px;
    max-width: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, .08);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 42px 48px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .55),
    0 10px 30px rgba(0, 0, 0, .35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: authCardIn .5s ease both;
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- ЛЕВАЯ ПАНЕЛЬ С ЛОГОТИПОМ ---------- */
.page-auth .login100-pic {
    width: 46%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 24px 10px 8px;
    position: relative;
}

.page-auth .login100-pic::before {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 30%, rgba(20, 241, 217, .07), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .015));
    border: 1px solid rgba(255, 255, 255, .07);
    z-index: -1;
}

.page-auth .login100-pic a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(145deg, #101e30, #0c1929);
    border: 1px solid rgba(20, 241, 217, .30);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .40),
    inset 0 4px 12px rgba(255, 255, 255, .04);
    padding: 16px;
}

.page-auth .login100-pic a::before,
.page-auth .login100-pic a::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(20, 241, 217, .35);
    animation: authLogoPulse 2.8s ease-out infinite;
    pointer-events: none;
}

.page-auth .login100-pic a::after {
    animation-delay: 1.4s;
}

@keyframes authLogoPulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.page-auth .login100-pic img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 6px 16px rgba(20, 241, 217, .25));
}

.page-auth .login-brand-title {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin-top: 4px;
}

.page-auth .login-brand-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--auth-text-muted);
    text-align: center;
    max-width: 360px;
    line-height: 1.6;
}

.page-auth .login-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 241, 217, .10);
    color: var(--auth-teal);
    border: 1px solid rgba(20, 241, 217, .28);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ---------- ФОРМА ---------- */
.page-auth .login100-form {
    width: 42%;
    padding-left: 12px;
}

.page-auth .login100-form-title {
    display: block;
    width: 100%;
    margin-bottom: 28px;
    padding-bottom: 0;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
    text-align: left;
}

.page-auth .login100-form-subtitle {
    display: block;
    margin-top: -16px;
    margin-bottom: 26px;
    font-size: 14px;
    color: var(--auth-text-muted);
    font-weight: 600;
}

/* ---------- ПОЛЯ ВВОДА ---------- */
.page-auth .wrap-input100 {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
    z-index: 1;
    transition: transform .2s ease;
}

.page-auth .input100 {
    display: block;
    width: 100%;
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid rgba(255, 255, 255, .12);
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    padding: 0 52px 0 56px;
    transition: all .22s ease;
    outline: none !important;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.page-auth .input100::placeholder {
    color: rgba(255, 255, 255, .35);
    font-weight: 500;
}

.page-auth .input100:focus,
.page-auth .input100:active {
    background: rgba(255, 255, 255, .07);
    border-color: rgba(20, 241, 217, .45) !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(20, 241, 217, .14),
    0 8px 20px rgba(20, 241, 217, .10);
    transform: translateY(-1px);
    animation: authInputPulse .35s ease;
}

@keyframes authInputPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(20, 241, 217, .28);
    }
    100% {
        box-shadow: 0 0 0 6px rgba(20, 241, 217, 0);
    }
}

.page-auth .focus-input100 {
    display: none;
}

.page-auth .symbol-input100 {
    position: absolute;
    inset: 0 auto 0 0;
    width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--auth-text-muted);
    pointer-events: none;
    font-size: 15px;
    transition: all .2s ease;
}

.page-auth .wrap-input100:focus-within .symbol-input100 {
    color: var(--auth-teal);
    transform: scale(1.05);
}

.page-auth #id_email.input100 {
    padding-right: 18px;
}

/* глазик показать/скрыть пароль */
.page-auth .glaz {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(20, 241, 217, .10);
    color: var(--auth-teal);
    cursor: pointer;
    z-index: 3;
    pointer-events: auto;
    transition: all .2s ease;
}

.page-auth .glaz:hover {
    background: rgba(20, 241, 217, .18);
    transform: translateY(-50%) scale(1.05);
}

.page-auth .fa-eye {
    display: block;
}

.page-auth .fa-eye-slash {
    display: none;
}

/* ---------- ОБЩЕЕ УВЕДОМЛЕНИЕ (из main.css) ---------- */
.page-auth .alert-message {
    margin: 8px 0 6px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .25);
    color: #ff9b9b;
    font-weight: 700;
    text-align: left;
    font-size: 13px;
    line-height: 1.5;
}

.page-auth .alert-message i {
    margin-right: 8px;
}

/* ---------- КНОПКА ОТПРАВКИ ---------- */
.page-auth .container-login100-form-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 12px;
}

.page-auth .login100-form-btn {
    position: relative;
    width: 100%;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #07131e;
    background: linear-gradient(135deg, var(--auth-teal-deep), var(--auth-teal));
    box-shadow: 0 14px 30px rgba(20, 241, 217, .22);
    transition: all .22s ease;
    border: none;
    outline: none;
    text-decoration: none;
    overflow: hidden;
}

/* лёгкий блик-шиммер, пробегающий по кнопке при наведении */
.page-auth .login100-form-btn::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}

.page-auth .login100-form-btn:hover::before {
    left: 130%;
}

.page-auth .login100-form-btn:hover:not(:disabled) {
    color: #07131e;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(20, 241, 217, .30);
    filter: brightness(1.04);
}

.page-auth .login100-form-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.page-auth .login100-form-btn:disabled::before {
    display: none;
}

/* ---------- ССЫЛКИ ПОД ФОРМОЙ ---------- */
.page-auth .login-links {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.page-auth .login-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--auth-text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
    text-align: center;
    text-decoration: none;
}

.page-auth .login-links a:hover {
    color: var(--auth-teal);
    transform: translateY(-1px);
}

/* ---------- ИНФО / ОШИБКИ ФОРМЫ (были инлайновыми на каждой странице) ---------- */
.page-auth .form-errors {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.page-auth .error-message {
    margin: 2px 0 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .25);
    color: #ff9b9b;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.page-auth .success-note,
.page-auth .info-card {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(20, 241, 217, .08);
    border: 1px solid rgba(20, 241, 217, .18);
    color: #9beee2;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* ---------- СТАТУС-КАРТОЧКИ: успех / недействительная ссылка ---------- */
.page-auth .status-card,
.page-auth .invalid-card {
    position: relative;
    margin: 12px 0 18px;
    padding: 20px;
    border-radius: 18px;
    text-align: left;
}

.page-auth .status-card {
    background: rgba(34, 197, 94, .10);
    border: 1px solid rgba(34, 197, 94, .24);
    color: #bdf5d2;
}

.page-auth .invalid-card {
    background: rgba(239, 68, 68, .10);
    border: 1px solid rgba(239, 68, 68, .26);
    color: #ffcbcb;
}

.page-auth .status-card .status-icon,
.page-auth .invalid-card .status-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
}

.page-auth .status-card .status-icon {
    background: rgba(34, 197, 94, .18);
    color: #4ade80;
}

.page-auth .status-card .status-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    animation: authStatusPulse 2.2s ease-out infinite;
}

@keyframes authStatusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, .45);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.page-auth .invalid-card .status-icon {
    background: rgba(239, 68, 68, .18);
    color: #f87171;
}

.page-auth .status-card h4,
.page-auth .invalid-card h4 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.page-auth .status-card p,
.page-auth .invalid-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 600;
    color: inherit;
}

.page-auth .status-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
}

.page-auth .status-list li {
    margin-bottom: 6px;
}

/* ---------- ФОКУС/АУТЛАЙН ---------- */
.page-auth input,
.page-auth input:focus,
.page-auth input:active,
.page-auth button,
.page-auth button:focus,
.page-auth button:active {
    outline: none !important;
}

@media (max-width: 992px) {
    .page-auth .wrap-login100 {
        padding: 28px;
        gap: 24px;
    }

    .page-auth .login100-pic {
        width: 100%;
        padding: 20px;
    }

    .page-auth .login100-form {
        width: 100%;
        padding-left: 0;
    }

    .page-auth .login100-pic a {
        width: 170px;
        height: 170px;
    }

    .page-auth .login100-form-title {
        text-align: center;
        font-size: 28px;
    }

    .page-auth .login100-form-subtitle {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .page-auth .container-login100 {
        padding: 14px;
    }

    .page-auth .wrap-login100 {
        padding: 18px;
        border-radius: 22px;
    }

    .page-auth .login100-pic {
        padding: 16px;
    }

    .page-auth .login100-pic a {
        width: 140px;
        height: 140px;
    }

    .page-auth .login-brand-title {
        font-size: 22px;
    }

    .page-auth .login100-form-title {
        font-size: 24px;
    }

    .page-auth .input100 {
        height: 54px;
        border-radius: 14px;
    }

    .page-auth .login100-form-btn {
        height: 54px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-auth .container-login100::before,
    .page-auth .container-login100::after,
    .page-auth .login100-pic a::before,
    .page-auth .login100-pic a::after,
    .page-auth .status-card .status-icon::after,
    .page-auth .wrap-login100 {
        animation: none;
    }
}

.page-auth .alert-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 14px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(239, 68, 68, .12);
    border: 1px solid rgba(239, 68, 68, .25);
    color: #ff9b9b;
    font-weight: 700;
    text-align: center;
    font-size: 13px;
}

.page-auth .form-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.page-auth .form-row .wrap-input100 {
    flex: 1;
    min-width: 40%;
}

.page-auth .field-hint-error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff8f8f;
    font-size: 13px;
    font-weight: 700;
}

.page-auth .field-hint-error i {
    font-size: 15px;
}

.page-auth .custom-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--auth-text-muted);
    pointer-events: none;
    transition: color .2s ease;
}

.page-auth .wrap-input100:focus-within .custom-arrow {
    color: var(--auth-teal);
}

.page-auth select.input100 {
    cursor: pointer;
    color: #ffffff;
}

.page-auth select.input100 option {
    background-color: #101e30;
    color: rgba(255, 255, 255, .85);
}

.page-auth select.input100:invalid,
.page-auth select.input100 option[value=""] {
    color: rgba(255, 255, 255, .40);
}

.page-auth .input-valid {
    border: 2px solid #22c55e !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .12) !important;
}

.page-auth .input-invalid {
    border: 2px solid #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .12) !important;
}

.page-auth .input-status {
    position: absolute;
    right: 38px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
}

.page-auth .input-status.ok {
    color: #4ade80;
}

.page-auth .input-status.error {
    color: #f87171;
}

.page-auth .input-icon {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    transition: color .2s ease, transform .2s ease;
}

.page-auth .input-icon.ok {
    color: #4ade80;
    animation: authFieldPop .25s ease;
}

.page-auth .input-icon.error {
    color: #f87171;
    animation: authFieldPop .25s ease;
}

@keyframes authFieldPop {
    0% {
        transform: translateY(-50%) scale(.6);
        opacity: 0;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

.page-auth .progress-bar-wrap {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-auth .progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--auth-teal-deep), var(--auth-teal));
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(20, 241, 217, .45);
    transition: width .3s ease;
}

@media (max-width: 949px) {
    .page-auth .wrap-login100 {
        flex-direction: column;
    }

    .page-auth .login100-pic {
        justify-content: center;
    }
}


.page-auth input.input100:-webkit-autofill,
.page-auth input.input100:-webkit-autofill:hover,
.page-auth input.input100:-webkit-autofill:focus,
.page-auth input.input100:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset !important;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

.page-auth input.input100:-webkit-autofill.input-valid {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset, 0 0 0 2px #22c55e inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset, 0 0 0 2px #22c55e inset !important;
}

.page-auth input.input100:-webkit-autofill.input-invalid {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset, 0 0 0 2px #ef4444 inset !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset, 0 0 0 2px #ef4444 inset !important;
}

.page-auth input.input100:autofill {
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, .05) inset !important;
    caret-color: #ffffff;
}

.page-auth select.input100 {
    background-color: rgba(255, 255, 255, .05) !important;
}