body.login-body {
    min-height: 100svh;
    padding: 22px;
    overflow-x: hidden;
    display: grid;
    place-items: center;
}

body.login-body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .58), rgba(0, 0, 0, .35)),
        linear-gradient(to top, #05090b 0%, transparent 45%),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2071&auto=format&fit=crop");
    background-size: cover;
    background-position: center;
    z-index: -3;
    animation: loginBgZoom 18s ease-in-out infinite alternate;
}

.login-page {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1.15fr 430px;
    gap: clamp(35px, 6vw, 90px);
    align-items: center;
}

.login-hero {
    animation: loginLeftShow .9s ease;
}

.login-hero h1 {
    font-family: Georgia, serif;
    font-weight: 500;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    color: var(--title);
    margin-bottom: 26px;
}

.login-hero h1 span {
    color: var(--orange);
}

.login-hero p {
    max-width: 640px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.8;
}

.mini-stats {
    margin-top: 22px;
    display: grid;
    gap: 6px;
    color: white;
    font-weight: 800;
}

.login-card {
    position: relative;
    padding: 36px;
    border-radius: 24px;
    background:
        linear-gradient(135deg,
            rgba(10, 10, 10, .96),
            rgba(15, 15, 15, .92));

    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    box-shadow:
        0 35px 110px rgba(0, 0, 0, .75),
        inset 0 1px 0 rgba(255, 255, 255, .04);
    overflow: hidden;
    animation: loginCardShow .9s ease;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg,
            rgba(255, 255, 255, .03),
            transparent 40%,
            rgba(255, 90, 0, .04));
    pointer-events: none;
}

.login-card>* {
    position: relative;
    z-index: 2;
}

.login-card .logo {
    margin-bottom: 26px;
}

.login-card h2 {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 500;
    color: var(--title);
    margin-bottom: 10px;
}

.login-card>p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 30px;
}

.login-form {
    display: grid;
    gap: 18px;
}

.form-group label {
    display: block;
    color: #ddd;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .035);
    color: white;
    outline: none;
    padding: 0 52px 0 17px;
    font-size: 15px;
    transition: .25s;
}

.input-box input:focus {
    border-color: rgba(255, 90, 0, .7);
    box-shadow: 0 0 0 4px rgba(255, 90, 0, .13);
}

.input-icon {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    cursor: pointer;
    user-select: none;
}

.options {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #ddd;
    font-size: 14px;
    font-weight: 700;
}

.options label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.options input {
    accent-color: var(--orange);
}

.options a {
    color: white;
}

.btn-login {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    color: white;
    background: linear-gradient(135deg, var(--orange), var(--orange2));
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 18px 45px rgba(255, 90, 0, .28);
    transition: .25s;
}

.btn-login:hover {
    transform: translateY(-4px);
}

.back-home {
    display: block;
    margin-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

.back-home:hover {
    color: var(--orange);
}

@keyframes loginBgZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.12);
    }
}

@keyframes loginLeftShow {
    from {
        opacity: 0;
        transform: translateX(-70px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes loginCardShow {
    from {
        opacity: 0;
        transform: translateY(60px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 950px) {
    body.login-body {
        overflow-y: auto;
    }

    .login-page {
        grid-template-columns: 1fr;
    }

    .login-hero {
        text-align: center;
    }

    .login-hero p {
        margin: auto;
    }
}

@media (max-width: 560px) {
    body.login-body {
        padding: 16px;
    }

    .login-card {
        padding: 28px 22px;
    }

    .login-hero h1 {
        font-size: 44px;
    }

    .options {
        flex-direction: column;
    }
}

.login-alert {
  width: 100%;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 16px;

  display: flex;
  align-items: center;
  gap: 12px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;

  animation: loginAlert .35s ease;
}

.login-alert span {
  font-size: 18px;
}

.login-alert.error {
  background: rgba(239, 68, 68, .12);
  border: 1px solid rgba(239, 68, 68, .28);
  color: #fca5a5;

  box-shadow:
    0 18px 45px rgba(239, 68, 68, .08),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.login-alert.warning {
  background: rgba(255, 90, 0, .12);
  border: 1px solid rgba(255, 90, 0, .28);
  color: #ffb27a;

  box-shadow:
    0 18px 45px rgba(255, 90, 0, .08),
    inset 0 1px 0 rgba(255,255,255,.03);
}

.login-alert.success {
  background: rgba(136, 255, 0, 0.12);
  border: 1px solid rgba(157, 255, 0, 0.28);
  color: #bfff83;

  box-shadow:
    0 18px 45px rgba(166, 255, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

@keyframes loginAlert {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.google-login {
  width: 100%;
  height: 58px;

  border-radius: 16px;

  background: rgba(255,255,255,.05);

  border: 1px solid rgba(255,255,255,.10);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  color: white;
  font-size: 14px;
  font-weight: 800;

  transition: .25s;

  margin-bottom: 24px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 15px 35px rgba(0,0,0,.25);
}

.google-login:hover {
  transform: translateY(-3px);

  border-color: rgba(255,90,0,.35);

  background: rgba(255,255,255,.07);

  box-shadow:
    0 20px 50px rgba(255,90,0,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.google-login svg {
  width: 22px;
  height: 22px;
}

.divider {
  position: relative;
  text-align: center;
  margin-bottom: 24px;
}

.divider::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 0;
  right: 0;

  height: 1px;

  background: rgba(255,255,255,.08);
}

.divider span {
  position: relative;

  background: #0b1114;

  padding: 0 14px;

  color: #7b8794;

  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-register {
  width: 100%;
  height: 56px;

  margin-top: 14px;

  border-radius: 16px;

  border: 1px solid rgba(255,255,255,.12);

  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 14px;
  font-weight: 800;

  transition: .25s;
}

.btn-register:hover {
  transform: translateY(-3px);

  border-color: rgba(255,90,0,.40);

  background: rgba(255,255,255,.03);

  box-shadow: 0 18px 45px rgba(255,90,0,.08);
}