@font-face {
  font-family: DM-Serif-Text;
  src: url("../fonts/text_fonts/DMSerifText-Regular.ttf");
  font-weight: 400;
}

/* Update body styling to use background image */
body {
    font-size: 14px;
    line-height: 1.8;
    font-weight: normal;
    background: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: gray;
}

a,
a:hover,
a:focus {
    text-decoration: none;

}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
    line-height: 1.5;
    font-weight: 400;
    font-family: "Poppins", Arial, sans-serif;
    color: #000;
}

/*admin side panel navbar*/
.navbar {
    padding: 0px;
    background: #fff;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.wrapper {
    width: 100%;
}

#sidebar {
    min-width: 270px;
    max-width: 270px;
    background: #222222;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#sidebar img {
    width: 80px;
    padding: 10px;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active ul.components li {
    font-size: 14px;
}

#sidebar.active ul.components li a {
    padding: 10px 0;
}

#sidebar.active ul.components li a span {
    margin-right: 0;
    display: block;
    font-size: 24px;
}

#sidebar.active .logo {
    padding: 10px 0;
}

#sidebar ul li {
    font-size: 16px;
}

#sidebar ul li>ul {
    margin-left: 10px;
}

#sidebar ul li>ul li {
    font-size: 14px;
}

#sidebar ul li a {
    padding: 10px 30px;
    display: block;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#sidebar ul li a span {
    margin-right: 15px;
}

#sidebar ul li a:hover {
    color: #fff;
}

#sidebar ul li.active>a {
    background: transparent;
    color: #fff;
}

#content {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn {
    display: inline-block;
    width: max-content;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:hover, .btn:focus, .btn:active, .btn:visited, .btn:focus-visible {
    outline: none;
    box-shadow: none;
    text-decoration: none;
}

.btn.btn-primary {
    background: #2DC4E5;
    border-color: #2DC4E5;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: #2DC4E5 !important;
    border-color: #2DC4E5 !important;
    border: 1px solid transparent;
    box-shadow: none;
}

/*navbar admin profile dropdown*/
.menu {
    display: flex;
    justify-content: center;
}

.dropdown {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    font-size: 30px;
    perspective: 1000px;
    z-index: 100;
}

.dropdown:hover {
    cursor: pointer;
}

.dropdown:hover .dropdown_menu li {
    display: block;
}

.dropdown_menu {
    position: absolute;
    top: 100%;
    left: -44px;
    width: 130px;
    perspective: 1000px;
    z-index: -1;
    padding-left: 0;
    background-color: #fff;
}

.dropdown_menu li {
    display: none;
    color: #000;
    padding: 5px 10px;
    font-size: 14px;
    opacity: 1;
}

.dropdown_menu li:hover {
    background-color: #d4d4d4;
}

.dropdown:hover .dropdown_menu--animated {
    display: block;
}

.dropdown_menu--animated {
    display: none;
}

.dropdown_menu--animated li {
    display: block;
    opacity: 1;
}

.menu .dropdown span {
    font-size: 12px;
    line-height: 18px;
    color: #ffffff;
}

.menu .dropdown span p {
    font-size: 14px;
    color: black;
}

.dropdown_menu-6 {
    animation: growDown 300ms ease-in-out forwards;
    transform-origin: top center;
}

@keyframes growDown {
    0% {
        transform: scaleY(0);
    }

    80% {
        transform: scaleY(1.1);
    }

    100% {
        transform: scaleY(1);
    }
}

/*product list page*/
.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2%;
}

.heading h5 {
    font-size: 20px;
    color: white;
    font-weight: 500;
    line-height: 18px;
}

.heading button {
    font-size: 16px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 0px;
    padding: 5px 15px;
    font-weight: 500;
}

/* Change from #636363A6 to rgba(99, 99, 99, 0.65) */
.list-table {
    border: 1px solid #80808026;
    padding: 15px;
    border-radius: 10px;
    margin-top: 2%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    width: 100%;
    overflow-x: auto;
    text-align: center;
}

