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

.login-container {
    width: 400px;
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.logo img {
    width: 150px;
    margin-bottom: 30px;
}

h2 {
    margin-top: 0;
    font-size: 28px;
    color: #1877f2;
}

p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.login-container input {
    width: 90%;
    padding: 15px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
}

.login-container input:focus {
    border-color: #1877f2;
    box-shadow: 0 0 6px rgba(24, 119, 242, 0.2);
}

.password-container {
    position: relative;
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.login-container button {
    width: 98%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    background-color: #1877f2;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.login-container button:hover {
    background-color: #155ab6;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.success-message {
    color: green;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.links {
    margin-top: 20px;
}

.links a {
    font-size: 14px;
    color: #1877f2;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.links a:hover {
    text-decoration: underline;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}