/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  overflow: hidden;
  color: #fff;
}

/* === BACKGROUND EFFECT === */
.background {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?auto=format&fit=crop&w=1200&q=80')
    center/cover no-repeat;
  filter: blur(10px) brightness(0.5);
  z-index: -1;
}

/* === TITLE === */
.main-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* === AUTH CONTAINER === */
.auth-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  width: 350px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  transition: 0.3s ease;
  animation: fadeIn 0.5s ease-in-out;
}

.auth-container:hover {
  transform: scale(1.02);
}

/* === FORM TITLE === */
.form-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* === INPUT GROUP === */
.input-group {
  position: relative;
  margin-bottom: 1.3rem;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #ddd;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px 35px;
  border: none;
  border-bottom: 2px solid #bbb;
  background: transparent;
  color: #fff;
  outline: none;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}

.input-group label {
  position: absolute;
  left: 35px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 0.9rem;
  pointer-events: none;
  transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #00c6ff;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
  top: -8px;
  left: 30px;
  font-size: 0.8rem;
  color: #00c6ff;
}

/* === BUTTONS === */
.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 25px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* === LINKS & TEXT === */
.recover a {
  color: #00c6ff;
  font-size: 0.9rem;
  text-decoration: none;
}

.or {
  text-align: center;
  margin: 1rem 0;
  color: #aaa;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons i {
  font-size: 1.5rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons i:hover {
  background: #00c6ff;
  transform: scale(1.1);
}

.switch-link {
  text-align: center;
  margin-top: 1rem;
}

.switch-link button {
  border: none;
  background: none;
  color: #00c6ff;
  font-weight: 600;
  cursor: pointer;
}

/* === ANIMATION === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
