* {
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body {
  margin: 0;
  background-color: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.auth-container {
  width: 90%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 180px;
  height: auto;
  margin-bottom: 40px;
  display: block;
}

h2 {
  margin-bottom: 20px;
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

label {
  font-size: 14px;
  margin-top: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-bottom: 1px solid #555;
  background: transparent;
  color: #fff;
}

input:focus {
  outline: none;
  border-bottom-color: #fff;
}

.remember-container {
  display: flex;
  justify-content: flex-end;
  font-size: 12px;
  margin-top: 10px;
}

.link {
  color: #bbb;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
  color: #fff;
}

.register-link {
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
}

.primary-btn {
  background-color: red;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 50px;
  margin-bottom: 30px;
}

.primary-btn:hover {
  background-color: #cc0000;
}

.error-banner {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d30000; 
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  display: none; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bg-rosso { background-color: #d30000 !important; }
.bg-verde { background-color: #28a745 !important; }