@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(to bottom, #bfe4ff, #eaf6ff);
  background-image: url('foto.jpeg');
  background-size: cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.auth-box {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  width: 360px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.auth-box:hover {
  transform: translateY(-3px);
}

.auth-box h2 {
  margin-bottom: 25px;
  font-weight: 600;
  color: #333;
}

label {
  display: block;
  text-align: left;
  margin: 10px 0 5px;
  font-size: 14px;
  color: #444;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin-bottom: 15px;
  outline: none;
  transition: 0.2s;
}

input:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.btn {
  width: 100%;
  padding: 10px;
  background: #000;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #333;
}

.switch-text {
  margin-top: 20px;
  color: #555;
  font-size: 14px;
}

.switch-text a {
  color: #007bff;
  text-decoration: none;
}

.switch-text a:hover {
  text-decoration: underline;
}

.error {
  background: #ffe4e4;
  color: #d9534f;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.success {
  background: #e8f9e8;
  color: #28a745;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}
