/* Страница входа Tec Passport: карточка в духе экрана входа портала
   (прототип task/education/PROTOTYPE.html), токены — theme/tecel/scss/variables.scss. */

.auth-tecauth-login #page {
    background: #222534;   /* $tecel-dark-900 */
}

.tecauth-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
}

.tecauth-card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    padding: 40px 48px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
}

.tecauth-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212121;   /* $tecel-ink */
    margin: 0 0 24px;
}

.tecauth-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #0985e5 url('pix/logo.svg') center/44px no-repeat, #0985e5;
}

.tecauth-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #64707a;   /* $tecel-text-muted */
    min-height: 48px;
}

.tecauth-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e5e8;
    border-top-color: #0985e5;
    border-radius: 50%;
    animation: tecel-spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes tecel-spin {
    to { transform: rotate(360deg); }
}

.tecauth-error {
    margin-top: 8px;
    color: #d24a41;   /* $tecel-error */
    min-height: 24px;
}

/* Заглушка «Нужен статус ПРОФИ» (denied.php). */
.tecauth-denied-body {
    color: #3c4d61;             /* $tecel-text */
    font-size: .9375rem;
    line-height: 1.6;
    text-align: left;
}

.auth-tecauth-denied .tecauth-card {
    max-width: 480px;
}
/* Заглушка «Нужен статус ПРОФИ» (denied.php). */
.tecauth-denied-body {
    color: #3c4d61;             /* $tecel-text */
    font-size: .9375rem;
    line-height: 1.6;
    text-align: left;
}

.auth-tecauth-denied .tecauth-card {
    max-width: 480px;
}

