/* GLOBAL */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f0f0f;
  color: #fff;
}

/* CONTAINER */
.auth-container {
  display: flex;
  height: 100vh;
}

/* LEFT SIDE */
.auth-left {
  flex: 1;
  background: linear-gradient(135deg, #ff3b3f, #1a1a1a);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.auth-left h1 {
  font-size: 40px;
}

.auth-left p {
  color: #ddd;
  margin-top: 10px;
}

/* RIGHT SIDE */
.auth-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.auth-right h2 {
  margin-bottom: 20px;
}

/* FORM */
form {
  display: flex;
  flex-direction: column;
}

form input {
  margin-bottom: 15px;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #1a1a1a;
  color: #fff;
}

form button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #ff3b3f;
  color: #fff;
  cursor: pointer;
}

/* SWITCH */
.switch {
  margin-top: 15px;
  color: #aaa;
}

.switch a {
  color: #ff3b3f;
}

/* PRELOADER */
#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* SPINNER */
.loader {
  width: 50px;
  height: 50px;
  border: 4px solid #222;
  border-top: 4px solid #ff3b3f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* SMOOTH TRANSITIONS */
* {
  transition: all 0.3s ease;
}

/* GLASS EFFECT */
.card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

/* BUTTON UPGRADE */
.btn-primary {
  background: linear-gradient(135deg, #ff3b3f, #ff6b6f);
  box-shadow: 0 5px 20px rgba(255,59,63,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,59,63,0.6);
}

/* INPUT FOCUS */
input:focus {
  outline: none;
  border: 1px solid #ff3b3f;
  box-shadow: 0 0 10px rgba(255,59,63,0.4);
}

/* FADE-IN */
body {
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo {
  cursor: pointer;
  letter-spacing: 1px;
}

.logo:hover {
  color: #ff3b3f;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}