table#DataTables_Table_0 {
    background: white;
}

th {
    font-size: 14px;
    font-weight: 600 !important;
    color: #FFFFFF;
    line-height: 18px;
}

table.dataTable thead th {
    padding: 10px 14px;
}

thead tr {
    background-color: #000;
}

.dataTables_length {
    margin-bottom: 4%;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_filter input:hover,
.dataTables_wrapper .dataTables_filter input:focus {

    box-shadow: none;
    outline: 0;
    margin-bottom: 4%;
    background-color: #D9D9D9;
}

/* Change from #636363A6 to rgba(99, 99, 99, 0.65) */

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #D9D9D9;
    border: 1px solid #D9D9D9;
    color: #1C0E4B !important;
    border-radius: 2px;
}

.btn.btn-edit.btn-sm,
.btn.btn-edit.btn-sm:hover,
.btn.btn-edit.btn-sm:focus {
    background: #bfffbf;
    border-radius: 50%;
    color: #036f39;
    outline: 0;
    box-shadow: none;
}

button.btn.btn-delete.btn-sm,
button.btn.btn-delete.btn-sm:hover,
button.btn.btn-delete.btn-sm:focus {
    background: #ffc0c0;
    border-radius: 50%;
    color: red;
    outline: 0;
    box-shadow: none;
}

tbody tr {
    color: #FFFFFF;
}

tbody tr img {
    width: 50px;
}

/*add new*/

/* Form wrap background */
.form-wrap {
    background: rgba(99, 99, 99, 0.65);
    padding: 50px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 10px;
    margin-top: 20px;
}

.form-wrap .form-control {
    font-size: 14px;

}

.form-wrap .form-group {
    margin-bottom: 22px;
}

.form-wrap .form-group label {
    margin-bottom: 10px;
}

.form-wrap .form-group input:hover,
.form-wrap .form-group input:focus,
.form-wrap .form-group select:hover,
.form-wrap .form-group input:focus,
textarea,
textarea:hover,
textarea:focus,
.textarea:focus-visible {
    border: 1px solid #5832ea;
    box-shadow: none !important;
    outline: none;
}

.form-wrap .product-class {
    display: block;
    margin-right: 5px;
}

.form-wrap .chechbox-div {
    display: flex;
    cursor: pointer;
}

.form-wrap button,
.form-wrap button:hover,
.form-wrap button:focus {
    font-size: 14px;
    outline: 0;
    border: 1px solid white;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#duplicate-section {
    width: 400px;
}

button.add-same,
button.add-same:hover,
button.add-same:focus,
button.add-same:focus-visible,
button.remove-same,
button.remove-same:hover,
button.remove-same:focus,
button.remove-same:focus-visible,
button.delete-same,
button.delete-same:hover,
button.delete-same:focus,
button.delete-same:focus-visible {
    border-radius: 4px !important;
    margin: 10px 0px;
    box-shadow: none !important;
    outline: none;
    font-size: 12px;
    color: white;
}

button.add-same {
    background: green;
    border: 1px solid green;
    width: 100px;
}

button.remove-same,
button.delete-same {
    background: red;
    border: 1px solid red;
}

/*media quries*/
@media (max-width: 992px) {
    #sidebar ul li a span {
        display: block;
    }

    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -100px !important;
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar {
        position: absolute;
        top: 0;
        bottom: 0;
        z-index: 1111;
    }
}

@media screen and (max-width: 575px) {
    .product-list .heading {
        margin-top: 24%;
        display: block;
    }
}

/* Additional styling if needed */

.filepond--root .filepond--credits {
    display: none;
}

.filepond--drop-label {
    cursor: pointer;
}


.product-list {
    color: black;
}

/* Make table text white */
.product-list table,
.product-list th,
.product-list td {
    color: black !important;
}


