/* Enerji Takip — Auth (Login / Şifremi Unuttum) — açık tema
 * Yazı tipi: uygulama geneli ile aynı (Inter — App.razor + Metronic). */
.et-auth {
    --et-ink: #152238;
    --et-muted: #5e6e85;
    --et-line: #dbe4f0;
    --et-surface: #ffffff;
    --et-soft: #f4f8fc;
    --et-cyan: #0ea5e9;
    --et-cyan-deep: #0284c7;
    --et-amber: #f5a524;
    --et-amber-hot: #ff8a00;
    --et-green: #17c653;
    --et-danger: #f1416c;
    --et-font: var(--app-font-family, Inter, Helvetica, "sans-serif");
    --et-display: var(--app-font-display, Inter, Helvetica, "sans-serif");

    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    font-family: var(--et-font);
    color: var(--et-ink);
    background:
        radial-gradient(ellipse 70% 50% at 8% 12%, rgba(14, 165, 233, 0.16), transparent 55%),
        radial-gradient(ellipse 55% 45% at 92% 88%, rgba(245, 165, 36, 0.14), transparent 50%),
        radial-gradient(ellipse 40% 35% at 70% 18%, rgba(23, 198, 83, 0.08), transparent 55%),
        linear-gradient(165deg, #fbfdff 0%, #eef5fb 48%, #f7fafc 100%);
    position: relative;
    overflow: hidden;
}

.et-auth h1,
.et-auth h2,
.et-auth h3,
.et-auth p,
.et-auth label,
.et-auth span,
.et-auth strong,
.et-auth a,
.et-auth .et-auth__brand-name,
.et-auth .et-auth__panel-title,
.et-auth .et-auth__card-title {
    color: inherit;
}

.et-auth__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.et-auth__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.75;
    animation: et-auth-orb-float 18s ease-in-out infinite;
}

.et-auth__orb--a {
    width: 28rem;
    height: 28rem;
    left: -8rem;
    top: -10rem;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35), rgba(14, 165, 233, 0) 68%);
    animation-duration: 22s;
}

.et-auth__orb--b {
    width: 22rem;
    height: 22rem;
    right: -6rem;
    bottom: -8rem;
    background: radial-gradient(circle, rgba(245, 165, 36, 0.32), rgba(245, 165, 36, 0) 70%);
    animation-duration: 26s;
    animation-delay: -6s;
}

.et-auth__orb--c {
    width: 16rem;
    height: 16rem;
    left: 42%;
    top: 55%;
    background: radial-gradient(circle, rgba(23, 198, 83, 0.18), rgba(23, 198, 83, 0) 70%);
    animation-duration: 20s;
    animation-delay: -3s;
}

.et-auth__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.14);
    box-shadow: inset 0 0 40px rgba(14, 165, 233, 0.05);
    animation: et-auth-ring-spin 48s linear infinite;
}

.et-auth__ring--a {
    width: 36rem;
    height: 36rem;
    right: -8rem;
    top: -12rem;
}

.et-auth__ring--b {
    width: 24rem;
    height: 24rem;
    left: -6rem;
    bottom: -8rem;
    border-color: rgba(245, 165, 36, 0.16);
    animation-direction: reverse;
    animation-duration: 60s;
}

/* Hafif kayan yıldızlar — mavi arka plan üzerinde */
.et-auth__star {
    position: absolute;
    width: 7rem;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(14, 165, 233, 0.05) 15%, rgba(255, 255, 255, 0.85) 48%, rgba(14, 165, 233, 0.35) 72%, transparent 100%);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.35);
    opacity: 0;
    transform: rotate(-28deg) translate3d(-20%, 0, 0);
    animation: et-auth-star-shoot 9s linear infinite;
    will-change: transform, opacity;
}

.et-auth__star::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    transform: translate(30%, -50%);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 10px 2px rgba(14, 165, 233, 0.55);
}

