/* General styles for the body */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f9fc;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Center the content in a container */
.container {
    background-color: #ffffff;
    padding: 40px; /* Increased padding */
    border-radius: 12px; /* Slightly larger border radius */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Enhanced shadow for better emphasis */
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

h1 {
    font-size: 30px; /* Increased font size */
    color: #333333;
    margin-bottom: 30px; /* Added more space below the heading */
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    width: 100%;
    margin-bottom: 25px; /* Increased space between fields */
    text-align: left;
}

label {
    margin-top: 10px;
    font-weight: bold;
    color: #555555;
    display: block;
    margin-bottom: 8px; /* Added more space below labels */
}

input[type="password"] {
    width: 100%;
    padding: 12px; /* Increased padding for better touch targets */
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* p{
    text-align: left;
    margin-top: 12px;
    margin-bottom: 2px;
    border: 1px solid #a1a1a1;
    border-radius: 5px;
} */


p {
    max-width: 600px;
    text-align: left;               
    margin: 1rem auto;              
    padding: 1rem;                  
    background-color: #f9f9f9;    
    border-radius: 5px;             
    border: 1px solid #ddd;         
    color: #333;                  
              
}

p span {
    display: block;
    line-height: 1.25;        
    margin-bottom: 0.5rem; 
}

.error, .success {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.error {
    color: red;
}

.success {
    color: green;
}

button {
    margin-top: 20px;
    padding: 14px 24px; /* Larger button */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%; /* Button spans the width */
    max-width: 250px; /* Slightly wider max width */
}

button:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 26px;
    }

    .container {
        padding: 30px;
        max-width: 90%;
    }

    input[type="password"], button {
        font-size: 14px;
    }

    button {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    input[type="password"] {
        font-size: 14px;
        padding: 10px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }

    p {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

