body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 50px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
}
.container {
    position: relative;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deep shadow for focus */
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.5s ease; /* Smooth fade-in animation */
}
h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
form p {
    margin-bottom: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 16px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #1d3455;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5); /* Blue focus glow */
}
button[type="submit"] {
    background-color: #1d3455;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}
button[type="submit"]:hover {
    background-color: #1d3455;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.close-button:hover {
    color: #ff0000; /* Red color on hover */
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.error {
    list-style-type:none !important;
    color: red;  /* Adjust as needed */
    font-size: 0.9em;
}

.errorlist {
    list-style-type: none;  /* Remove bullet points */
    padding-left: 0;        /* Remove padding */
    color: red;             /* Optional: style the error text in red */
}

.errorlist li {
    display: inline;        /* Display error message inline */
    color: red;             /* Ensure error message text is red */
}