.et-auth__star--1 { top: 12%; left: 8%;  animation-duration: 8.5s; animation-delay: 0s; }
.et-auth__star--2 { top: 28%; left: 55%; animation-duration: 10s;  animation-delay: 2.2s; width: 5.5rem; }
.et-auth__star--3 { top: 48%; left: 18%; animation-duration: 11s;  animation-delay: 4.5s; width: 6.2rem; }
.et-auth__star--4 { top: 68%; left: 62%; animation-duration: 9.2s;  animation-delay: 1.1s; width: 4.8rem; }
.et-auth__star--5 { top: 82%; left: 30%; animation-duration: 12s;  animation-delay: 6.4s; width: 5.2rem; }

@keyframes et-auth-star-shoot {
    0%   { opacity: 0; transform: rotate(-28deg) translate3d(-12%, 0, 0); }
    8%   { opacity: 0.7; }
    35%  { opacity: 0.55; }
    55%  { opacity: 0; transform: rotate(-28deg) translate3d(110vw, 0, 0); }
    100% { opacity: 0; transform: rotate(-28deg) translate3d(110vw, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .et-auth__star { animation: none; opacity: 0; }
}

.et-auth::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.045) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 85%);
    animation: et-auth-grid-drift 42s linear infinite;
    z-index: 0;
}

@keyframes et-auth-grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 48px 48px, 48px 48px; }
}

@keyframes et-auth-orb-float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(18px, -22px, 0) scale(1.06); }
}

@keyframes et-auth-ring-spin {
    to { transform: rotate(360deg); }
}

@keyframes et-auth-rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes et-auth-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(23, 198, 83, 0.4); }
    50% { box-shadow: 0 0 0 7px rgba(23, 198, 83, 0); }
}

@keyframes et-auth-glow {
    0%, 100% { filter: brightness(1); box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28); }
    50% { filter: brightness(1.06); box-shadow: 0 14px 34px rgba(14, 165, 233, 0.4); }
}

.et-auth__grid {
    position: relative;
    z-index: 1;
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(21, 55, 100, 0.12),
        0 0 0 1px rgba(21, 55, 100, 0.06);
    background: var(--et-surface);
    animation: et-auth-rise 0.7s ease both;
}

.et-auth__hero {
    padding: 3rem 2.75rem;
    background:
        linear-gradient(165deg, rgba(14, 165, 233, 0.12), transparent 55%),
        linear-gradient(210deg, #f3f9ff 0%, #e8f3fc 100%);
    border-right: 1px solid var(--et-line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 640px;
    position: relative;
    color: var(--et-ink);
}

.et-auth__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 28%, rgba(14, 165, 233, 0.14), transparent 42%),
        radial-gradient(circle at 82% 72%, rgba(245, 165, 36, 0.1), transparent 40%);
    pointer-events: none;
}

.et-auth__brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    position: relative;
    z-index: 1;
    animation: et-auth-rise 0.55s ease both;
}

.et-auth__brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, var(--et-cyan), var(--et-cyan-deep));
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.28);
    color: #fff;
    font-size: 1.35rem;
    animation: et-auth-glow 3.2s ease-in-out infinite;
}

.et-auth__brand-name {
    font-family: var(--et-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--et-ink);
}

.et-auth__brand-sub {
    color: var(--et-muted);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 0.15rem;
}

.et-auth__live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #128a45;
    position: relative;
    z-index: 1;
}

.et-auth__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--et-green);
    animation: et-auth-pulse 1.8s ease-out infinite;
}

.et-auth__hero-copy {
    position: relative;
    z-index: 1;
    animation: et-auth-rise 0.7s ease 0.12s both;
}

.et-auth__hero-copy h1 {
    font-family: var(--et-display);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin: 1.35rem 0 1rem;
    color: var(--et-ink);
}

