* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #a01a1a;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px),
        linear-gradient(135deg, #a01a1a, #680e0e);
    background-size: 30px 30px, 100% 100%;
    background-attachment: fixed;
}

.login-container {
    background: #ffffff;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.login-container h1 {
    color: #8B0000;
    margin-bottom: 8px;
}

.subtitle {
    color: #667;
    font-size: 14px;
    margin-bottom: 24px;
}

.login-form {
    text-align: left;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #334;
    font-weight: 500;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;  
    border-color: #8B0000;
}

button {
    width: 100%;
    padding: 12px;
    background: #8B0000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover {
    background: #690101;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #520606;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
}

.error-message {
  margin-top: 14px;
  padding: 10px 12px;
  background: #fdecea;
  color: #b02a37;
  border: 1px solid #f5c2c7;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}