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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.5;
    color: #333;
}

.login-container {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 20px; /* Add some margin for smaller screens */
}

.login-container h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1c1e21;
}

.login-container .tagline {
    font-size: 1rem;
    color: #606770;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #4b4f56;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccd0d5;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    border-color: #1877f2; /* Facebook blue for focus */
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 119, 242, 0.2);
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #1877f2; /* Facebook blue */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #166fe5; /* Slightly darker blue on hover */
}

.login-button:active {
    background-color: #1465d1; /* Even darker blue on active */
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
}

.footer-note {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #8a8d91;
}


/* Responsive Adjustments */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        margin: 15px;
        box-shadow: none; /* Simpler look on very small screens */
        border: 1px solid #e0e0e0;
    }

    .login-container h1 {
        font-size: 1.6rem;
    }
}