/* CSS generato da register.php */

.rf-register-1 {
  margin-top: 15px;
}

.rf-register-2 {
  text-align: center;
  margin-top: 20px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.register-box {
  background: #fff;
  padding: 25px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}
.register-box h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
}
.register-box label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}
.register-box input[type="text"],
.register-box input[type="email"],
.register-box input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}
.register-box button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.register-box button:hover {
  background-color: #0056b3;
}
.register-box button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.error,
.success {
  padding: 10px 15px;
  margin-bottom: 15px;
  border-radius: 4px;
  text-align: left;
}
.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.password-wrapper {
  position: relative;
  margin-bottom: 15px;
}
.password-wrapper input {
  margin-bottom: 0;
  padding-right: 40px;
}
.toggle-password {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  cursor: pointer;
  color: #777;
}

/* Stile per il blocco reinvio */
.resend-box {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: center;
}
.resend-box p {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}
.resend-box button {
  background-color: #6c757d;
}
.resend-box button:hover:not(:disabled) {
  background-color: #5a6268;
}
