    :root {
      --main-bg: #23252a;
      --block-bg: #191c22;
      --primary: #ff8c1a;
      --accent: #ffd700;
    }
    body {
      background: var(--main-bg);
      margin: 0;
      min-height: 100vh;
      font-family: 'Montserrat', Arial, sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .login-wrap {
      background: var(--block-bg);
      border-radius: 17px;
      box-shadow: 0 3px 28px #0006;
      max-width: 380px;
      width: 100%;
      padding: 36px 25px 26px 25px;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 2vw;
      animation: fadeIn 0.7s;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(36px);}
      to { opacity: 1; transform: translateY(0);}
    }
    .login-title {
      font-size: 1.32rem;
      font-weight: 700;
      color: var(--accent);
      margin-bottom: 25px;
      letter-spacing: .3px;
      text-align: center;
    }
    .login-google {
      width: 100%;
      margin-bottom: 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .google-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 13px;
      padding: 11px 0;
      font-size: 1.07rem;
      font-weight: 600;
      background: #fff;
      color: #24292f;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      box-shadow: 0 2px 8px #0002;
      transition: background 0.14s, color 0.12s;
      outline: none;
    }
    .google-btn:hover {
      background: #f8f8f8;
      color: #ff8c1a;
    }
    .google-btn img {
      width: 22px; height: 22px; display: block;
    }
    .login-or {
      color: #bbb;
      font-size: 0.96rem;
      font-weight: 500;
      margin: 11px 0 11px 0;
      display: flex;
      align-items: center;
      width: 100%;
      text-align: center;
      gap: 11px;
    }
    .login-or:before, .login-or:after {
      content: "";
      flex: 1 1 20px;
      height: 1.5px;
      background: #2424243a;
      border-radius: 1px;
    }
    .login-form {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .input-group {
      width: 100%;
      position: relative;
    }
    .input-group input {
      width: 100%;
      background: #23252a;
      border: 1.7px solid #292c31;
      color: #fff;
      padding: 12px 46px 12px 16px;
      font-size: 1.07rem;
      border-radius: 10px;
      outline: none;
      transition: border .13s, background .13s;
      box-sizing: border-box;
    }
    .input-group input:focus {
      border: 1.7px solid var(--primary);
      background: #222328;
    }
    .input-group .fa {
      position: absolute;
      right: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: #ffd700cc;
      font-size: 1.05em;
      pointer-events: none;
    }
    .login-btn {
      width: 100%;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: 9px;
      padding: 13px 0;
      font-weight: 700;
      font-size: 1.09rem;
      cursor: pointer;
      transition: background 0.14s;
      margin-top: 7px;
      box-shadow: 0 1px 8px #ff8c1a24;
    }
    .login-btn:active, .login-btn:focus { background: #ff6700; }
    .login-bottom {
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-top: 17px;
      font-size: 0.98rem;
    }
    .login-bottom a {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.13s;
    }
    .login-bottom a:hover { color: var(--primary);}
    @media (max-width: 480px) {
      .login-wrap { max-width: 99vw; padding: 18px 2vw; border-radius: 12px;}
      .login-title { font-size: 1.05rem;}
      .login-bottom { flex-direction: column; gap: 9px; align-items: flex-start;}
      .google-btn { font-size: 1.01rem; }
    }
        * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Nunito', sans-serif;
      background: linear-gradient(135deg, #6e00ff, #a74cff);
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      color: white;
    }

    .login-container {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 30px 25px;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .login-container h2 {
      text-align: center;
      margin-bottom: 20px;
      font-weight: 700;
      font-size: 28px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
    }

    input[type="text"],
    input[type="password"] {
      width: 100%;
      padding: 12px;
      border-radius: 10px;
      border: none;
      font-size: 16px;
      background: rgba(255, 255, 255, 0.2);
      color: white;
    }

    input[type="text"]::placeholder,
    input[type="password"]::placeholder {
      color: #ddd;
    }

    .btn-login {
      width: 100%;
      padding: 12px;
      background-color: #9e4fff;
      border: none;
      border-radius: 10px;
      color: white;
      font-size: 18px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .btn-login:hover {
      background-color: #7e33e2;
    }
    /* 📱 Нормалізація для мобіли */
@viewport {
  width: device-width;
  zoom: 1.0;
}
@-ms-viewport {
  width: device-width;
}
@-o-viewport {
  width: device-width;
}

:root {
  --main-bg: #23252a;
  --block-bg: #191c22;
  --primary: #ff8c1a;
  --accent: #ffd700;
}

body {
  background: var(--main-bg);
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* ⬅ щоб не прилипало */
  box-sizing: border-box;
}

/* 🌟 Блок логіну */
.login-wrap {
  background: var(--block-bg);
  border-radius: 17px;
  box-shadow: 0 3px 28px #0006;
  max-width: 380px;
  width: 100%;
  padding: 36px 25px 26px 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  animation: fadeIn 0.7s;
  box-sizing: border-box;
}

/* 📱 Адаптація під дуже малі екрани */
@media (max-width: 480px) {
  .login-wrap {
    padding: 24px 16px;
    max-width: 100%;
  }

  .login-wrap input,
  .login-wrap button {
    font-size: 1rem;
  }

  .login-wrap h2 {
    font-size: 1.3rem;
  }
}

/* ✨ Анімація */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(36px);}
  to { opacity: 1; transform: translateY(0);}
}
