body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url('logo.jpg') center center no-repeat;
    background-size: 600px;
    opacity: 0.2; /* Faint effect */
    z-index: 0;
    pointer-events: none; /* Keep it out of the way */
}

body {
    position: relative;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    z-index: 1;
}

* {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box; /* Corrected from padding-box */
    font-style: normal;
}

form {
    position: relative; /* Enables absolute positioning inside the form */
    max-width: 1000px;
    width: 100%;
    border: 5px solid #bf0000;
    padding: 60px 20px 20px; /* Extra top padding for logo spacing */
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* Logo entrance animation */
@keyframes logoSlideFade {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Top-right logo style */
.form-logo {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 80px;
    height: auto;
    border: 3px solid #bf0000; /* Bold red border */
    border-radius: 8px; /* Smooth rounded corners */
    padding: 4px; /* Creates space between image and border */
    background-color: #fff; /* Optional: clean backdrop behind the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Optional: soft depth */
    
    /* Animated slide-in effect */
  animation: logoSlideFade 1.4s ease-out forwards;
}



button[type="submit"] {
    background-color: #bf0000; /* Vibrant red */
    color: #fff; /* White text */
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button[type="submit"]:hover {
    background-color: #990000; /* Darker red on hover */
    transform: translateY(-2px); /* Subtle lift effect */
}

input[type="text"],
input[type="password"] {
    background-color: #fff; /* White background */
    color: #000; /* Black text */
    border: 2px solid #bf0000; /* Bold red border */
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 10px;
}



h1 {
    background: linear-gradient(to right, #bf0000, #fff); /* Red to white gradient */
    color: #fff; /* White text */
    padding: 15px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Adds shadow behind text */
}