.et-auth__hero-copy p {
    color: var(--et-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 36ch;
    margin: 0;
}

.et-auth__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.et-auth__stat {
    padding: 0.9rem 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--et-line);
    animation: et-auth-rise 0.65s ease both;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.et-auth__stat:nth-child(1) { animation-delay: 0.22s; }
.et-auth__stat:nth-child(2) { animation-delay: 0.32s; }
.et-auth__stat:nth-child(3) { animation-delay: 0.42s; }

.et-auth__stat:hover {
    border-color: rgba(14, 165, 233, 0.45);
    background: #fff;
    transform: translateY(-2px);
}

.et-auth__stat strong {
    display: block;
    font-family: var(--et-display);
    font-size: 1.05rem;
    color: var(--et-cyan-deep);
}

.et-auth__stat span {
    font-size: 0.72rem;
    color: var(--et-muted);
}

.et-auth__panel {
    padding: 2.75rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--et-ink);
    background: #fff;
    animation: et-auth-rise 0.75s ease 0.15s both;
}

.et-auth__card {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    padding: 2.35rem 2rem 1.75rem;
    border-radius: 22px;
    background: var(--et-surface);
    box-shadow:
        0 22px 50px rgba(21, 55, 100, 0.1),
        0 0 0 1px rgba(21, 55, 100, 0.06);
    color: var(--et-ink);
    animation: et-auth-rise 0.65s ease both;
}

.et-auth__card-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.et-auth__card-brand .et-auth__brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 1.5rem;
}

.et-auth__card-brand .et-auth__brand-name {
    font-size: 1.35rem;
    text-transform: lowercase;
    letter-spacing: -0.03em;
}

.et-auth__card-title {
    font-family: var(--et-display);
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
    color: var(--et-ink);
}

.et-auth__divider {
    height: 3px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--et-amber), var(--et-amber-hot));
    margin: 0 0 1.5rem;
    box-shadow: 0 0 18px rgba(245, 165, 36, 0.25);
}

.et-auth__panel-title {
    font-family: var(--et-display);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.35rem;
    color: var(--et-ink);
}

.et-auth__panel-lead {
    color: var(--et-muted);
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
}

.et-auth__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    padding: 0.3rem;
    margin-bottom: 1.35rem;
    border-radius: 14px;
    background: var(--et-soft);
    border: 1px solid var(--et-line);
}

.et-auth__tab {
    border: 0;
    border-radius: 11px;
    padding: 0.7rem 0.65rem;
    font-family: var(--et-font);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--et-muted);
    background: transparent;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.et-auth__tab:hover {
    color: var(--et-ink);
}

.et-auth__tab.is-active {
    color: var(--et-ink);
    background: #fff;
    box-shadow: 0 4px 14px rgba(21, 55, 100, 0.08);
}

.et-auth__alert {
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    border: 1px solid transparent;
}

.et-auth__alert--danger {
    background: rgba(241, 65, 108, 0.08);
    border-color: rgba(241, 65, 108, 0.28);
    color: #c01048;
}

.et-auth__alert--ok {
    background: rgba(23, 198, 83, 0.1);
    border-color: rgba(23, 198, 83, 0.28);
    color: #0e7a3d;
}

.et-auth__field {
    margin-bottom: 1.1rem;
}

.et-auth__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b5d76;
    margin-bottom: 0.45rem;
}

.et-auth .app-label {
    display: block;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #4b5d76 !important;
    margin-bottom: 0.45rem;
}

.et-auth .app-phone {
    margin-bottom: 0;
}

.et-auth__password {
    position: relative;
}

.et-auth__password .et-auth__input {
    padding-right: 3rem;
}

.et-auth__password-toggle {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6b7c93;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: color .15s ease, background .15s ease;
}

.et-auth__password-toggle:hover {
    color: var(--et-cyan-deep);
    background: rgba(14, 165, 233, 0.08);
}

.et-auth__input,
.et-auth input.et-auth__input {
    width: 100%;
    border-radius: 12px !important;
    border: 1px solid var(--et-line) !important;
    background: #fff !important;
    background-color: #fff !important;
    color: #152238 !important;
    -webkit-text-fill-color: #152238 !important;
    caret-color: #152238 !important;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    box-shadow: none !important;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.et-auth__input::placeholder {
    color: #8a9bb0 !important;
    -webkit-text-fill-color: #8a9bb0 !important;
    opacity: 1;
}

