@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


li {
    list-style: none;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    transition: all 0.25s ease-in-out;
    width: 100%;
    background-color: #fff;
}

#sidebar {
    width: 90px;
    min-width: 90px;
    background-color: #270133;
    transition: all 0.25s ease-in-out;
    display: flex;
    flex-direction: column;
    will-change: all;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span  {
    display: none;
}

.toggle-btn {
    width: 30px;
    height: 30px;
    color:#fff;
    border-radius: 0.425rem;
    display: flex;
    font-size: 18px;
    justify-content: center;
    align-items: center;
    background-color: #5c3493;
}

.toggle-btn i{
    color: #fff;
}

#sidebar.expand .sidebar-logo,
#sidebar.expand a.sidebar-link span {
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.sidebar-logo a{
    color:#fff;
    font-size: 1.15rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 0.7rem 0;
    flex: 1 1 auto;
    z-index: 10;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #fff;
    display: block;
    white-space: nowrap;
    font-weight: 700;
    border-left: 3px solid transparent;
}

.sidebar-link i,
.dropdown-item i {
    font-size: 1.1rem;
    margin-right: .75rem;
}

a.sidebar-link:hover {
    background-color: #402349;
    border-left: 3px solid #743bdd;
}

#sidebar:not(.expand) .sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item:hover > .has-dropdown + .sidebar-dropdown {
    display: block !important;
    position: absolute;
    top: 0;
    left: 100%;
    width: 180px;
    background-color: #270133;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#sidebar:not(.expand) .sidebar-dropdown {
    display: none;
}

.sidebar-link {
    position: relative;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border:solid;
    border-width: 0 2px 2px 0;
    content: "";
    display: inline-block;
    padding: 2.5px;
    position: absolute;
    right: 1.5rem;
    top: 1.3rem;
    transform: rotate(-135deg);
    transition: all 0.2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all 0.2s ease-out;
}

.sidebar-dropdown .sidebar-link {
    position: relative;
    padding-left: 3rem;
    transition: all 0.5s;
}

.sidebar-dropdown a.sidebar-link::before {
    content: "";
    height: 0.123rem;
    width: 0.375rem;
    background-color: #743bdd;
    position: absolute;
    left: 1.8rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.sidebar-dropdown a.sidebar-link:hover {
    background: transparent;
    border-left: 3px solid transparent;
    padding-left: 3.8rem;
    color:#743bdd;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 0 2rem 0 rgba(33, 37, 41,.1);
}

.navbar-expand .navbar-collapse {
    min-width:200px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;    
    object-fit: cover;  
}

.card {
    background-color: #fdf9ff;
    transition: .4s;
    cursor: pointer;
    color: #000;
    margin-bottom: 1rem;
    box-shadow: #f5f5f5;
}

.card h6 {
    text-transform: uppercase;
    font-size: .7165rem;
    margin-bottom: .25rem;
}

.card:hover {
    background-color: #5c3493;
    color: #fff;
    transform: translateY(-10.5px);
}

.table>thead tr {
    color: #fff;
    text-align: left;
}

tr.highlight th{
    background-color: #743bdd;
    color: #fff;
}

.content {
    flex: 1 1 auto;
}

.ue-logo {
    width: 40px;
    height: 40px;
}

footer {
    background-color: #f5f5f5;
    padding: .8rem .875rem;

}

@media (min-width: 768px) {
    .input-group-navbar .form-control:focus {
        outline: none;
        box-shadow: 0 0 0 0 white;
        border: none;
        max-width: 320px;
    }

    .input-group-navbar .form-control {
        color:dimgray;
        background-color: #f1f1f1;
        height: calc(2.44374rem +2px);
    }

    .input-group-navbar .btn {
        color: black;
        background-color: #f1f1f1;
        cursor: pointer;
        z-index: 1000;
    }

    .input-group-navbar .btn:active {
        background-color: #f1f1f1;
    }

    .navbar-expand .navbar-nav .dropdown-menu {
        box-shadow: 0.1rem .2rem rgba(0,0,0,.0.5)
    }
}

.table td, .table th {
    vertical-align: middle;
}

.member-photo {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
}
.action-btns .btn {
    margin-right: 5px;
}
.status-btn {
    background-color: #e8e8e8;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}

.btn-action {
    margin-right: 5px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 1rem;
}
.profile-container {
      max-width: 900px;
      margin: 50px auto;
      background: white;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0,0,0,0.05);
    }
    .profile-header {
      display: flex;
      align-items: center;
      gap: 20px;
    }
    .profile-header img {
      width: 120px;
      height: 120px;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid #FF5E5B;
    }
    .profile-info h3 {
      margin: 0;
    }
    .profile-card {
      margin-top: 30px;
    }
    .card h5 {
      font-weight: bold;
    }

    a.sidebar-link.active {
        background-color: #402349; /* matches your hover bg color */
        border-left: 3px solid #743bdd; /* purple left border */
        color: #fff !important;
    }
