﻿body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #fbeff6, #e9f0fb);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.error-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4f;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.login-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-header h1 {
    margin-bottom: 8px;
    font-size: 28px;
    color: #8e44ad;
    text-align: center;
}

.login-header p {
    margin-bottom: 30px;
    font-size: 14px;
    color: #555;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-weight: 600;
        margin-bottom: 6px;
        display: block;
        color: #555;
    }

        .form-group label i {
            margin-right: 6px;
            color: #8e44ad;
        }

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s ease;
}

    .form-control:focus {
        outline: none;
        border-color: #8e44ad;
        box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.2);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
    color: #666;
}

.btn-primary {
    padding: 12px;
    background: linear-gradient(to right, #8e44ad, #c0392b);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}

    .btn-primary:hover {
        background: linear-gradient(to right, #a569bd, #e74c3c);
    }

    .btn-primary i {
        margin-right: 8px;
    }

.signup-link {
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
    color: #555;
}

    .signup-link a {
        color: #c0392b;
        font-weight: bold;
        text-decoration: none;
    }

        .signup-link a:hover {
            text-decoration: underline;
        }

.success-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-align: center;
}

.error-banner {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff4d4f;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    text-align: center;
}
