/*Tailwind helper classes*/
/* card: bg-white rounded-2xl shadow-xl p-8 */
/* input field: w-full px-4 py-3 border border-gray-300 rounded-lg focus-visible:outline-0 focus:ring-1 focus:ring-blue-500 focus:border-transparent transition duration-200  */
/* Button: bg-blue-600 hover:bg-blue-700 text-white py-2 px-4 rounded-sm focus:ring-2 focus:ring-blue-300 font-medium transition duration-200 */

:root {
    font-family: "Poppins", sans-serif;
    --tw-sidebar-width: 280px;
    --tw-header-height: 70px;
    --tw-padding-left:280px;
    --tw-footer-padding-left:300px;
    --p20:20px;
    --p10-20:10px 20px;
    --blue:#1b84ff;
    --lightborder:#e5e7eb;
    --lightbg:#fcfcfc;
    --tw-gray-200:#f1f1f4;
    --tw-gray-500:#696c70;
    --tw-gray-700:#4B5675;
}
body{
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 1023px) {
    :root {
        --tw-sidebar-width: 280px;
        --tw-header-height: 60px;
        --tw-padding-left: 0px;
        --tw-footer-padding-left:20px;
    }
}
*, ::before, ::after{
    box-sizing: border-box;
}

h1{
    font-size: 36px;
}
h2{
    font-size: 30px;
}
h3{
    font-size: 24px;
}
h4{
    font-size: 20px;
}
h5{
    font-size: 18px;
}
h6{
    font-size: 16px;
}
p{
    font-size: 14px;
}
/* span{
    color: var(--tw-gray-700);
} */

/* | Element | Tailwind Class          | Size        |
| ------- | ----------------------- | ----------- |
| H1      | `text-4xl` / `text-5xl` | 36px / 48px |
| H2      | `text-3xl`              | 30px        |
| H3      | `text-2xl`              | 24px        |
| H4      | `text-xl`               | 20px        |
| H5      | `text-lg`               | 18px        |
| H6      | `text-base`             | 16px        | */

/* .paypage{
    background-image:url('/images/payment.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    margin: 0;
} */

.sidebar{
    background-color: white;
    /* background-color: #f3f4f6; */
}
.sidebar_inner{
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;

}
.sidebar_inner::-webkit-scrollbar {
    width: 8px;
}
.sidebar_inner::-webkit-scrollbar-track {
    background: #f1f1f1;     /* track color */
    border-radius: 4px;
}

.sidebar_inner::-webkit-scrollbar-thumb {
    background: #ffffff;         /* thumb color */
    border-radius: 4px;
}

.sidebar_inner::-webkit-scrollbar-thumb:hover {
    background: #ffffff;         /* thumb hover color */
}

/* Firefox */
.sidebar_inner {
    scrollbar-width: thin;       /* "auto" or "thin" */
    scrollbar-color: #f1f1f1; /* thumb and track */
}
.sidebar .submenudiv{
    border-left: 3px solid var(--blue);
    /* margin-left: 20px; */
    padding-left: 10px;
}
.nav_icon{
    line-height: 1;
}
.nav_icon ion-icon {
    margin-bottom: -2px;
}
/* 1st design for active nav  */
/* .active{
    background-color: var(--blue);
}
.active .nav_label{
    color: white;
    font-weight: 500;
}
.active .nav_icon{
    color: white;
    font-weight: 500;
}
.nav_items:hover{
    background-color: var(--blue);
}
.nav_items:hover .nav_label{
    color: white;
}
.nav_items:hover .nav_icon{
    color: white;
} */

/* 2nd design for active nav  */

.menus_area{
    padding-top:80px;
}

.active .nav_label{
    color: var(--blue);
    font-weight: 500;
}
.active .nav_icon{
    color: var(--blue);
    font-weight: 500;
}
.nav_items:hover{
    background-color: #f3f4f6;
}
.nav_items:hover .nav_label{
    color: var(--blue);
}
.nav_items:hover .nav_icon{
    color: var(--blue);
}


