* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
      background: #f7f8fa;
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
    }

    .auth-card {
      background: #ffffff;
      width: 100%;
      max-width: 400px;
      padding: 2.5rem 2rem;
      border-radius: 24px;
      box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.08), 0 10px 10px -6px rgba(0, 0, 0, 0.02);
      transition: transform 0.2s ease;
    }

    .auth-card:hover {
      transform: scale(1.005);
    }

    .auth-title {
      font-size: 1.9rem;
      font-weight: 600;
      letter-spacing: -0.02em;
      color: #1a1e24;
      margin-bottom: 2rem;
      text-align: center;
    }

    .input-group {
      margin-bottom: 1.5rem;
    }

    .input-group label {
      display: block;
      font-size: 0.875rem;
      font-weight: 500;
      color: #2b3139;
      margin-bottom: 0.5rem;
      letter-spacing: -0.01em;
    }

    .input-group input {
      width: 100%;
      padding: 0.9rem 1rem;
      font-size: 1rem;
      border: 1.5px solid #e3e6ea;
      border-radius: 14px;
      background: #ffffff;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      color: #1a1e24;
    }

    .input-group input:hover {
      border-color: #cbd0d8;
    }

    .input-group input:focus {
      border-color: #3b7cff;
      box-shadow: 0 0 0 4px rgba(59, 124, 255, 0.12);
    }

    .input-group input::placeholder {
      color: #a5adb8;
      font-weight: 400;
      font-size: 0.95rem;
    }

    .auth-button {
      width: 100%;
      padding: 0.95rem 1.5rem;
      font-size: 1.05rem;
      font-weight: 600;
      color: #ffffff;
      background: #1a1e24;
      border: none;
      border-radius: 14px;
      cursor: pointer;
      transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
      letter-spacing: -0.01em;
      margin-top: 0.5rem;
      box-shadow: 0 6px 14px -4px rgba(26, 30, 36, 0.2);
    }

    .auth-button:hover {
      background: #2b3139;
      box-shadow: 0 8px 18px -4px rgba(26, 30, 36, 0.28);
    }

    .auth-button:active {
      transform: scale(0.98);
      background: #0f1216;
      box-shadow: 0 2px 8px -2px rgba(26, 30, 36, 0.3);
    }

    /* убираем стандартные стили автозаполнения */
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus {
      -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
      box-shadow: 0 0 0 30px #ffffff inset !important;
      -webkit-text-fill-color: #1a1e24 !important;
      border-color: #e3e6ea !important;
    }

    input:-webkit-autofill:focus {
      border-color: #3b7cff !important;
    }

    /* адаптив для маленьких экранов */
    @media (max-width: 480px) {
      .auth-card {
        padding: 2rem 1.25rem;
        border-radius: 20px;
      }

      .auth-title {
        font-size: 1.7rem;
        margin-bottom: 1.75rem;
      }

      .input-group input {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
      }

      .auth-button {
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
      }
    }

    /* минималистичные стили для скрытия любых иконок/подсказок */
    input::-ms-reveal,
    input::-ms-clear {
      display: none;
    }
