/* === FAKE GAMES AUTH STYLE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0d0b1a;
  color: #fff;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-container {
  display: flex;
  max-width: 960px;
  width: 95%;
  background: #15122b;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(120, 80, 200, 0.25);
  animation: fadeIn .6s ease;
}

.login-left {
  flex: 1;
  background: url('/includes/img/char_auth.webp') center/contain no-repeat,
              radial-gradient(circle at top left, #1b1740, #0f0c22);
  min-height: 450px;
}

.login-right {
  flex: 1;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #131028;
}

.brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #a78bfa;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: #e2e2ff;
}

p.subtext {
  font-size: .95rem;
  color: #a3a3c2;
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1rem; }

label {
  display: block;
  font-size: .85rem;
  margin-bottom: .3rem;
  color: #b8a8f9;
}

.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .5rem;
  border: 1px solid rgba(167,139,250,0.3);
  background: #1c183a;
  color: #fff;
  outline: none;
  transition: 0.25s border;
}

.form-input:focus { border-color: #8b5cf6; }

.login-btn {
  width: 100%;
  padding: .8rem;
  margin-top: .5rem;
  border: none;
  border-radius: .5rem;
  background: linear-gradient(90deg, #6d28d9, #9333ea);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(139,92,246,0.3);
}

.extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  margin-top: .7rem;
  color: #b3a3ff;
}

.extra a {
  color: #a78bfa;
  text-decoration: none;
}
.extra a:hover { text-decoration: underline; }

.footer {
  text-align: center;
  margin-top: 1.2rem;
  font-size: .85rem;
  color: #9d90ff;
}
.footer a {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 600;
}
.footer a:hover { text-decoration: underline; }

@media (max-width: 850px) {
  .login-container { flex-direction: column; }
  .login-left { height: 220px; background-size: cover; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast notifications */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-login-wrapper {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.tg-title {
    font-size: 14px;
    color: #a3a3b2;
    letter-spacing: 0.5px;
}


body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0b0b18;
    min-height: 100vh;
    overflow-x: hidden;

    background-image:
        radial-gradient(800px circle at 70% 20%, rgba(102,0,255,0.45), transparent 60%),
        radial-gradient(600px circle at 20% 80%, rgba(0,140,255,0.35), transparent 60%),
        radial-gradient(400px circle at 50% 50%, rgba(255,255,255,0.05), transparent 70%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* легкий шум зверху */
body::before {
    content: "";
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    opacity: 0.12;
}