/* input fields style  */
.cs_field{
    display: block;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    background-color: var(--lightbg);
    /* border-radius: 0.375rem; */
    height: 2.5rem;
    padding-inline-start: 0.75rem;
    padding-inline-end: 0.75rem;
    border: 1px solid var(--lightborder);
    color: var(--tw-gray-700);
}
.cs_field:focus{
    border-color:#1B84FF;
}

.sort-icon:before,table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting_asc:before {
  display: inline-block;
  content: "" !important;
  height: 0.35rem;
  width: 0.538rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5' fill='none'%3e%3cpath d='M1.08333 4.83333C0.908333 4.83333 0.791667 4.775 0.675 4.65833C0.441667 4.425 0.441667 4.075 0.675 3.84167L3.59167 0.925C3.825 0.691667 4.175 0.691667 4.40833 0.925L7.325 3.84167C7.55833 4.075 7.55833 4.425 7.325 4.65833C7.09167 4.89167 6.74167 4.89167 6.50833 4.65833L4 2.15L1.49167 4.65833C1.375 4.775 1.25833 4.83333 1.08333 4.83333Z' fill='%2378829D'/%3e%3c/svg%3e");
}

.sort-icon:after, table.dataTable thead>tr>th.sorting:after, table.dataTable thead>tr>th.sorting_asc:after {
    top: 53% !important;
    display: inline-block;
    content: "" !important;
    height: 0.35rem;
    width: 0.538rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5' fill='none'%3e%3cpath d='M4 4.24984C3.825 4.24984 3.70833 4.1915 3.59167 4.07484L0.675 1.15817C0.441667 0.924838 0.441667 0.574837 0.675 0.341504C0.908333 0.108171 1.25833 0.108171 1.49167 0.341504L4 2.84984L6.50833 0.341504C6.74167 0.108171 7.09167 0.108171 7.325 0.341504C7.55833 0.574837 7.55833 0.924838 7.325 1.15817L4.40833 4.07484C4.29167 4.1915 4.175 4.24984 4 4.24984Z' fill='%2378829D'/%3e%3c/svg%3e");
}


table.dataTable thead tr th.sorting:before, table.dataTable thead tr th.sorting:after{
    position: absolute;
    display: block;
    opacity: .525 !important;
    right: 10px;
    line-height: 9px;
    font-size: 2em;
}

#all_payments_record thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_asc:after{
    opacity: 1 !important;
}
.disabledd{
    background-color: #f3f4f6;
    cursor: not-allowed;
}

.revealpass{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    line-height: 1;
    cursor: pointer;
}

.revealicon{
    font-size: 18px;
}

.submit_btn{
    background-color: var(--blue);
    color: white;
    padding: 10px 15px;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    box-shadow: 0px 3px 4px 0px rgba(0, 0, 0, 0.03);
    background-color: white;
    border-radius: 0.75rem;
    border: 1px solid #F1F1F4;
}

/* Alert types */
.trigger_msg.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.trigger_msg.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.trigger_msg.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.trigger_msg.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.trigger_msg {
    position: fixed;
    top: -100px; /* start above the viewport */
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: 5px;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    display: inline-block;
    white-space: nowrap;
    animation: slideDown 0.4s forwards, slideUp 0.4s forwards 3s; /* slide down then up */
}

@keyframes slideDown {
    from { top: -100px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

@keyframes slideUp {
    from { top: 20px; opacity: 1; }
    to { top: -100px; opacity: 0; }
}



/* table design  */

@media(max-width: 767px){

    .card.p-8{
        padding:16px !important
    }

    .datatable-bottom{
        flex-direction: column;
        gap: 20px;
        padding: 12px 16px !important;
    }
    .datatable-top{
        flex-direction: column;
        gap: 10px;
        align-items: start !important;
        padding: 12px 15px !important;
    }
    .datatable-bottom .pagination-div{
        gap:0px !important;
    }
}


.datatable-bottom, .datatable-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    /* font-weight: 500; */
    /* font-size: 0.8125rem; */
    /* line-height: 1.125rem; */
    border-top: var(--lightborder);
}
.datatable-top span{
    color: var(--tw-gray-500) !important;
}

.datatable-bottom .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
    /* font-size: 0.8125rem; */
    /* line-height: 1.125rem;
    font-weight: 500; */
}
.datatable-bottom .dataTables_length label select {
    cursor: pointer;
    /* font-weight: 500;
    font-size: 0.75rem; */
    width: 4.2rem;
    height: 2rem;
    padding-inline-start: 0.625rem;
    padding-inline-end: 0.625rem;
    background-size: 14px 10px;
    border: 1px solid var(--lightborder);
    color: var(--tw-gray-700);
    /* line-height: 1; */
    background-color: var(--tw-light-active);
    border-radius: 0.375rem;
}


