body {
    font-family: Arial, sans-serif;
    background-color: #cde5fc; 
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 10px;
}

h2 {
    color: #3498db;
    margin-bottom: 15px;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* Wider on bigger screens */
    text-align: center;
    box-sizing: border-box;
}

label {
    font-weight: bold;
    display: block;
    text-align: left;
    margin-top: 10px;
    color: #3498db;
}

label span {
    color: red;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 15px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 10px 0;
    flex-wrap: wrap;
    gap: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.remember-me input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}

.remember-forgot a {
    text-decoration: none;
    color: #3498db;
    font-weight: bold;
}

.sign-in-btn {
    width: 100%;
    background-color: #3498db;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.sign-in-btn:hover {
    background-color: #004080;
}

.or {
    margin: 15px 0;
    font-size: 14px;
    font-weight: bold;
}

.google-login {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 
    margin-bottom: 10px;
}

.google-icon {
    color: red; 
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.signup-link {
    margin-top: 10px;
    font-size: 14px;
}

.signup-link a {
    font-weight: bold;
    text-decoration: none;
    color: #3498db;
}

footer {
    font-size: 12px;
    margin-top: 15px;
    color: gray;
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
    position: relative;
    font-weight: bold;
    text-align: left;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.close-btn {
    position: absolute;
    top: 6px;
    right: 12px;
    cursor: pointer;
}

/* 🔹 Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        max-width: 100%; /* Take full width on small screens */
    }

    h2 {
        font-size: 20px;
    }

    input {
        font-size: 14px;
        padding: 9px;
    }

    .sign-in-btn, 
    .google-login {
        font-size: 14px;
        padding: 10px;
    }

    .remember-forgot {
        flex-direction: column;
        align-items: flex-start;
    }

    .signup-link {
        font-size: 13px;
        text-align: center;
        width: 100%;
    }
}