body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #3498db, #9b59b6, #e74c3c, #f1c40f);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-container {
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: none;
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: none;
    padding: 30px 20px 20px;
    position: relative;
}

.card-header h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
}

.card-body {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    /* margin-bottom: 15px; */
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 0 0.25rem rgba(155, 89, 182, 0.25);
}

.btn-login {
    background-color: #9b59b6 !important;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #8e44ad;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.footer-links a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #9b59b6;
}

.brand-logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

.brand-logo img {
    height: 50px;
    width: auto;
}

.input-group-text {
    border-radius: 8px 0 0 8px !important;
    border-right: none;
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    color: #7f8c8d;
    z-index: 10;
}
