/* login.css */
body {
    background-color: #0A4C66;
    background-image: url("../images/img2.jpg");
    font-family: 'Poppins', Arial, sans-serif;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-block-size: 100vh;
}

/* Login Container - Ensures Proper Centering */
.login-container {
    background-color: #1E2D3B;
    inline-size: clamp(600px, 35vw, 800px); /* Keeps it large on desktop */
    padding: 2vw;
    border: #ffffff 2px solid;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center; /* Aligns content inside */
    justify-content: center;   
}

.login-container:hover {
    transform: scale(1.02);
}

/* Form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    inline-size: 100%; /* Ensures full width */
    border-radius: 50px;
    transition: transform 0.3s ease-in-out;
}

/* Inputs */
input {
    inline-size: 90%;
    block-size: 30px;
    padding: 1vh;
    margin-block-end: 1.5vh;
    border-radius: 50px;
    border: none;
    font-size: clamp(14px, 1.5vw, 18px);
    background: #d9d9d9;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Login Button */
button.login-btn {
    inline-size: 100%;
    padding: 1.2vh;
    background-color: #B0B0B0;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
}

button.login-btn:hover {
    background-color: #0A4C66;
}


/* Signup Button */
.signup-btn {
    display: inline-block;
    background-color: #B0B0B0;
    padding: 0.8vh 1.5vw;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.signup-btn:hover {
    background-color: #999;
}

/* Forgot Password */
.forgot-password-btn {
    display: inline-block;
    background-color: #B0B0B0;
    padding: 0.8vh 1.5vw;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    color: black;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.forgot-password-btn:hover {
    background-color: #999;
}

/* Footer */
.footer {
    inline-size: 99%;
    background-color: #333;
    color: white;
    font-weight: bolder;
    text-align: center;
    padding: 10px;
    position: relative;
    margin-block-start: auto; /* Pushes the footer to the bottom */
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        inline-size: 90%;
        padding: 5vw;
    }

    input, button.login-btn {
        inline-size: 100%;
    }
}