.et-auth input.et-auth__input:-webkit-autofill,
.et-auth input.et-auth__input:-webkit-autofill:hover,
.et-auth input.et-auth__input:-webkit-autofill:focus,
.et-auth input.et-auth__input:-webkit-autofill:active {
    -webkit-text-fill-color: #152238 !important;
    caret-color: #152238 !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    transition: background-color 99999s ease-in-out 0s;
}

.et-auth__input:focus {
    border-color: rgba(14, 165, 233, 0.75) !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
}

.et-auth__validation {
    display: block;
    color: #c01048;
    font-size: 0.78rem;
    margin-top: 0.35rem;
}

.et-auth__row {
    display: flex;
    justify-content: flex-end;
    margin: 0.25rem 0 1.35rem;
}

.et-auth__link {
    color: var(--et-cyan-deep);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.et-auth__link:hover {
    color: #0369a1;
    text-decoration: underline;
}

.et-auth__btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 0.95rem 1.25rem;
    font-family: var(--et-display);
    font-weight: 700;
    font-size: 0.98rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.et-auth__btn-busy {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.et-auth__btn.is-loading .et-auth__btn-idle {
    display: none;
}

.et-auth__btn.is-loading .et-auth__btn-busy {
    display: inline-flex;
}

.et-auth__btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none !important;
}

.et-auth__btn--primary {
    color: #102033;
    background: linear-gradient(120deg, var(--et-amber) 0%, var(--et-amber-hot) 100%);
    box-shadow: 0 12px 28px rgba(245, 165, 36, 0.28);
}

.et-auth__btn--primary:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 16px 34px rgba(245, 165, 36, 0.38);
}

.et-auth__btn--ghost {
    background: transparent;
    color: var(--et-muted);
    border: 1px solid var(--et-line);
}

.et-auth__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--et-line);
    font-size: 0.88rem;
    color: var(--et-muted);
}

.et-auth__foot a {
    color: var(--et-ink);
    text-decoration: none;
    font-weight: 700;
}

.et-auth__foot a:hover {
    color: var(--et-cyan-deep);
}

.et-auth__steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem;
    margin: 0 0 1.75rem;
    position: relative;
}

.et-auth__step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.et-auth__step-dot {
    width: 34px;
    height: 34px;
    margin: 0 auto 0.45rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-family: var(--et-display);
    font-weight: 700;
    font-size: 0.85rem;
    background: var(--et-soft);
    color: var(--et-muted);
    border: 1px solid var(--et-line);
}

.et-auth__step.is-active .et-auth__step-dot {
    background: linear-gradient(145deg, var(--et-amber), var(--et-amber-hot));
    color: #1a1205;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(245, 165, 36, 0.35);
}

.et-auth__step.is-done .et-auth__step-dot {
    background: var(--et-green);
    color: #062417;
    border-color: transparent;
}

.et-auth__step-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--et-muted);
}

.et-auth__step.is-active .et-auth__step-label {
    color: var(--et-ink);
}

.et-auth__steps-line {
    position: absolute;
    top: 17px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--et-line);
    z-index: 0;
}

.et-auth__info {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 14px;
    background: rgba(14, 165, 233, 0.07);
    border: 1px solid rgba(14, 165, 233, 0.18);
    margin-bottom: 1.25rem;
}

.et-auth__info-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(245, 165, 36, 0.16);
    color: var(--et-amber-hot);
    flex-shrink: 0;
}

.et-auth__info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--et-ink);
}

