/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
* {
    padding: 0;
    margin: 0;
}

:root {
    --black: #1a1919;
    --white: #fff;
    --primary: #001A46;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--black);

}


a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

table tbody tr th {
    font-weight: 600;
    font-size: 16px;
}

.form-label {
    font-weight: 700;
}

label.error {
    color: #dc3545;
}

.form-control.error {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
}

.form-control.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgb(220 53 69 / 25%);
}


/*--------------------------------------------------------------
  # Main
  --------------------------------------------------------------*/

#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}


/*--------------------------------------------------------------
  # Page Title
  --------------------------------------------------------------*/

.pagetitle {
    margin-bottom: 10px;
}

.pagetitle h1 {
    font-size: 24px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--black);
}


/*--------------------------------------------------------------
  # Back to top button
  --------------------------------------------------------------*/

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 999;
    background: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
    cursor: pointer;
}

.back-to-top i {
    font-size: 24px;
    color: var(--white);
    line-height: 0;
}

.back-to-top:hover {
    background: var(--black);
    color: var(--white);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}


/* ======================= Cards ====================== */

.cardBox {
    position: relative;
    width: 100%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
}

@media (max-width: 576px) {
    .cardBox {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cardBox .card {
    position: relative;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
}

.cardBox .card .numbers {
    position: relative;
    font-weight: 500;
    font-size: 2.5rem;
    color: var(--primary);
}

.cardBox .card .cardName {
    color: var(--black);
    font-size: 1.1rem;
    margin-top: 5px;
}

.cardBox .card .iconBx {
    font-size: 3.5rem;
    color: var(--primary);
}

.cardBox .card:hover {
    background: var(--primary);
}

.cardBox .card:hover .numbers,
.cardBox .card:hover .cardName,
.cardBox .card:hover .iconBx {
    color: var(--white);
}


/*--------------------------------------------------------------
  # Override some default Bootstrap stylings
  --------------------------------------------------------------*/


/* Dropdown menus */

.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    -webkit-animation-name: dropdown-animate;
    animation-name: dropdown-animate;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
    text-align: center;
    font-size: 15px;
    padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
    color: #444444;
    text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
    text-decoration: none;
}

.dropdown-menu .dropdown-divider {
    color: var(--black);
    margin: 0;
}

.dropdown-menu .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #f6f9ff;
}

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: var(--white);
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@-webkit-keyframes dropdown-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
    0% {
        opacity: 0;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
    0% {
        opacity: 0;
    }
}


/* Light Backgrounds */

.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: var(--white)3cd;
    border-color: var(--white)3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}


/* Card */

.card {
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: var(--white);
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--black);
    font-family: "Poppins", sans-serif;
}

.card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
}

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}


/* Alerts */

.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}


/* Close Button */

.btn-close {
    background-size: 25%;
}

.btn-close:focus {
    outline: 0;
    box-shadow: none;
}


/* Accordion */

.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--black);
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
    box-shadow: none;
    color: var(--primary);
}

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}


/* Breadcrumbs */

.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

.breadcrumb a {
    color: #899bbd;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
    color: #899bbd;
}

.breadcrumb .active {
    color: #51678f;
    font-weight: 600;
}


/* Bordered Tabs */

.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
    margin-bottom: -2px;
    border: none;
    color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
    color: var(--primary);
}

.nav-tabs-bordered .nav-link.active {
    background-color: var(--white);
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}


/*--------------------------------------------------------------
  # Header
  --------------------------------------------------------------*/

.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 240px;
    }
}

.logo img {
    max-height: 36px;
    margin-right: 6px;
    text-align: center;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: var(--black);
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
    font-size: 32px;
    padding-left: 10px;
    cursor: pointer;
    color: var(--white);
}


/*--------------------------------------------------------------
  # Header Nav
  --------------------------------------------------------------*/

.header-nav ul {
    list-style: none;
}

.header-nav>ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: var(--white);
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: var(--white);
}

.header-nav .nav-profile img {
    height: 36px;
    width: 36px;
    border-radius: 36px;
}

.header-nav .nav-profile span {
    font-size: 14px;
    font-weight: 600;
}

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
    background-color: var(--primary);
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    transition: 0.3s;
}

.header-nav .notifications .notification-item i {
    margin: 0 20px 0 10px;
    font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
    font-size: 13px;
    margin-bottom: 3px;
    color: var(--black);
}

.header-nav .notifications .notification-item:hover {
    background-color: #f6f9ff;
}

.header-nav .fullscreen {
    cursor: pointer;
}

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary);
}

.header-nav .profile .dropdown-header span {
    font-size: 14px;
    color: var(--black);
}

.header-nav .profile .dropdown-item {
    font-size: 14px;
    padding: 10px 15px;
    transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
    margin-right: 10px;
    font-size: 18px;
    line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
    background-color: #f6f9ff;
}


