﻿@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    font-family: 'Figtree', sans-serif;
    background: url('/image/BG.png') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    background-blend-mode: multiply;
}

.login-card {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards 0.2s;
}

    .login-card label,
    .login-card p,
    .login-card a,
    .login-card .invalid-feedback {
        color: white !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

.login-header h2 {
    color: #22353E !important;
    font-weight: 700;
    font-size: 2.2rem;
    text-shadow: none !important;
}

.form-control {
    border-radius: 30px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white !important;
    box-shadow: none !important;
    transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

    .form-control:focus {
        border-color: #0466C8;
        box-shadow: 0 0 0 0.25rem rgba(4, 102, 200, 0.4) !important;
        background-color: rgba(255, 255, 255, 0.25);
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.8) !important;
        text-shadow: none;
    }

.login-btns {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    background-color: #22353E;
    color: white;
    transition: background-color 0.3s ease;
    text-shadow: none !important;
}

    .login-btns:hover {
        background-color: #22353E;
    }

.show-hide {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
    /* Style for the icon container */
    .show-hide .ri-icon {
        display: block;
        font-size: 1.2rem;
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    .show-hide span.show::before {
        content: "\ecb5";
        font-family: 'remixicon';
        font-size: 1.125rem;
        color: rgb(14 14 14 / 50%);
    }

    .show-hide span::before {
        content: "\ecb7";
        font-family: 'remixicon';
        font-size: 1.125rem;
        color: rgb(14 14 14 / 50%);
    }

#email.form-control:valid,
#password.form-control:valid {
    background-image: none !important;
    padding-right: 15px !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

@media (min-width: 992px) {
    body {
        padding: 0 60px;
    }

    .login-card {
        margin:0 auto;
    }
}

@media (max-width: 991px) {
    body {
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .login-card {
        padding: 30px 20px;
        margin-bottom: 0;
    }
}
.login-footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 14px;
    color: #fff;
    opacity: 0.9;
    font-family: "Figtree", sans-serif;
}
