/* Tunars GSM Premium Auth Design */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --accent-color: #4895ef;
  --text-dark: #2b2d42;
  --text-light: #8d99ae;
  --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --card-bg: rgba(255, 255, 255, 0.95);
}

body {
  font-family: "Outfit", sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  transition: transform 0.3s ease;
}

.auth-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  padding: 40px 30px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.auth-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.auth-logo {
  width: 70px;
  height: 70px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 30px;
  color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.auth-title {
  font-weight: 700;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.auth-subtitle {
  opacity: 0.8;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.auth-body {
  padding: 40px 30px;
}

.form-floating > .form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  height: calc(3.5rem + 2px);
  padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.form-floating > label {
  padding: 1rem 0.75rem;
}

.btn-auth {
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e9ecef;
}

.divider:not(:empty)::before {
  margin-right: 0.5em;
}

.divider:not(:empty)::after {
  margin-left: 0.5em;
}

.social-btns .btn {
  border-radius: 10px;
  padding: 10px;
  transition: all 0.2s;
}

.social-btns .btn:hover {
  transform: translateY(-2px);
}

.auth-footer {
  text-align: center;
  margin-top: 25px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Password Strength Meter */
.progress-thin {
  height: 4px;
  border-radius: 2px;
  margin-top: 8px;
  background: #e9ecef;
}
