﻿
/* (Keep all your existing CSS styles) */
:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #3f37c9;
    --light-bg: #f8f9fa;
    --dark-text: #212529;
    --light-text: #6c757d;
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7ff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*     background-image: url('https://images.unsplash.com/photo-1513151233558-d860c5398176?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



.login-container {
    position: relative;
    z-index: 999;
    max-width: 720px;
    /*     width: 100%;*/
}

.brand-logo {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .brand-logo i {
        font-size: 2.5rem;
        color: var(--primary-color);
    }

.login-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    width: 365px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #201a1a, #201b17);
    padding: 1.75rem;
    text-align: center;
}

.card-body {
    padding: 2rem;
    background-color: white;
}

.form-control {
    height: 48px;
    border-radius: 8px;
    padding-left: 45px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
    }

.input-group-text {
    position: absolute;
    z-index: 999;
    background: transparent;
    border: none;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-text);
}

.input-group {
    position: relative;
}

.btn-login {
    background-color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

    .btn-login:hover {
        background-color: white;
        border: 1px solid #000000;
        color: #000000;
        transform: translateY(-2px);
    }

    .btn-login:active {
        transform: translateY(0);
    }

#togglePasswordBtn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: transparent;
    border: none;
    color: var(--light-text);
    cursor: pointer;
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.form-label {
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.welcome-text {
    font-weight: 400;
    color: white !important;
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 22px;
    margin-top: 10px;
}

.brand-name {
    padding: 0;
    margin-top: 22px !important;
    font-weight: 600;
    /*     color: white;*/
    /*     margin-bottom: 1.5rem;*/
    letter-spacing: 0.5px;
}

.img-logo-hack {
    margin-left: 10px
}




.design-accent-link {
    text-decoration: none;
    color: #e8740f;
}

    .design-accent-link:hover {
        color: orange;
    }
