﻿body {
    background: linear-gradient(190deg, #1a1a2e, #1a1a2e);
    animation: gradientAnimationForBody 1s ease infinite;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 90%;
    max-width: 450px;

    background: #2b2b2b;
}

.login-header {
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

    .login-header::before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        right: -1px;
        bottom: -1px;
        
        background: linear-gradient(270deg,#1a1a2e, #2a2a4a);
        animation: gradientAnimationForBody 1s ease infinite;
        z-index: 0;
        border-radius: 12px 12px 0 0;
    }

.login-header-content {
    position: relative;
    z-index: 1;
}

.login-header h2 {
    position: relative;
    z-index: 1;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.login-body {
    padding: 2.5rem;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.form-control {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s;
    margin-bottom: 1rem;
    background-color: #fff;
}

    .form-control:focus {
        border-color: #4a4a4a;
        box-shadow: 0 0 0 0.25rem rgba(74, 74, 74, 0.25);
    }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 4;
}

.form-control.ps-5 {
    padding-left: 40px !important;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.forgot-password {
    margin-top:-100px;
    line-height: 24px;
}

.btn-login {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(45deg, #1a1a2e, #2a2a4a,#2a2a4a);
    background-size: 200% 200%;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .btn-login:hover {
        background: linear-gradient(45deg, #1a1a2e, #2a2a4a,#2a2a4a,#2a2a4a );
        background-size: 200% 200%;
        animation: gradientAnimation 3s ease infinite;
        transform: translateY(-2px);
        color: aliceblue;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }

    .btn-login:active {
        transform: translateY(0);
    }

@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientAnimationForBody {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.forgot-password {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: inline-block;
    margin-top: 3px;
}

    .forgot-password:hover {
        color: #3a3a3a;
    }

.form-check {
    margin: 1rem 0;
}

.form-check-label {
    color: black;
}

.form-check-input:checked {
    background-color: #4a4a4a;
    border-color: #4a4a4a;
}

.text-center {
    text-align: center;
}

.form-label {
    color: black;
}