.add-btn {
    background-color: #1C0E4B;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* Add New Book button hover fix */
.add-btn:hover,
a:hover .add-btn,
.heading a:hover .add-btn,
.add-btn.btn:hover {
    background-color: #2DC4E5 !important;
    /* Slightly lighter for hover */

}

/* Fix for the parent anchor tag */
.heading a:hover {
    text-decoration: none;
    opacity: 1;
}

.add-btn:hover span,
a:hover .add-btn span {
    color: #1C0E4B !important;
}


/* Import Roboto font from local file */
@font-face {
    font-family: 'Roboto';
    src: url('/fonts/text_fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Apply Roboto font to resource form elements */
.resource-form,
.resource-form h4,
.resource-form h5,
.resource-form input,
.resource-form textarea,
.resource-form label,
.resource-form span,
.resource-form button {
    font-family: 'Roboto', Arial, sans-serif !important;
}

/* Make all text white */
.resource-form {
    color: white;
}

/* Standardize form control heights */
.form-control {
    height: calc(1.5em + 0.75rem + 2px);
    /* Standard Bootstrap height */
}

/* Style file inputs consistently with other fields */
.form-control[type="file"] {
    padding: 0.375rem 0.75rem !important;
    height: calc(1.5em + 0.75rem + 2px) !important;
    /* Match standard inputs */
    display: flex;
    align-items: center;
}

/* Style the file selector button */
input[type="file"]::file-selector-button {
    background-color: #f8f9fa;
    color: #212529;
    height: calc(1.5em + 0.75rem);
    margin: -0.375rem 0.75rem -0.375rem -0.75rem;
    padding: 0.375rem 0.75rem;
    border: none;
    border-right: 1px solid #ced4da;
    border-radius: 0.25rem 0 0 0.25rem;
    cursor: pointer;
    font-family: 'Roboto', Arial, sans-serif !important;
}

/* Make buttons consistent width */
.btn-fixed-width {
    width: 120px;
    text-align: center;
}

/* Style the horizontal rule separator */
.separator-line {
    height: 2px;
    background-color: white;
    opacity: 0.7;
    border: none;
    margin: 8px 0;
    width: 100%;
}

/* Style additional description separators */
.additional-description-container .separator-line {
    height: 2px;
    background-color: white;
    opacity: 0.7;
    margin-right: 10px;
}

/* Style for focused form controls */
.form-control:focus {
    border: 2px solid #40A9FF !important;
    box-shadow: none !important;
    outline: 0;
}

/* Adjust padding when focused to account for thicker border */
.form-control:focus {
    padding: calc(0.375rem - 1px) calc(0.75rem - 1px) !important;
}

/* Ensure textareas maintain their height when focused */
textarea.form-control:focus {
    height: auto !important;
}

/* Style file inputs when focused */
.form-control[type="file"]:focus {
    border: 2px solid #40A9FF !important;
    padding: calc(0.375rem - 1px) !important;
}

/* Adjust file selector button when parent is focused */
.form-control[type="file"]:focus::file-selector-button {
    margin: calc(-0.375rem + 1px) 0.75rem calc(-0.375rem + 1px) calc(-0.75rem + 1px);
}

#submitBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    width: 161px;
}

#pageIndicator {
    font-size: 16px;
    font-weight: 500;
}

/*profile page*/
.profile i {
    font-size: 50px;
    color: #D38888;
}

/*login*/
.image-section {
    background: url('/images/login.png') no-repeat center center/cover;
    height: 100vh;
}

.login-box {
    max-width: 550px;
    margin: auto;
}

.btn-google img {
    margin-right: 8px;
}

.login-box label,
.form-check a {
    font-size: 16px;
    font-weight: 400;
    color: #828282;
}

.login-box .form-control,
.login-box .form-control:focus,
.login-box .btn-google,
.login-box .btn-google:focus,
.login-box .otp-input,
.login-box .otp-input:focus-visible {
    background-color: #F2F2F2;
    border: none !important;
}

.form-check-input:checked {
    background-color: #212529;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
    margin: 5px;
}

/*book list - status badges & thumbnail*/
.heading h5 {
    display: flex;
    align-items: center;
}

.res-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.status-badge.status-ok {
    background-color: #d9f7e6;
    color: #0a7a3d;
}

.status-badge.status-missing {
    background-color: #fde2e2;
    color: #c0392b;
}

.product-list .btn i {
    font-size: 13px;
}

.action-icons {
    gap: 8px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    font-size: 15px;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.btn-icon.btn-edit {
    background-color: #d6f3fb;
    color: #0a7ea3;
}

.btn-icon.btn-access {
    background-color: #e6e6ea;
    color: #495057;
}

.btn-icon.btn-delete {
    background-color: #fde2e2;
    color: #c0392b;
}

/*shared admin list page chrome*/
.admin-page,
.resource-library,
.order-list {
    padding: 30px;
    min-height: 100vh;
}

.admin-page-header,
.rl-header,
.ol-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.admin-page-header h5,
.rl-header h5,
.ol-header h5 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.admin-page-header-actions,
.rl-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-btn-outline,
.btn-outline-nav,
.btn-export {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.admin-btn-outline:hover,
.btn-outline-nav:hover {
    background: #f2f2f2;
}

.admin-btn-primary,
.btn-add-resource {
    background: #1c0e4b;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-add-resource:hover {
    background: #2a1a6b;
}

.rl-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.rl-stat {
    background: #eceef1;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rl-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
}

.rl-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
}

.admin-table-card,
.rl-table-card,
.ol-table-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow-x: auto;
}

.admin-table,
.rl-table,
.ol-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead tr,
.rl-table thead tr,
.ol-table thead tr {
    background: #fff;
    border-bottom: 2px solid #1a1a1a;
}

.admin-table th,
.rl-table th,
.ol-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
    padding: 14px 20px;
    text-align: left;
}

