body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container styling */
.container {
    width: 400px;  /* Increased width */
    padding: 40px; /* Increased padding */
    background-color: #fff;
    border-radius: 10px; /* More rounded corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: center; /* Center align header */
}

input[type="email"],
input[type="password"],
button[type="submit"] {
    width: 100%;
    padding: 15px; /* Increased padding */
    margin-bottom: 15px; /* Increased margin */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px; /* Increased font size */
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #45a049;
}

p {
    font-size: 16px; /* Increased font size */
    text-align: center; /* Center align text */
}

a {
    color: blue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Loading spinner styling */
.spinner {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.dot1,
.dot2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #5652BF;
    opacity: 0.6;
    position: absolute;
    animation: pulsate 1.5s infinite ease-in-out;
}

.dot2 {
    animation-delay: -0.75s;
}

@keyframes pulsate {
    0%,
    100% {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

/* Blur overlay styling */
.blur-overlay {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.blur {
    filter: blur(1px);
}

/* Message styling */
#message {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    z-index: 10;
    animation: dropDown 0.5s ease-in-out forwards;
}

@keyframes dropDown {
    0% {
        top: -100px;
        opacity: 0;
    }
    100% {
        top: 50%;
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

#message.success {
    color: #ffffff;
    background-color: #01370d;
    border: 1px solid #003a0e;
}

#message.error {
    color: #ffffff;
    background-color: #e60d0d;
    border: 1px solid #ff0019;
}
