/* ════════════════════════════════════════════════════════════
   TOSUN WEB PANELİ — GİRİŞ SAYFASI STİLLERİ
   ════════════════════════════════════════════════════════════ */

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050608;
  position: relative;
  overflow: hidden;
  padding: 20px;
}

/* Dinamik Arkaplan Efekti */
.login-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(232,160,32,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(64,144,232,0.05) 0%, transparent 50%);
  z-index: 1;
}

.login-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://wallpaperaccess.com/full/1151167.jpg'); /* Örnek FiveM temalı arka plan */
  background-size: cover;
  background-position: center;
  filter: blur(8px) brightness(0.3);
  opacity: 0.6;
  z-index: 0;
}

/* Glassmorphism Box */
.login-card {
  width: 100%;
  max-width: 440px;
  background: rgba(13, 15, 22, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(232, 160, 32, 0.2);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  z-index: 10;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: cardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--acc);
  text-transform: uppercase;
  margin-bottom: 4px;
  text-shadow: 0 0 20px rgba(232, 160, 32, 0.3);
}

.login-subtitle {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Tabs */
.login-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid var(--bdr2);
}

.login-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--fn);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.25s;
}

.login-tab.active {
  background: var(--acc);
  color: #000;
  box-shadow: 0 4px 12px rgba(232, 160, 32, 0.3);
}

/* Form Styles */
.login-form-container {
  display: none;
  animation: formIn 0.4s ease;
}

.login-form-container.active {
  display: block;
}

@keyframes formIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.input-group {
  margin-bottom: 16px;
  position: relative;
}

.input-group i {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  font-size: 14px;
  transition: color 0.2s;
}

.input-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--bdr2);
  border-radius: 10px;
  padding: 12px;
  padding-inline-start: 42px;
  color: var(--txt);
  font-family: var(--fn);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.input-field:focus {
  border-color: var(--acc);
  background: rgba(0, 0, 0, 0.4);
}

.input-field:focus + i {
  color: var(--acc);
}

/* Buttons */
.submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: var(--acc);
  color: #000;
  font-family: var(--fn);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 160, 32, 0.4);
  filter: brightness(1.1);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Social Login */
.social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 10px;
  border: 1px solid var(--bdr2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--txt);
  font-family: var(--fn);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.social-btn-discord:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: #5865f2;
  color: #5865f2;
}

.social-btn-steam:hover {
  background: rgba(27, 40, 56, 0.5);
  border-color: #66c0f4;
  color: #66c0f4;
}

/* Lang Selector */
.lang-mini-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-flag-btn {
  font-size: 20px;
  text-decoration: none;
  opacity: 0.4;
  transition: all 0.2s;
  filter: grayscale(50%);
}

.lang-flag-btn:hover {
  opacity: 0.8;
  transform: scale(1.15);
  filter: none;
}

.lang-flag-btn.active {
  opacity: 1;
  filter: none;
  transform: scale(1.1);
}

/* Alerts */
.login-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: alertIn 0.3s ease;
}

@keyframes alertIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.alert-error {
  background: rgba(232, 64, 64, 0.15);
  border: 1px solid rgba(232, 64, 64, 0.3);
  color: #ff6b6b;
}

.alert-success {
  background: rgba(48, 192, 96, 0.15);
  border: 1px solid rgba(48, 192, 96, 0.3);
  color: #51cf66;
}

/* Footer */
.login-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 1px;
}