.admin-table td,
.rl-table td,
.ol-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    color: #1a1a1a;
}

.admin-table tbody tr:last-child td,
.rl-table tbody tr:last-child td,
.ol-table tbody tr:last-child td {
    border-bottom: none;
}

.rl-title {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

.rl-author {
    display: block;
    font-style: italic;
    color: #8a8a8a;
    font-size: 13px;
    margin-top: 2px;
}

.rl-format-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 140px;
}

.rl-tag {
    background: #eceef1;
    color: #495057;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.rl-tag-muted {
    color: #b0b0b0;
}

.rl-stock {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.rl-stock-none {
    color: #c0392b;
}

.rl-price {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.rl-status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
}

.rl-status-active {
    background: #146c43;
    color: #fff;
}

.rl-status-archived {
    background: #fff;
    color: #757575;
    border: 1px solid #d9d9d9;
}

.rl-kebab {
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 18px;
    padding: 4px 8px;
    border-radius: 6px;
}

.rl-kebab:hover {
    background: #f0f0f0;
}

.admin-table-footer,
.rl-table-footer,
.ol-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.admin-showing,
.rl-showing,
.ol-showing {
    font-size: 13px;
    color: #8a8a8a;
}

.admin-pagination,
.rl-pagination,
.ol-pagination {
    display: flex;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.admin-page-btn,
.rl-page-btn,
.ol-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 13px;
    text-decoration: none;
}

.admin-page-btn:hover,
.rl-page-btn:hover,
.ol-page-btn:hover {
    background: #f2f2f2;
    color: #1a1a1a;
}

.admin-page-btn.active,
.rl-page-btn.active,
.ol-page-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.admin-page-btn.disabled,
.rl-page-btn.disabled,
.ol-page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 767px) {
    .rl-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .rl-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/*resource entry form*/
.resource-entry {
    padding: 30px;
    min-height: 100vh;
}

.re-top {
    margin-bottom: 25px;
}

.re-top h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.re-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #757575;
    margin-bottom: 10px;
}

