body {
    margin: 0;
    padding: 0;
    font-family: "Libre Franklin", sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #EAEAEA;
}

.password-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 7rem 1.5rem 1.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 450px;
    height: 450px;
    
    
    

    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-align: left;
    max-width: 100%;
}

input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

input:focus {
    border-color: #a60f00;
    box-shadow: 0 0 5px rgba(166, 15, 0, 0.5);
    outline: none;
}

input::placeholder {
    color: #aaa;
    opacity: 1;
}

input:hover {
    border-color: #555555;
}

.submit-pass {
    padding: 10px;
    background-color: #a60f00;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px auto;
    width: 85%;
    display: block;
}

.submit-pass:hover {
    background-color: #800000;
   
}

.helper-text {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    text-align: center;
}

h2 {
    margin-bottom: 1.99rem;
    color: #333;
}

.error-message {
    color: red;
    font-size: small;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    text-align: left;
    display: none;
}

.back-home-link {
    display: inline-block;
    margin-top: 1rem;
    color: #a60f00;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
   
}

.back-home-link:hover {
    color: #800000;
    
}
/* Responsive Styles */
@media (max-width: 768px) {
    .password-form {
        width: 90%;
        height: auto; 
        padding: 5rem 1rem; 
    }

    h2 {
        font-size: 1.5rem;
    }

    input, .submit-pass {
        font-size: 14px;
    }
}

@media (max-width: 480px) { 
    .password-form {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 1.2rem; 
    }

    input, .submit-pass {
        font-size: 12px; 

    .submit-pass {
        padding: 8px; 
    }

    .helper-text, .error-message {
        font-size: 0.8rem; 
    }
}}