@import url("colors.css");

/* Global styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--login-bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* Login container */
.login-container {
    width: 100%;
    max-width: 400px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px var(--card-shadow-color);
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* Fade in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form elements */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid var(--input-border-color);
    border-radius: 6px;
    font-size: 16px;
    background: var(--input-bg);
    color: var(--text-color);
}

/* Button styles */
button {
    width: 100%;
    padding: 12px;
    background: var(--button-bg-color);
    color: var(--button-text-color);
    font-size: 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: var(--button-hover-bg-color);
}

/* Error message */
.error {
    color: var(--error-text-color);
    font-size: 14px;
    margin-top: 10px;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: var(--text-light);
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.info {
    background-color: var(--primary);
}

.notification.success {
    background-color: var(--success);
}

.notification.error {
    background-color: var(--danger);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