.et-auth__info p {
    margin: 0;
    color: var(--et-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.et-auth__code-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.et-auth__code-inputs input {
    width: 100%;
    text-align: center;
    font-family: var(--et-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.75rem 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .et-auth::before,
    .et-auth__orb,
    .et-auth__ring,
    .et-auth__brand-mark,
    .et-auth__live-dot,
    .et-auth__grid,
    .et-auth__panel,
    .et-auth__card,
    .et-auth__stat,
    .et-auth__hero-copy,
    .et-auth__brand {
        animation: none !important;
    }
}

@media (max-width: 900px) {
    .et-auth__grid {
        grid-template-columns: 1fr;
    }

    .et-auth__hero {
        min-height: auto;
        padding: 1.75rem 1.5rem 1.25rem;
        border-right: 0;
        border-bottom: 1px solid var(--et-line);
    }

    .et-auth__hero-copy h1 {
        margin-top: 1.25rem;
        font-size: 1.55rem;
    }

    .et-auth__stats {
        display: none;
    }

    .et-auth__panel {
        padding: 1.75rem 1.35rem 2rem;
    }

    .et-auth__orb--a { width: 18rem; height: 18rem; }
    .et-auth__orb--b { width: 14rem; height: 14rem; }
    .et-auth__ring { display: none; }
}

/* —— Sunucu bakımda (animasyonlu illüstrasyon) —— */
body.et-maint-body,
.et-maint {
    --maint-blue: #2b7de9;
    --maint-blue-soft: #4da3ff;
    --maint-teal: #2bb8b0;
    --maint-text: #1a1f2c;
    --maint-muted: #7b8798;
    --maint-accent: #f5a524;
}

.et-maint {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.25rem 1.5rem 3rem;
    background: #ffffff;
    font-family: var(--et-font);
    color: var(--maint-text);
}

.et-maint__scene {
    width: min(720px, 100%);
    margin-bottom: 0.5rem;
    animation: et-maint-rise 0.7s ease both;
}

.et-maint__svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.et-maint__copy {
    text-align: center;
    max-width: 42rem;
    width: 100%;
    animation: et-maint-rise 0.75s ease 0.12s both;
}

.et-maint__brand {
    font-family: var(--et-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--maint-blue);
    margin-bottom: 0.75rem;
}

.et-maint__title {
    font-family: var(--et-display);
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0 0 1rem;
}

.et-maint__text {
    margin: 0 0 1.75rem;
    color: var(--maint-muted);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
}

.et-maint__countdown {
    margin: 0 auto 1.75rem;
    max-width: 22rem;
    padding: 1.15rem 1.25rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(180deg, #f5f9ff 0%, #eef4fc 100%);
    border: 1px solid #d7e4f5;
    box-shadow: 0 12px 28px rgba(43, 125, 233, 0.08);
    animation: et-maint-rise 0.8s ease 0.2s both;
}

.et-maint__countdown-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c93;
    margin-bottom: 0.75rem;
}

.et-maint__countdown-digits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
}

.et-maint__digit {
    min-width: 4.5rem;
    padding: 0.85rem 0.7rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #d5e2f2;
    box-shadow: 0 8px 18px rgba(26, 55, 95, 0.08);
    font-family: var(--et-display);
    font-size: clamp(2rem, 5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #153a6b;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease;
}

.et-maint__digit.is-tick {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 22px rgba(43, 125, 233, 0.18);
}

.et-maint__digit span {
    display: inline-block;
    animation: et-maint-digit-pop 0.35s ease;
}

.et-maint__colon {
    font-family: var(--et-display);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--maint-blue-soft);
    animation: et-maint-colon-blink 1s steps(1) infinite;
    padding-bottom: 0.2rem;
}

.et-maint__countdown-bar {
    height: 6px;
    border-radius: 999px;
    background: #d9e6f5;
    overflow: hidden;
}

.et-maint__countdown-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--maint-blue-soft), var(--maint-accent));
    box-shadow: 0 0 12px rgba(245, 165, 36, 0.35);
    transition: width 0.95s linear;
}

.et-maint__countdown-ready {
    margin-top: 0.75rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1f8f5f;
    animation: et-maint-rise 0.4s ease both;
}

.et-maint__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
}