.re-back:hover {
    color: #1a1a1a;
}

.re-breadcrumb {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #a0a0a0;
}

.re-breadcrumb a {
    color: #a0a0a0;
}

.re-breadcrumb .re-sep {
    margin: 0 6px;
}

.re-breadcrumb .re-current {
    color: #1a1a1a;
}

.re-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 35px;
}

.re-section {
    margin-bottom: 10px;
}

.re-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1a1a1a;
    padding-bottom: 12px;
    border-bottom: 2px solid #1a1a1a;
    margin-bottom: 25px;
    display: inline-block;
}

.re-field {
    margin-bottom: 25px;
    flex: 1;
}

.re-row {
    display: flex;
    gap: 30px;
}

.re-field label,
.re-field .re-sublabel {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
    margin-bottom: 12px;
}

.re-field input[type="text"],
.re-field input[type="url"],
.re-field input[type="email"],
.re-field input[type="tel"],
.re-field input[type="date"],
.re-field input[type="number"],
.re-field textarea,
.re-field select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    padding: 4px 0 10px;
    font-size: 14px;
    color: #1a1a1a;
    background: transparent;
}

.re-field input:focus,
.re-field textarea:focus,
.re-field select:focus {
    outline: none;
    border-bottom-color: #1a1a1a;
    box-shadow: none;
}

.re-field input::placeholder,
.re-field textarea::placeholder {
    color: #c0c0c0;
}

.re-field textarea {
    resize: vertical;
}

.re-field .re-file-plain {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d9d9d9;
    padding: 4px 0 10px;
    font-size: 13px;
    color: #1a1a1a;
    background: transparent;
}

.re-field .re-hint-text {
    display: block;
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 6px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.re-field .re-inline-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #1a1a1a;
    margin-top: 8px;
}

.re-remove-btn {
    background: #fde2e2;
    color: #c0392b;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    cursor: pointer;
}

.re-add-btn {
    background: #eceef1;
    color: #1a1a1a;
    border: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}

.re-add-btn:hover,
.re-remove-btn:hover {
    opacity: 0.85;
}

.re-prefixed {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #d9d9d9;
}

.re-prefixed span {
    color: #757575;
    font-size: 14px;
}

.re-prefixed input {
    border: none !important;
}

.re-chevron-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d9d9d9;
}

.re-chevron-wrap input {
    border: none !important;
}

.re-chevron-wrap i {
    color: #757575;
    font-size: 13px;
}

.re-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #c0c0c0;
    border-radius: 8px;
    background: #f7f8fa;
    color: #757575;
    font-size: 13px;
    text-align: center;
    padding: 30px;
    cursor: pointer;
    margin-bottom: 0;
    width: 100%;
}

.re-dropzone i {
    font-size: 20px;
}

.re-dropzone-inline {
    padding: 16px;
    flex-direction: row;
    font-size: 13px;
}

.re-dropzone small {
    color: #a0a0a0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.re-file-input {
    display: none;
}

.re-file-name {
    display: block;
    font-size: 12px;
    color: #1a1a1a;
    margin-top: 8px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.re-subsection {
    padding-top: 25px;
    border-top: 1px dotted #e0e0e0;
    margin-bottom: 5px;
}

.re-subsection:first-of-type {
    border-top: none;
}

.re-subheading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.re-hint {
    color: #a0a0a0;
    font-weight: 600;
}

.re-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e6e6e6;
}

.re-btn-cancel {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 6px;
}

.re-btn-cancel:hover {
    background: #f2f2f2;
}

.re-btn-upload {
    background: #1c0e4b;
    color: #fff;
    border: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
}

.re-btn-upload:hover:not(:disabled) {
    background: #2a1a6b;
}

.re-btn-upload:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/*orders*/
.order-list {
    padding: 30px;
    min-height: 100vh;
}

