body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.form-box {
  background-color: #ffffff;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.form-box h2 {
  margin-bottom: 20px;
  color: #333;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 16px;
}

input:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(100, 150, 250, 0.6);
}

button {
  padding: 12px 24px;
  background-color: #5c6bc0;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background-color: #3f51b5;
}

button:active {
  transform: scale(0.98);
}

#error {
  display: block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  animation: fadeInError 0.4s ease-out;
  transition: all 0.3s ease;
}

#error:empty {
  display: none;
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.message-box {
  border: 1px solid #c3e6cb;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  font-size: 18px;
  text-align: center;
}

.message-box-error {
  background-color: #f8d7da;
  color: #721c24;
}

.message-box-success {
  background-color: #d4edda;
  color: #155724;
}
.site-title-gradient {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.8rem;
  text-align: center;
  background: linear-gradient(90deg, #5c6bc0 0%, #8e99f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.2px;
  margin-bottom: 1em;
}
.site-title-accent {
  font-family: 'Segoe UI', sans-serif;
  font-size: 3rem;
  color: #333;
  text-align: center;
  position: relative;
  margin-bottom: 0.75em;
}

.site-title-accent::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #5c6bc0;
  margin: 8px auto 0;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(92,107,192,0.4);
}
.site-title-float {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  letter-spacing: 1.2px;
  margin-bottom: 1em;
}

.site-title-float span {
  display: inline-block;
  font-size: 2.4rem;
  padding: 0.2em 0.6em;
  background: linear-gradient(90deg, #5c6bc0 0%, #8e99f3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  position: relative;
  top: 4px;
}

@media screen and (max-width: 600px) {
  body {
    padding: 10px;
    font-size: 14px;
  }
}