.et-maint__btn {
    border: 0;
    border-radius: 14px;
    padding: 1rem 1.75rem;
    font-family: var(--et-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    background: linear-gradient(120deg, var(--maint-blue-soft), var(--maint-blue));
    box-shadow: 0 12px 28px rgba(43, 125, 233, 0.3);
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
}

.et-maint__btn:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.et-maint__btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.et-maint__link {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--maint-accent);
    text-decoration: none;
    border-bottom: 2px solid rgba(245, 165, 36, 0.35);
    padding-bottom: 1px;
}

.et-maint__link:hover {
    color: #e09010;
    border-bottom-color: #e09010;
}

/* Animations */
.et-maint__gear--lg,
.et-maint__gear--sm {
    transform-box: fill-box;
    transform-origin: center;
}

.et-maint__gear--lg {
    animation: et-maint-spin 12s linear infinite;
}

.et-maint__gear--sm {
    animation: et-maint-spin-rev 8s linear infinite;
}

.et-maint__led--green {
    animation: et-maint-blink-green 1.8s ease-in-out infinite;
}

.et-maint__led--amber {
    animation: et-maint-blink-amber 1.35s ease-in-out infinite;
}

.et-maint__led--cyan {
    animation: et-maint-blink-cyan 1.1s ease-in-out infinite;
}

.et-maint__led--delay {
    animation-delay: 0.55s;
}

.et-maint__rack {
    animation: et-maint-float 4.5s ease-in-out infinite;
}

.et-maint__person--sit {
    animation: et-maint-bob 3.2s ease-in-out infinite;
}

.et-maint__person--stand {
    animation: et-maint-bob 3.6s ease-in-out 0.4s infinite;
}

.et-maint__arm {
    transform-box: fill-box;
    transform-origin: right center;
    animation: et-maint-reach 2.8s ease-in-out infinite;
}

.et-maint__bg-blocks rect:nth-child(odd) {
    animation: et-maint-scan 2.4s ease-in-out infinite;
}

.et-maint__bg-blocks rect:nth-child(even) {
    animation: et-maint-scan 2.8s ease-in-out 0.5s infinite;
}

.et-maint__shadow {
    transform-box: fill-box;
    transform-origin: center;
    animation: et-maint-shadow 4.5s ease-in-out infinite;
}

@keyframes et-maint-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes et-maint-spin {
    to { transform: rotate(360deg); }
}

@keyframes et-maint-spin-rev {
    to { transform: rotate(-360deg); }
}