.ol-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.ol-header h5 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.btn-export {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-export:hover {
    background: #f2f2f2;
}

.ol-filters {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 25px;
}

.ol-filter label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
    margin-bottom: 10px;
}

.ol-date-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ol-date-range span {
    color: #a0a0a0;
    font-size: 13px;
}

.ol-filters input[type="date"],
.ol-filters select {
    border: none;
    border-bottom: 1px solid #d9d9d9;
    border-radius: 0;
    padding: 4px 4px 8px;
    font-size: 13px;
    color: #1a1a1a;
    background: transparent;
}

.ol-filters select {
    min-width: 160px;
}

.ol-filters input:focus,
.ol-filters select:focus {
    outline: none;
    border-bottom-color: #1a1a1a;
}

.ol-filter-apply {
    display: none;
}

.ol-demo-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff8e6;
    border: 1px solid #f0dca0;
    color: #8a6d1f;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.ol-table-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    overflow: hidden;
}

.ol-table {
    width: 100%;
    border-collapse: collapse;
}

.ol-table thead tr {
    background: #fff;
    border-bottom: 2px solid #1a1a1a;
}

.ol-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
    padding: 14px 20px;
    text-align: left;
}

.ol-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.ol-table tbody tr:last-child td {
    border-bottom: none;
}

.ol-invoice {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.ol-customer {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.ol-email {
    display: block;
    color: #8a8a8a;
    font-size: 12px;
    margin-top: 2px;
}

.ol-resource {
    display: inline-block;
    color: #1a1a1a;
    font-size: 14px;
    margin-right: 8px;
}

.ol-tag {
    display: inline-block;
    background: #eceef1;
    color: #495057;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.ol-amount,
.ol-gateway,
.ol-date {
    color: #1a1a1a;
    font-size: 14px;
}

.ol-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ol-status i {
    font-size: 8px;
}

.ol-status-completed {
    color: #146c43;
}

.ol-status-pending {
    color: #b8860b;
}

.ol-status-refunded,
.ol-status-failed {
    color: #c0392b;
}

.ol-row {
    cursor: pointer;
}

.ol-row:hover {
    background: #fafbfc;
}

.ol-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
}

.ol-showing {
    font-size: 13px;
    color: #8a8a8a;
}

.ol-pagination {
    display: flex;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.ol-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    color: #1a1a1a;
    font-size: 13px;
    text-decoration: none;
}

.ol-page-btn:hover {
    background: #f2f2f2;
    color: #1a1a1a;
}

.ol-page-btn.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.ol-page-btn.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 767px) {
    .ol-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/*order detail*/
.order-detail .od-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #757575;
    margin-bottom: 20px;
}

.order-detail .od-back:hover {
    color: #1a1a1a;
}

.od-header {
    background: #eceef1;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.od-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
    margin-bottom: 8px;
}

.od-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.od-meta {
    font-size: 13px;
    color: #8a8a8a;
}

.od-columns {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.od-items {
    flex: 1;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 25px;
}

.od-side {
    width: 320px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 25px;
}

.od-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1a1a1a;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 20px;
}

.od-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.od-item:last-child {
    border-bottom: none;
}

.od-item-img {
    width: 60px;
    flex-shrink: 0;
}

.od-item-img img {
    width: 100%;
    border-radius: 6px;
}

.od-item-body {
    flex-grow: 1;
}

.od-item-body h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.od-item-sub {
    color: #8a8a8a;
    font-size: 13px;
    margin-bottom: 8px;
}

.od-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.od-tag {
    background: #eceef1;
    color: #495057;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}

.od-tag-muted {
    color: #b0b0b0;
}

.od-item-price {
    text-align: right;
    flex-shrink: 0;
}

.od-price {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.od-qty {
    display: block;
    color: #8a8a8a;
    font-size: 12px;
    margin-top: 4px;
}

.od-side .od-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
    margin-top: 20px;
    margin-bottom: 8px;
}

.od-side .od-label:first-of-type {
    margin-top: 0;
}

.od-address-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 4px;
}

.od-address,
.od-contact {
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 4px;
}

.od-billing {
    font-style: italic;
    color: #8a8a8a;
    font-size: 14px;
}

.od-summary {
    border-top: 1px solid #e6e6e6;
    margin-top: 25px;
    padding-top: 20px;
}

.od-summary-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.od-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.od-summary-row.od-total {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
}

.od-refund-btn {
    width: 100%;
    background: #fff;
    border: 1px solid #c0392b;
    color: #c0392b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
}

.od-refund-btn:hover {
    background: #fde2e2;
}

.od-refunded-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #d9f7e6;
    color: #146c43;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .od-columns {
        flex-direction: column;
    }

    .od-side {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .re-row {
        flex-direction: column;
        gap: 0;
    }

    .re-card {
        padding: 20px;
    }
}