.datatable-bottom .pagination-div {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.datatable-bottom .pagination-div .dataTables_info {
    padding: 0;
    color: var(--tw-gray-500) !important;
}

.datatable-bottom .pagination-div .dataTables_paginate, .paginationControls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.dataTables_paginate .paginate_button.previous.disabled {
    pointer-events: none;
    opacity: 0.3;
    cursor: default;
}

.dataTables_paginate .paginate_button.next.disabled {
    pointer-events: none;
    opacity: 0.3;
    cursor: default;
}
.datatable-bottom .pagination-div .dataTables_paginate span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.datatable-bottom .pagination-div .dataTables_paginate span .paginate_button, .datatable-bottom .pagination-div .paginate_button, .paginationControls .current-page-display, .paginationControls .paginate_button {
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    height: 1.875rem;
    width: 1.875rem;
    /* font-size: 0.8125rem; */
    padding: 0;
    /* line-height: 0; */
    border: 1px solid transparent !important;
    font-weight: 500;
    border-radius: 0.375rem;
    box-shadow: none;
    cursor: pointer;
}
.datatable-bottom .pagination-div .dataTables_paginate span .paginate_button.current, .datatable-bottom .pagination-div .dataTables_paginate span .paginate_button:hover, .datatable-bottom .pagination-div .paginate_button:hover, .paginationControls .current-page-display, .paginationControls .paginate_button:hover {
    color: var(--tw-gray-500) !important;
    background: var(--tw-gray-200) !important;
    background-color: var(--tw-gray-200) !important;
}
/* 
.tablediv{
    border:1px solid #f1f1f4;
    border-radius: 6px;
} */
.table{
    width: 100% !important;
    caption-side: bottom;
    border-collapse: collapse !important;
    vertical-align: middle;
    text-align: left;
    color: var(--tw-gray-700);
    /* font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem; */
}

table.dataTable thead tr th {
    border:1px solid #f1f1f4 !important;
    background-color: #fcfcfc;
    font-weight: 600;
}

table.dataTable tbody tr {
    background-color: transparent;
}

.table tbody tr td, .table thead tr th {
    border-bottom: 1px solid #F1F1F4;
    border-inline-end: 1px solid #F1F1F4;
}

.table tbody tr td:last-child, .table thead tr th:last-child {
    border-inline-end: 0 !important;
}

.table thead tr th:first-child {
    border-inline-start: 0 !important;
}

.table.dataTable>thead>tr>th, table.dataTable>thead>tr>td{
    border-bottom: 0;
}

.table.dataTable tr th:first-child {
    /* width: 30px !important; */
    text-align: center;
}
.table.dataTable tr td:first-child {
    text-align: center;
}
div.dataTables_processing{
    z-index:99;
}

.paginate_button:empty {
    display: none !important;
}

.no-sort::before, .no-sort::after{
    display: none !important;
}
.no-sort{
    max-width: 20px;
    padding-right: 10px !important; 
}
.baseprice{
    text-decoration: line-through;
    color:gray;
}

.video-js .vjs-big-play-button{
    width: 60px !important;
    height: 40px !important;
    transform: translate(-50%, -50%);
    margin-top: 0 !important;
    margin-left: 0 !important;
    line-height: 1.3em !important;
}


.iframevideo{
    overflow: hidden;
    width: 100%;
}
.inner_iframevideo{
    display: flex;
    gap:10px;
    flex-wrap: wrap;
    /* overflow: auto; */
}
