/* ============================================================
   BIKE CLUB - Admin Portal CSS
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&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");

:root {
    --primary-color: #f48525;
    --secondary-color: #64748b;
    --primary-hover: #e67412;
}

body.admin-body {
    background: #f1f5f9;
    font-family: "Poppins";
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Sidebar ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
#sidebar-wrapper {
    min-height: 100vh;
    width: 260px;
    min-width: 260px;
    transition: width 0.3s ease;
    z-index: 999;
}

#wrapper.toggled #sidebar-wrapper {
    width: 0;
    min-width: 0;
    overflow: hidden;
}

#page-content-wrapper {
    min-width: 0;
}

#sidebar-wrapper .list-group-item {
    border: none;
    border-radius: 0;
    padding: 0.65rem 1.25rem;
    font-size: 13px;
    transition: background 0.15s;
}

    #sidebar-wrapper .list-group-item:hover,
    #sidebar-wrapper .list-group-item.active {
        background-color: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }

    #sidebar-wrapper .list-group-item.active {
        border-left: 3px solid var(--primary-color);
        font-weight: 600;
    }

.sidebar-heading {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 8px;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Stat Cards ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.card {
    border-radius: 10px;
}

.display-6 {
    font-size: 2rem !important;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Data Tables ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    font-weight: 600;
    background: var(--primary-color);
}

.table-hover tbody tr:hover {
    background: #f1f5f9;
    cursor: default;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Badges ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.badge {
    font-weight: 500;
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

    .badge i {
        color: #fff !important;
    }

.blue {
    background-color: #3b82f6 !important;
}

.teal {
    background-color: #14b8a6 !important;
}

.purple {
    background-color: #8b5cf6 !important;
}
/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Buttons ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.btn-xs {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

.dropdown-item:active {
    background-color: transparent;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Tabs ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.nav-tabs .nav-link {
    color: #64748b;
    border: none;
}

/* .nav-tabs .nav-link.active {
  color: #1e3a8a;
  border-bottom-color: #1e3a8a;
  font-weight: 600;
} */

