* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.login-wrapper {
    text-align: center;
    width: 350px;
}

.logo img {
    width: 80px; /* Adjust the size of the PNG logo */
    height: auto;
    margin-bottom: 20px;
}

.spinner {
    width: 20px;   /* fixed size */
    height: 20px;  /* fixed size */
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    right: -43px;
}

.input-group input {
    padding: 12px;
    padding-left: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 87%;

}

.icon {
    position: absolute;
    left: -42px;
    background-color: #f0f0f0;
    padding: 8px 11px;
    border-radius: 5px;
    border: 0.5px solid gray;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #269dd7;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background-color: #269dd7;
}

.forgot-link {
    display: block;
    margin-top: 10px;
    color: #b8bcbf;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

#error-message {
    color: red;
    margin-top: 10px;
}
