﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Card */
.login-card {
    width: 100%;
    max-width: 400px;
    background: #29497c;
    border-radius: 15px;
    padding: 20px;
}

    /* Input */
    .login-card .form-control {
        height: 48px;
        border-radius: 8px;
    }

/* Icons */
.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
}

/* Button */
.login-card .btn {
    height: 48px;
    border-radius: 8px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 576px) {
    .login-card {
        margin: 15px;
        padding: 20px;
    }
}
/* Wrapper */
.login-wrapper {
    width: 100%;
    max-width: 420px;
}

/*dashboard*/
/* Top Navbar */
.top-navbar {
    background: #1f78c1;
    min-height: 52px;
}

    /* Brand Box */


    /* Nav Links */
    .top-navbar .nav-link {
        color: #fff !important;
        font-size: 15px;
        font-weight: 500;
        padding: 10px 8px;
        transition: 0.3s;
    }

        .top-navbar .nav-link:hover {
            color: #dceeff !important;
        }

/* Logout */
.logout-btn {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

    .logout-btn:hover {
        color: #dceeff;
    }

/* Breadcrumb */
.breadcrumb-bar {
    background: #e9e9e9;
    padding: 8px 15px;
    font-size: 14px;
    color: #444;
}

/* Mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #1f78c1;
        padding: 15px;
        margin-top: 10px;
    }

    .top-navbar .nav-link {
        padding: 10px 0;
    }

    .brand-text {
        font-size: 18px;
    }
}
/*logoutmodal*/
#logoutModal .modal-content {
    border-radius: 12px;
    border: none;
}

#logoutModal .btn {
    min-width: 100px;
}
/*submenu*/
.dropdown-submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 230px;
    display: none;
    z-index: 2000;
}

    .dropdown-submenu .submenu.show {
        display: block;
    }

    /* OPEN LEFT IF NO SPACE RIGHT */
    .dropdown-submenu .submenu.left-open {
        left: auto;
        right: 100%;
    }

.dropdown-item:hover {
    background: white;
    color: #1f78c1 !important;
}

.dropdown-menu {
    overflow: visible !important;
}
/* Parent submenu item active while child open */
.dropdown-submenu > .dropdown-item {
    position: relative;
    color: #fff !important;
    background: transparent !important;
}

    /* Keep parent highlighted when submenu open/hover */
    .dropdown-submenu:hover > .dropdown-item,
    .dropdown-submenu > .dropdown-item.active-submenu {
        background: white !important;
        color: #1f78c1 !important;
    }

    /* Arrow alignment */
    .dropdown-submenu > .dropdown-item.dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

.dropdown-divider {
    background: white !important;
}

.dashboard-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 14px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 30px;
}

    .dashboard-footer strong {
        color: #fff;
    }

@media (max-width: 768px) {
    .dashboard-footer {
        text-align: center;
        font-size: 13px;
    }
}

.employee-page {
    background: #f3f3f3;
}

/* Card */
.employee-card {
    border: 1px solid #bdbdbd;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}

/* Blue Header */
.section-title {
    background: #1675c7 !important;
    color: white !important;
    font-size: 22px;
    font-weight: 600;
    padding: 12px 18px;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

/* Labels */
.employee-card label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* Inputs */
.employee-card .form-control,
.employee-card .form-select {
    border-radius: 4px;
    min-height: 42px;
    border: 1px solid #ced4da;
    font-size: 14px;
}

/* Textarea */
.employee-card textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

/* Submit Button */
.submit-btn {
    background: #000;
    color: #fff;
    border: 2px solid #f0ad00;
    padding: 10px 28px;
    font-weight: 600;
    border-radius: 0;
}

    .submit-btn:hover {
        background: #222;
        color: #fff;
    }

/* Mobile */
@media (max-width: 768px) {
    .section-title {
        font-size: 18px;
    }

    .submit-btn {
        width: 100%;
    }
}
.dashboard-footer a{
    color:white !important;
}
.custom-acc-btn{
    background:#0d6efd;
    color:#fff;
    font-weight:600;
    border-radius:10px !important;
    padding:18px 20px;
}

.custom-acc-btn:not(.collapsed){
    background:#0d6efd;
    color:#fff;
    box-shadow:none;
}

.custom-acc-btn::after{
    filter: brightness(0) invert(1);
}

.accordion-button:focus{
    box-shadow:none;
    border:none;
}

.accordion-body{
    border:1px solid #ddd;
    border-top:none;
    border-radius:0 0 10px 10px;
}
