﻿/* =========================
   Navbar Glass Effect
========================= */
/*.menusBar {
        background: rgba(255, 255, 255, 0.95);
    box-shadow: 0px -4px 4px 5px #000;
 
}*/

.menusBar {
    width: 100%;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0px -4px 4px 5px #000;
}

    /* When scrolling */
    .menusBar.sticky {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        box-shadow: 0px -4px 4px 5px #000;
        animation: slideDown 0.3s ease-in-out;
    }

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}


/* Mobile Offcanvas */
.offcanvas-start {
    width: 280px;
    transition: transform 0.4s ease-in-out;
}

.offcanvas-body .nav-link {
    font-size: 16px;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
}

    .offcanvas-body .nav-link:hover {
        background: #f2f2f2;
    }




/* =========================
   Navbar Links
========================= */
.navbar-nav .nav-link {
    position: relative;
    font-weight: 600;
    color: #000;
    padding: 2px 16px;
    margin-right: 2px;
    margin-bottom: 2px;
    transition: 0.3s;
    /*    background: #12569b;*/
/*    border-radius: 5px;*/
/*    border-right: 1px solid #000;*/
}

/* 🔥 Remove border from last menu */
.navbar-nav .nav-item:last-child .nav-link {
    border-right: none;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show
/* Hover color */
.navbar-nav .nav-link:hover {
    background: #0f9186;
    color: #FFF;
}

/* Animated underline */
/*    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 20px;
        height: 2px;
        background: #0d6efd;
        transition: 0.3s ease;
        transform: translateX(-50%);
    }*/

/*    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        width: 70%;
    }*/

/* =========================
   Dropdown on Hover
========================= */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    animation: dropdownFade 0.35s ease forwards;
}

/* Remove click only behavior */
.dropdown-toggle::after {
    transition: 0.3s;
}

/*.nav-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}*/

/* =========================
   Dropdown Menu Design
========================= */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 220px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
    opacity: 0;
    transform: translateY(10px);
    position: absolute;
    right: 0px;
}

@media (max-width: 576px) {
    .dropdown-menu {
        /*right: 10px;*/ /* small margin from screen edge */
        left: 5px;
        min-width: 180px; /* smaller width for phones */
    }
}


/* Dropdown items */
.dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: 0.3s;
}

    .dropdown-item:hover {
        background: linear-gradient(90deg, #0d6efd, #6610f2);
        color: #fff;
    }

/* =========================
   Dropdown Animation
========================= */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Logo Hover Effect
========================= */
.navbar-brand img {
    transition: 0.4s ease;
}

.navbar-brand:hover img {
    transform: scale(1.08);
}


.profile-main {
    position: relative;
}

/* Profile image */
.profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

/* Force Bootstrap dropdown to work on hover */
.profile-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    display: block !important; /* override bootstrap */
    pointer-events: none;
}

/* When hovering profile area */
.profile-main:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}






/*footer*/
.footer-section {
    background: #000;
    padding: 5px 0;
    /*    position: absolute !important;*/
    /*    bottom: -14px !important;*/
}

.footer-menus a {
    border-right: 1px solid #fff;
    padding: 0 10px;
    color: #fff;
}

    .footer-menus a:last-child {
        border-right: none;
    }

.footer p a {
    margin: 0;
}
/*Mobile Menu*/
.offcanvas-start {
    width: 270px;
    transition: all 0.4s ease-in-out;
}

.nav-link {
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 991px) {
    .navbar {
        padding: 10px 15px;
    }
}




/*Login*/

.login-container {
    /*    height: 50vh;*/
    padding: 50px 0;
}

.login-image {
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f') center center/cover no-repeat;
}

.login-card {
    max-width: 400px;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 10px 0px #000;
}

.form-control {
    height: 48px;
    border-radius: 8px;
}

.btn-login {
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(45deg, #0d6efd, #6610f2);
    border: none;
    color: #fff;
    font-weight: 600;
}

    .btn-login:hover {
        opacity: 0.9;
    }

.content-section {
    padding-top: 40px;
    padding-bottom: 50px;
}

/* Dashboard Cards */
.dashboard-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    height: 100%;
}

    .dashboard-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}


/*forms*/
label {
    margin-bottom: 8px;
 
}

.form-group {
    position: relative;
    margin-bottom: 28px;
}

    /* Label */
    .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #000;
        margin-bottom: 6px;
        display: block;
    }

/* Input */
.form-control {
    width: 100%;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    border-radius: 0;
    padding: 10px 2px;
    font-size: 15px;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 3px -1px #000;
}

    /* Focus */
    .form-control:focus {
        outline: none;
        border-bottom-color: #6366f1;
        box-shadow: 0 3px 8px rgba(99,102,241,0.15);
    }

    /* Hover */
    .form-control:hover {
        border-bottom-color: #c7c9ff;
    }

/* Error */
.text-danger {
    font-size: 12px;
    margin-top: 6px;
    color: #dc2626;
}

/* Card */
.form-card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}



.password-wrapper {
    position: relative;
}

    /* Input */
    .password-wrapper .form-control {
        padding-right: 42px;
    }

/* Eye Icon Box */
.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

    .toggle-password:hover {
        background: #e0e7ff;
    }

    /* Eye icon */
    .toggle-password i {
        font-size: 18px;
        color: #555;
    }