/*--------------------------------------------------------------
  # Sidebar
  --------------------------------------------------------------*/

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 250px;
    z-index: 996;
    transition: all 0.3s;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: var(--black);
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}

.sidebar::-webkit-scrollbar-button {
    background: var(--white);
    height: 0px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
}

.sidebar::-webkit-scrollbar-track-piece {
    background: var(--white);
}

@media (max-width: 1199px) {
    .sidebar {
        left: -250px;
    }
}

@media (min-width: 1200px) {
    #main,
    #footer {
        margin-left: 250px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {
    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }
    .toggle-sidebar .sidebar {
        left: -250px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-item {
    margin-bottom: 5px;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    transition: 0.3;
    background: var(--primary);
    padding: 10px;
    border-radius: 4px;
    position: relative;
}

.sidebar-nav .nav-link i {
    font-size: 16px;
    margin-right: 10px;
    color: var(--white);
}

.sidebar-nav .nav-link.collapsed {
    color: var(--white);
    background: var(--black);
}

.sidebar-nav .nav-link.collapsed i {
    color: var(--white);
}

.sidebar-nav .nav-link:hover {
    color: var(--white);
    background: var(--primary);
}

.sidebar-nav .nav-link:hover i {
    color: var(--white);
}

.sidebar-nav .nav-link .bi-chevron-down {
    margin-right: 0;
    transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
    transform: rotate(180deg);
}

.sidebar-nav .nav-content {
    padding: 5px 0 0 0;
    margin: 0;
    list-style: none;
}

.sidebar-nav .nav-content a {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    transition: 0.3;
    padding: 10px 0 10px 40px;
    transition: 0.3s;
}

.sidebar-nav .nav-content a i {
    font-size: 6px;
    margin-right: 8px;
    line-height: 0;
    border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
    color: var(--white);
}

.sidebar-nav .nav-content a.active i {
    background-color: var(--primary);
}


/*--------------------------------------------------------------
  # Profie Page
  --------------------------------------------------------------*/

.profile .profile-card img {
    width: 120px;
    height: 120px;
    border-radius: 150px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0 0 0;
    text-transform: uppercase;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: var(--black);
}

.profile .profile-overview .label {
    font-weight: 600;
    color: var(--primary);
}

.profile .profile-edit label {
    font-weight: 600;
    color: var(--primary);
}

.profile .profile-edit img {
    max-width: 120px;
}


/*--------------------------------------------------------------
  # Footer
  --------------------------------------------------------------*/

.footer {
    padding: 20px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid var(--black);
}

.footer .copyright {
    text-align: center;
    color: var(--black);
}

.footer .copyright .aozoom {
    color: var(--primary)
}


/*--------------------------------------------------------------
  # Notification
  --------------------------------------------------------------*/

.notification.success.active {
    animation: moveinright 0.5s ease forwards;
}

.notification.error.active {
    animation: moveinleft 0.5s ease forwards;
}

.notification.success.active .bg-notification,
.notification.error.active .bg-notification {
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, .3);
    z-index: 7000;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.notification.success {
    background: var(--primary);
    color: var(--white);
    right: -250px;
}

.notification.error {
    background: red;
    color: var(--white);
    left: -250px;
}

@keyframes moveinright {
    from {
        right: -250px;
    }
    to {
        right: 1rem;
    }
}

@keyframes moveinleft {
    from {
        left: -250px;
    }
    to {
        left: 1rem;
    }
}

.notification {
    width: 250px;
    padding-top: 10px;
    min-height: 50px;
    border-radius: 3px;
    font-size: 14px;
    text-align: center;
    top: 60px;
    position: fixed;
    z-index: 7777;
}

.profile-pic {
    color: transparent;
    transition: all 0.3s ease;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}
.profile-pic input {
    display: none;
}
.profile-pic img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 10px 0 rgba(255, 255, 255, .35);
    border: 1px solid #000;
    border-radius: 5px;
    z-index: 0;
}
.profile-pic .-label {
    cursor: pointer;
    height: 100%;
    width: 100%;
}
.profile-pic:hover .-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .8);
    z-index: 10000;
    color: #fafafa;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
    margin-bottom: 0;
}
.profile-pic span {
    display: inline-flex;
    padding: 0.2em;
    height: 2em;
}
.box-image{
    width: 100%;
    padding-bottom: 100%;
    position: relative;
}
.-label{
    position: absolute;
}
.gift{
    background: blue;
    width: max-content;
    border-radius: 5px;
    font-size: 12px;
    padding: 7px 10px;
    color: #fff;
}
.gift span{
    font-weight: bold;
    margin-left: 15px;
    font-size: 12px;
    background: #fff;
    color: #000;
    padding-left: 3px;
    padding-right: 5px;
    border-radius: 5px;
}