body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

/* === PAGE LAYOUT === */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(7, 0, 32);
    min-height: 100vh;
    box-sizing: border-box;
    
}

/* === LOGIN CONTAINER === */
.login-container {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 95vh; /* So it doesn't push footer off-screen */
    max-width: 90vw; /* Prevent overflow on zoom */
    background-color: rgba(255, 0, 0, 0.404);
    color: white;
    padding: 1rem 1rem;
    border-radius: 10px;
    overflow-wrap: break-word;
    width: 100%;
    max-width: 450px; /* Ideal width for login forms */
    ;
}

/* === FORM === */
.auth-form {
    display: flex;
    flex-direction: column;
    background-color: rgba(26, 26, 0, 0.021);
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* === LABELS === */
.label-style {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* === BUTTON === */
.submit-button {
    background-color: rgb(7, 0, 32);
    border: none;
    color: aliceblue;
    padding: 0.3rem;
    margin: 0 0;
    border-radius: 8px;
    width: 6rem;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
}

.submit-button:hover {
    background-color: rgb(255, 0, 0);
    transform: scale(1.05); /* Slight scale to avoid layout shift */
}

/* === IMAGES === */
img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* === LINKS === */
a {
    color: red;
    text-decoration: none;
}

a:hover {
    color: rgb(255, 49, 49);
}

/* === ERROR MESSAGE === */
.error-message {
    color: rgb(255, 255, 255);
    font-weight: bold;
    margin-bottom: 1em;
    text-align: center;
}

/* === FOOTER === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0000007e; /* dark blue to match your theme */
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* keeps it above everything else */
}

footer p {
    color: rgb(255, 255, 255);
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;

}

input{
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  border-radius: 0.4rem;
  border: none;
  margin-top: 5px;
  font-size: 1rem;
  font-weight: 600;
  padding-left: 1rem;
  
}

label span{
    color: red;
}
label{
    font-weight: 600;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 500px) {
    .login-container {
        padding: 0.8rem;
        border-radius: 8px;
        max-width: 95vw;
    }

    .auth-form {
        gap: 10px;
    }

    img {
        width: 60px;
        height: 60px;
    }
}