@keyframes et-maint-blink-green {
    0%, 100% { fill: #50cd89; opacity: 1; }
    50% { fill: #9aefc0; opacity: 0.45; }
}

@keyframes et-maint-blink-amber {
    0%, 100% { fill: #f5a524; opacity: 1; }
    45% { fill: #ffd28a; opacity: 0.35; }
}

@keyframes et-maint-blink-cyan {
    0%, 100% { fill: #3db8ff; opacity: 1; }
    50% { fill: #9adbff; opacity: 0.4; }
}

@keyframes et-maint-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes et-maint-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes et-maint-reach {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-10deg); }
}

@keyframes et-maint-scan {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.9; }
}

@keyframes et-maint-shadow {
    0%, 100% { transform: scaleX(1); opacity: 0.55; }
    50% { transform: scaleX(0.92); opacity: 0.35; }
}

@keyframes et-maint-colon-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0.25; }
}

@keyframes et-maint-digit-pop {
    0% { transform: translateY(6px); opacity: 0.35; }
    100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .et-maint__gear--lg,
    .et-maint__gear--sm,
    .et-maint__led--green,
    .et-maint__led--amber,
    .et-maint__led--cyan,
    .et-maint__rack,
    .et-maint__person--sit,
    .et-maint__person--stand,
    .et-maint__arm,
    .et-maint__bg-blocks rect,
    .et-maint__shadow,
    .et-maint__scene,
    .et-maint__copy,
    .et-maint__countdown,
    .et-maint__colon,
    .et-maint__digit span {
        animation: none !important;
    }
}

@media (max-width: 560px) {
    .et-maint {
        padding: 1.25rem 1rem 2rem;
    }

    .et-maint__text {
        font-size: 0.98rem;
    }

    .et-maint__digit {
        min-width: 3.6rem;
        padding: 0.7rem 0.5rem;
        font-size: 1.85rem;
    }
}

/* ---- Animasyonlu 404 ---- */
.et-404 {
    place-items: center;
}

.et-404__grid {
    position: absolute;
    inset: -20% -10%;
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 55% 50% at 50% 42%, #000 20%, transparent 75%);
    animation: et-404-grid-drift 36s linear infinite;
    opacity: 0.9;
}

.et-404__stage {
    position: relative;
    z-index: 1;
    width: min(36rem, 100%);
    text-align: center;
    animation: et-auth-rise 0.65s ease both;
}

.et-404__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.et-404__brand .et-auth__brand-name {
    font-family: var(--et-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.et-404__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 14.5rem;
    margin-bottom: 1.15rem;
}

.et-404__pulse {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(14, 165, 233, 0.28);
    animation: et-404-pulse 3.6s ease-out infinite;
}

.et-404__pulse--a {
    width: 9rem;
    height: 9rem;
}

.et-404__pulse--b {
    width: 13rem;
    height: 13rem;
    animation-delay: 0.7s;
    border-color: rgba(245, 165, 36, 0.22);
}

.et-404__pulse--c {
    width: 17rem;
    height: 17rem;
    animation-delay: 1.4s;
    border-color: rgba(23, 198, 83, 0.16);
}

.et-404__signal {
    position: absolute;
    width: min(28rem, 96%);
    top: -0.15rem;
    opacity: 0.9;
}

.et-404__signal-path {
    stroke: #0ea5e9;
    stroke-width: 4;
    stroke-dasharray: 16 12;
    animation: et-404-dash 2.2s linear infinite;
}

.et-404__signal-dot {
    fill: #f5a524;
    animation: et-404-dot 2.4s ease-in-out infinite;
}

.et-404__signal-dot--lag {
    animation-delay: 0.35s;
    fill: #0ea5e9;
}

.et-404__signal-dot--lag2 {
    animation-delay: 0.7s;
    fill: #17c653;
}

.et-404__code {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-top: 1.25rem;
    font-family: var(--et-display);
    font-weight: 800;
    font-size: clamp(5.75rem, 18vw, 8.75rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
    color: var(--et-ink);
    text-shadow: 0 14px 48px rgba(21, 34, 56, 0.14);
}

.et-404__digit {
    display: inline-block;
    animation: et-404-float 4.5s ease-in-out infinite;
}

.et-404__digit:first-child { animation-delay: 0s; }

.et-404__digit--mid {
    color: var(--et-cyan-deep);
    animation-delay: 0.35s;
    filter: drop-shadow(0 0 22px rgba(14, 165, 233, 0.32));
}

.et-404__digit:last-child { animation-delay: 0.7s; }

.et-404__title {
    font-family: var(--et-display);
    font-size: clamp(1.7rem, 4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0 0 0.95rem;
    color: var(--et-ink);
}

.et-404__lead {
    margin: 0 auto 1.85rem;
    max-width: 30rem;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    line-height: 1.75;
    color: var(--et-muted);
}

.et-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.et-404__actions .et-auth__btn {
    width: auto;
    min-width: 9.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.et-404__actions .et-auth__btn--ghost:hover {
    border-color: var(--et-cyan);
    color: var(--et-ink);
    background: rgba(14, 165, 233, 0.06);
}

@keyframes et-404-pulse {
    0% { transform: scale(0.72); opacity: 0.7; }
    70% { transform: scale(1.08); opacity: 0; }
    100% { transform: scale(1.08); opacity: 0; }
}

@keyframes et-404-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.45rem); }
}

@keyframes et-404-dash {
    to { stroke-dashoffset: -44; }
}

@keyframes et-404-dot {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes et-404-grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-48px, -48px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .et-404__grid,
    .et-404__pulse,
    .et-404__signal-path,
    .et-404__signal-dot,
    .et-404__digit,
    .et-404__stage {
        animation: none !important;
    }
}

@media (max-width: 560px) {
    .et-404__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .et-404__actions .et-auth__btn {
        width: 100%;
    }

    .et-404__visual {
        min-height: 12rem;
    }
}

/* ---- Animasyonlu 403 (yetki reddi) — 4 [kilit] 3 ---- */
.et-403 {
    place-items: center;
}

.et-403__grid {
    position: absolute;
    inset: -20% -10%;
    background-image:
        linear-gradient(rgba(245, 165, 36, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 165, 36, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 55% 50% at 50% 42%, #000 20%, transparent 75%);
    animation: et-403-grid-drift 38s linear infinite;
    opacity: 0.9;
}

.et-403__stage {
    position: relative;
    z-index: 1;
    width: min(38rem, 100%);
    text-align: center;
    animation: et-auth-rise 0.65s ease both;
}

.et-403__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.35rem;
}

.et-403__brand .et-auth__brand-name {
    font-family: var(--et-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.et-403__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 11rem;
    margin-bottom: 0.35rem;
    margin-top: -0.35rem;
}

.et-403__code {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.35rem, 1.5vw, 0.75rem);
    font-family: var(--et-display);
    font-weight: 800;
    font-size: clamp(6rem, 20vw, 9.5rem);
    line-height: 0.85;
    letter-spacing: -0.07em;
    color: var(--et-ink);
    text-shadow: 0 14px 48px rgba(21, 34, 56, 0.16);
}

.et-403__digit {
    display: inline-block;
    animation: et-403-float 4.5s ease-in-out infinite;
}

.et-403__digit:first-child { animation-delay: 0s; }
.et-403__digit:last-child { animation-delay: 0.55s; }

.et-403__lock-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(4.75rem, 14vw, 7.25rem);
    height: clamp(5.75rem, 17vw, 8.75rem);
    margin: 0 0.15rem;
    transform: translateY(-0.55rem);
    animation: et-403-lock-bob 3.6s ease-in-out infinite;
    filter: drop-shadow(0 14px 28px rgba(61, 74, 92, 0.28));
}

.et-403__padlock {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.et-403__shackle {
    transform-origin: 48px 34px;
    animation: et-403-shackle-wiggle 3.6s ease-in-out infinite;
}

.et-403__body {
    animation: et-403-body-glow 3.6s ease-in-out infinite;
}

.et-403__title {
    font-family: var(--et-display);
    font-size: clamp(1.7rem, 4vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0.35rem 0 0.95rem;
    color: var(--et-ink);
}

.et-403__lead {
    margin: 0 auto 1.85rem;
    max-width: 30rem;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    line-height: 1.75;
    color: var(--et-muted);
}

.et-403__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.et-403__actions .et-auth__btn {
    width: auto;
    min-width: 9.5rem;
}

.et-403__actions .et-auth__btn--ghost:hover {
    border-color: #f5a524;
    color: var(--et-ink);
    background: rgba(245, 165, 36, 0.06);
}

@keyframes et-403-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-0.45rem); }
}

@keyframes et-403-grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-48px, -48px, 0); }
}

@keyframes et-403-lock-bob {
    0%, 100% { transform: translateY(-0.55rem) scale(1); }
    50% { transform: translateY(-0.95rem) scale(1.04); }
}

@keyframes et-403-shackle-wiggle {
    0%, 100% { transform: rotate(0deg); }
    35% { transform: rotate(-7deg); }
    65% { transform: rotate(5deg); }
}

@keyframes et-403-body-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .et-403__grid,
    .et-403__digit,
    .et-403__lock-wrap,
    .et-403__shackle,
    .et-403__body,
    .et-403__stage {
        animation: none !important;
    }

    .et-403__lock-wrap {
        transform: translateY(-0.55rem);
    }
}

@media (max-width: 560px) {
    .et-403__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .et-403__actions .et-auth__btn {
        width: 100%;
    }

    .et-403__visual {
        min-height: 9.5rem;
    }
}
