.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.form-container {
    background-color: #161A1C;
    border-radius: 8px;
    padding: 2rem;
    width: 350px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.header-image img {
    margin: auto;
}

form {
    display: flex;
    flex-direction: column;
}

.form-container h2 {
    color: #eeeeee;
    margin-bottom: 1.5rem;
}

/* Input fields styling */
input[type="password"], input[type="email"] {
    padding: 10px 25px;
    margin: 0.5rem 0;
    border-radius: 4px;
    border: none;
    background-color: #30363C;
    color: #eeeeee;
    font-size: 14px;
    outline: none;
    transition: background 0.3s ease;
    font-family: 'Poppins';
}

input[type="password"]::placeholder,
input[type="email"]::placeholder {
    color: #b0b0b0;
}

input[type="password"]:focus,
input[type="email"]:focus {
    background-color: #434a54;
}

/* Button styling */
button[type="button"] {
    background-color: #000;
    color: #ffffff;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
    font-family: 'Poppins';
}

button[type="button"]:hover {
    background-color: #45E8C1;
}

/* Success and error messages */
.error-message {
    color: #ff4e4e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.success-message {
    color: #28a745;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Link styling */
.form-container a {
    color: #45E8C1;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 20px;
}

.form-container a:hover {
    text-decoration: underline;
}

/* Loading Screen */
.loading-screen {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.loading-screen.visible {
    opacity: 1;
    pointer-events: all;
}

#check {
    width: 50px;
    height: 50px;
    margin: auto;
}