/*members (userList)*/
.ml-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.ml-stat {
    background: #eceef1;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ml-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
}

.ml-stat-value {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
}

.ml-stat-value small {
    font-size: 13px;
    font-weight: 600;
    color: #757575;
    margin-left: 4px;
}

.ml-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.ml-tab-links {
    display: flex;
    gap: 25px;
}

.ml-tab-links a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #a0a0a0;
    padding-bottom: 14px;
    margin-bottom: -15px;
    border-bottom: 2px solid transparent;
}

.ml-tab-links a.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.ml-showing {
    font-size: 12px;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.ml-avatar {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #ececec;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.ml-name {
    display: block;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

.ml-email {
    display: block;
    color: #8a8a8a;
    font-size: 12px;
    margin-top: 2px;
}

.ml-tier {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
}

.ml-tier-collector {
    background: #1a1a1a;
    color: #fff;
}

.ml-tier-platinum,
.ml-tier-gold {
    background: #fff;
    border: 1px solid #d9d9d9;
    color: #1a1a1a;
}

.ml-tier-none {
    color: #c0c0c0;
}

.ml-spend,
.ml-date {
    color: #1a1a1a;
    font-size: 14px;
}

.ml-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ml-status i {
    font-size: 8px;
}

.ml-status-active {
    color: #146c43;
}

.ml-status-pending {
    color: #b8860b;
}

.ml-row {
    cursor: pointer;
}

.ml-row:hover {
    background: #fafbfc;
}

.ml-page .admin-table-footer {
    justify-content: space-between;
}

.ml-prev-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.ml-prev-next.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 767px) {
    .ml-stats {
        grid-template-columns: 1fr;
    }

    .ml-tabs {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/*member detail*/
.member-detail .md-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0 30px;
}

.member-detail .md-avatar {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 10px;
    background: #ececec;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
}

.md-identity {
    flex-grow: 1;
}

.md-identity h1 {
    font-size: 30px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.md-meta {
    font-style: italic;
    color: #8a8a8a;
    font-size: 14px;
}

.md-suspend {
    background: none;
    border: none;
    color: #c0392b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    white-space: nowrap;
}

.md-suspend:hover {
    opacity: 0.8;
}

.md-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.md-stat {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.md-stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #757575;
}

.md-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.md-stat-caption {
    font-size: 12px;
    color: #8a8a8a;
}

.md-history-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 15px;
}

.md-history-header h5 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.md-history-header a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.md-date,
.md-format,
.md-amount {
    color: #1a1a1a;
    font-size: 14px;
}

.md-format {
    text-transform: uppercase;
    font-size: 12px;
    color: #757575;
}

.md-amount {
    font-weight: 700;
}

.md-title {
    font-weight: 700;
    color: #1a1a1a;
}

.md-view-all {
    text-align: center;
    margin-top: 25px;
}

.md-view-all a {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .md-stats {
        grid-template-columns: 1fr;
    }

    .member-detail .md-profile {
        flex-direction: column;
        align-items: flex-start;
    }
}