.nav-pills .nav-link {
    color: var(--primary-color);
}

    .nav-pills .nav-link.active {
        background: var(--primary-color);
    }

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Modals ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.modal-header {
    background: #f8fafc;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Charts ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
canvas {
    max-width: 100%;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Alerts ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.alert {
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Responsive ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
@media (max-width: 992px) {
    #sidebar-wrapper {
        width: 0;
        min-width: 0;
        overflow: hidden;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 260px;
        min-width: 260px;
        overflow: visible;
    }
}

/* All members tab */
table code {
    color: var(--primary-color);
}

i,
.fas {
    color: var(--primary-color) !important;
}

.active > .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.page-link {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.primary-btn {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s ease;
    border-radius: 6px;
    /* padding: 6px 12px; */
    width: auto;
    border: 1px solid var(--primary-color);
}

    .primary-btn:hover {
        color: #fff !important;
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }

        .primary-btn:hover i {
            color: #fff !important;
        }

    .primary-btn i {
        color: var(--primary-color) !important;
    }

.secondary-btn {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    transition: all 0.3s ease;
    border-radius: 6px !important;
    /* padding: 6px 12px !important; */
    width: auto;
    border: 1px solid var(--primary-color);
}

    .secondary-btn:hover {
        background-color: transparent !important;
        color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }

    .secondary-btn i {
        color: #fff !important;
    }

    .secondary-btn:hover i {
        color: var(--primary-color) !important;
    }

.btn:focus-visible {
    color: #fff !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.navbar {
    background-color: #212529 !important;
    color: #fff !important;
    height: 72px;
    border-bottom-color: rgb(108 115 125) !important;
}

    .navbar .text-muted {
        color: #fff !important;
    }

.container-fluid.p-4 {
    background: #212529;
    color: #fff;
    min-height: 100vh;
}

.flash-msg {
    background: #212529;
    color: #fff;
}
/*  */

.pending-tab-btn.active {
    border-bottom-color: var(--primary-color) !important;
    background-color: var(--primary-color);
    color: #fff !important;
}

    .pending-tab-btn.active i {
        color: #fff !important;
    }

.pending-tab-btn .pending-tab-badge {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.pending-tab-btn.active .pending-tab-badge {
    background-color: #fff !important;
    color: var(--primary-color) !important;
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-bottom: 3px solid var(--primary-color) !important;
}

    .nav-link.active i {
        color: #fff !important;
    }

    .nav-link.active .badge {
        background-color: #fff !important;
        color: var(--primary-color) !important;
        border-radius: 20px;
    }

.nav.member-tabs {
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-radius: 10px;
}

.primary-bg {
    background-color: var(--primary-color);
    color: #fff;
}

    .primary-bg i {
        color: #fff !important;
    }

.dropdown-item i {
    color: var(--primary-color) !important;
}

.details-card .nav-link {
    font-size: 14px;
    padding: 6px;
}

.details-card {
    margin-bottom: 20px;
}

.member-approval {
    display: flex !important;
}

    .member-approval form {
        width: 100%;
    }

    .member-approval .action-button-reject {
        width: 50% !important;
    }

.table-responsive {
    overflow-x: hidden;
}

.member-profile .badge {
    font-size: 10px;
}

.pending-table th {
    background-color: #c3c3c3 !important;
    color: #000 !important;
}

.toggle-switch.on {
    background-color: var(--primary-color) !important;
}

.voucher-tabs .nav-link.active .tab-count {
    background-color: #fff !important;
    color: var(--primary-color) !important;
    border-radius: 20px;
}

.text-muted {
    font-size: 12px;
}

.alert-dismissible .btn-close {
    top: -8px !important;
}

.action-btn-reject {
    padding: 0 !important;
}

/* .text-end {
  display: flex;
  gap: 6px;
} */

#btnAddPackage {
    color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    #btnAddPackage:hover {
        color: var(--primary-color) !important;
        background-color: #fff !important;
        border-color: #fff !important;
    }

        #btnAddPackage:hover i {
            color: var(--primary-color) !important;
        }

.pending-table colgroup {
    display: none;
}

.member-tabs .nav-link,
.event-tabs .nav-link,
.enq-tabs .nav-link {
    position: relative;
}

    .member-tabs .nav-link::after,
    .event-tabs .nav-link::after,
    .enq-tabs .nav-link::after {
        content: "";
        position: absolute;
        right: -8px;
        border-right: 2px solid var(--primary-color);
        height: 24px;
    }

    .event-tabs .nav-link.active .tab-count {
        background-color: #fff !important;
        color: var(--primary-color) !important;
        border-radius: 20px;
    }

.tab-count {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.modal-header {
    background-color: var(--primary-color) !important;
}

.nav-badge {
    background-color: var(--primary-color) !important;
}

.modal-content {
    border: none !important;
}

.view-profile-btn {
    background-color: transparent !important;
}

.modal-body .fw-semibold {
    color: #000;
}

.card-body {
    border-radius: 12px;
    overflow: hidden;
}

.enq-row .badge {
    width: 70%;
    padding: 6px 8px;
}

.bs-card-bg .card-body {
    --bs-card-bg: transparent;
}

.event-type-badge {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.enquiries-type-badge {
    width: 80%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.event-editbtns {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: start;
    width: 100%;
}

    .event-editbtns .primary-btn {
        width: 48% !important;
    }

.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.status-active {
    padding: 2px 8px;
    border: 1px solid;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    width: 85px;
    text-align: center;
    background-color: #cbffc2;
}

.status-inactive {
    padding: 2px 8px;
    border: 1px solid;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    width: 85px;
    text-align: center;
    color: red;
    background-color: #ffefef;
}

.partners-locationtd {
    width: 350px;
}

.partners-partnertd {
    width: 250px;
}

.md-amounttd {
    font-size: 0.7rem;
}

table td {
    vertical-align: middle;
}

.event-reg-num {
    text-align: center;
    display: inline-block;
    width: 100%;
}

.et-0 {
    background: #fff3cd;
    color: #856404;
    border-color: #ffe69c;
}

.et-1 {
    background: #cff4fc;
    color: #055160;
    border-color: #9eeaf9;
}

.et-2 {
    background: #d1e7dd;
    color: #0a3622;
    border-color: #a3cfbb;
}

.et-3 {
    background: #e2d9f3;
    color: #4b2e83;
    border-color: #c7b5ea;
}

.approved {
    background: #d1e7dd;
    color: #0a3622;
    border: 1px solid #a3cfbb;
}

.enquiries-type-badge.active {
    background: #cff4fc;
    color: #055160;
    border: 1px solid #9eeaf9;
}

.cancel {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f1aeb5;
}

.voucher-action {
    display: flex;
    padding: 12px !important;
}


/* 404 error page */
.error-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: #212429;
}

.error-page__container {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.error-page__image {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto 30px;
}

.error-page__title {
    font-size: 110px;
    font-weight: 700;
    line-height: 1;
    color: #f48525;
}

.error-page__subtitle {
    margin-top: 15px;
    font-size: 34px;
    font-weight: 600;
    color: #ffffff;
}

.error-page__description {
    max-width: 520px;
    margin: 25px auto 40px;
    color: #b7c0ca;
    font-size: 17px;
    line-height: 1.8;
}

.error-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 34px;
    background: #f48525;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s ease;
}

    .error-page__button:hover {
        background: #64748b;
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(100, 116, 139, .35);
    }


@media (max-width:768px) {

    .error-page__title {
        font-size: 80px;
    }

    .error-page__subtitle {
        font-size: 28px;
    }

    .error-page__description {
        font-size: 15px;
    }

    .error-page__button {
        padding: 14px 28px;
    }
}

@media (max-width:480px) {

    .error-page__image {
        max-width: 320px;
    }

    .error-page__title {
        font-size: 60px;
    }

    .error-page__subtitle {
        font-size: 22px;
    }
}
/*  */


.eventreg-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}

    .eventreg-status.attended {
        background: #d1e7dd;
        color: #0a3622;
        border: 1px solid #a3cfbb;
    }

    .eventreg-status.verified {
        background: #cfe2ff;
        color: #084298;
        border: 1px solid #9ec5fe;
    }

    .eventreg-status.rejected {
        background: #f8d7da;
        color: #842029;
        border: 1px solid #f1aeb5;
    }

    .eventreg-status.pending {
        background: #fff3cd;
        color: #664d03;
        border: 1px solid #ffe69c;
    }

.voucher-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    width: 44%;
    text-align: center;
    justify-content: center;
}

    .voucher-status.issued {
        background: #f8d7da;
        color: #842029;
        border: 1px solid #f1aeb5;
    }

    .voucher-status.ready {
        background: #cfe2ff;
        color: #084298;
        border: 1px solid #9ec5fe;
    }

/* 110% */
@media (min-width: 1350px) and (max-width: 1400px) {
    .member-profile .card-body {
        padding: 8px 12px !important;
    }
}
/* 125% */
@media (min-width: 1200px) and (max-width: 1300px) {
    .member-profile .card-body {
        padding: 8px 6px !important;
    }

    .member-profile .text-muted {
        font-size: 11px !important;
    }

    .member-profile .small {
        font-size: 11px !important;
    }

    .enq-row .badge {
        width: 80% !important;
    }

    .event-editbtns .primary-btn {
        font-size: 13px;
    }

    .event-name {
        font-size: 14px;
    }

    .event-reg-num {
        width: 100px;
    }

    .event-venue {
        width: 150px;
    }

    .partners-locationtd {
        width: 250px;
    }

    .partners-partnertd {
        width: 200px;
    }
}
