/* Custom Style */
.bg-gradient-primary {
    background-image: linear-gradient(180deg,
            #0384fc 0%,
            rgb(0 132 255 / 70%) 50%);
}

.navbar-vertical .navbar-nav>.nav-item .nav-link.active .icon {
    background-image: linear-gradient(310deg, #0384fc, #0384fc);
}

.nav-link.active .icon i {
    color: #fff !important;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
    height: auto !important;
}

.navbar-vertical.navbar-expand-xs.fixed-start {
    box-shadow: 0 10px 15px 5px rgb(0 0 0 / 10%) !important;
}

.card {
    height: 100%;
}

.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link {
    margin: 0 0.5rem !important;
}

.btn-primary {
    background: #0384fc;
}

.btn-outline-primary {
    border-color: #0384fc;
    color: #0384fc;
    transition: all 0.2s ease-in-out;
}

.tox-statusbar {
    display: none !important;
}

.btn-outline-primary:hover {
    border-color: #0384fc;
    color: #0384fc !important;
    opacity: 0.8;
}

.btn {
    padding: 0.75rem 1rem;
}

.btn-check:focus+.btn-primary,
.btn-primary:focus,
.btn-primary:hover {
    background-color: #0384fc;
    border-color: #004c94;
    color: #fff;
    box-shadow: none;
}

.btn:active,
.btn:active:focus,
.btn:active:hover {
    background-color: #0384fc;
}

.sidenav-header {
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 9;
}

.ck-editor__editable {
    height: auto;
    min-height: 300px;
}

.table th {
    font-size: 12px !important;
}

.table td {
    border-color: #dee2e6 !important;
    font-family: "Open Sans" !important;
    font-size: 14px !important;
}

.table td,
.table th {
    text-align: center;
}

#audiences-users-table thead th,
#audiences-users-table tbody td {
    text-align: inherit !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #dee2e6 !important;
}

.cusstomSuccessClass {
    position: fixed;
    top: -100px;
    right: 45%;
    color: white;
    background-image: linear-gradient(180deg,
            #0384fc 0%,
            rgb(0 132 255 / 70%) 50%);
    transition: top 0.5s ease;
    z-index: 9999999999999;
}

.cusstomSuccessClass.show {
    top: 1rem;
}

.cusstomErrorClass {
    position: fixed;
    top: -100px;
    right: 0;
    color: white;
    background-image: linear-gradient(90deg,
            rgba(131, 58, 180, 1) 0%,
            rgba(253, 29, 29, 1) 0%,
            rgba(253, 78, 42, 1) 33%);
    transition: top 0.5s ease;
    z-index: 9999999999999;
    left: 0;
    width: max-content;
    margin: 0 auto;
}

.cusstomErrorClass.show {
    top: 1rem;
}

#settingsForm .form-group label {
    width: 100%;
    display: block;
}

.borderBottom {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.sectionWithArrow,
.rightButtonSection {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
}

.card .card-header {
    padding: 1rem;
}

.position-relative {
    position: relative;
}

.eye-icon {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

#statusFilter,
#user_type_filter {
    -moz-appearance: auto;
    -webkit-appearance: auto;
    appearance: auto;
}

div#users-table_filter,
div#DataTables_Table_0_filter {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

div#DataTables_Table_0_filter {
    justify-content: center;
}

.filter-select {
    width: 220px;
}

.status-dropdown {
    -moz-appearance: auto;
    -webkit-appearance: auto;
    appearance: auto;
}

div#users-table_filter label,
#DataTables_Table_0_filter label,
#page-table_filter label,
#audiences-table_filter label,
#audiences-users-table_filter label,
#tamplates-table_filter label {
    display: flex;
    margin-bottom: 0;
    color: transparent;
}

div#users-table_filter label input,
#DataTables_Table_0_filter label input,
#page-table_filter label input,
#audiences-table_filter label input,
#audiences-users-table_filter label input,
#tamplates-table_filter label input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #d2d6da;
    border-radius: 0.5rem;
    color: #495057;
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4rem;
    padding: 0.5rem 0.75rem;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    width: 100%;
}

#page-table_filter label,
#tamplates-table_filter label {
    display: inline-block;
}

.product-details {
    border-bottom: 1px solid #dadada;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.tox-label[for="`form-field_2513419716521737639095444"]+tox-form__controls-h-stack button {
    display: none;
}

.inner-col {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inner-col .form-group {
    width: 100%;
}

.inner-col .buttons-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.uploaded-image {
    width: 100px;
    height: 100px;
    border: 1px solid #eaeaea;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.uploadedPdf {
    width: 100px;
    position: relative;
}

.uploadedPdf .btn-remove {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 0;
    margin-bottom: 0;
    width: 1rem;
    height: 1rem;
    background: #ea0606;
    color: #fff;
}

.flatpickr-wrapper {
    display: block !important;
}

.flatpickr {
    position: relative;
    width: 100%;
    display: flex;
    min-width: 14vw;
}

.flatpickr .input-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: none;
    cursor: pointer;
}

.image-upload-part {
    width: 100px;
    height: 100px;
    display: flex;
    margin-bottom: 0.5rem;
    border: 1px solid #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.image-upload-part img {
    width: 100%;
    object-fit: contain;
}

.image-container {
    flex: 1 0 20%;
    width: 75px;
    height: 75px;
    border: 1px solid #000;
    border-radius: 0.375rem;
    display: flex;
    position: relative;
    margin-bottom: 0.5rem;
    max-width: 20%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    object-fit: contain;
}

.table tbody tr td .connectBtn:active {
    background: #0384fc !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:disabled,
.btn-primary.disabled {
    background: #0384fc !important;
}

.form-control:active,
.form-control:focus {
    border-color: #0384fc !important;
    box-shadow: 0 0 0 2px #0384fc !important;
}

.admin-card-header,
.header-buttons,
.transaction-card-header .inner-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-buttons {
    gap: 1rem;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

input[type="number"] {
    appearance: none;
}

.audience-table thead th,
.audience-table tbody td {
    text-align: left;
}

.flatpickr-day.today {
    color: #393939 !important;
    border: none !important;
}

@media only screen and (max-width: 767px) {

    .admin-card-header,
    .transaction-card-header .inner-section,
    .transaction-card-header .inner-section .rightButtonSection {
        flex-wrap: wrap;
    }

    .header-buttons {
        margin-top: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-buttons .btn-primary {
        width: 100%;
    }

    .transaction-card-header .inner-section .rightButtonSection {
        margin-top: 0.5rem;
    }

    .category-dropdown-btn,
    .category-dropdown-btn:focus {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-clip: padding-box;
        background-color: #fff !important;
        border: 1px solid #d2d6da !important;
        border-radius: .5rem;
        color: #495057;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: .875rem;
        font-weight: 400;
        line-height: 1.4rem;
        padding: .5rem .75rem;
        transform: scale(1) !important;
        transition: box-shadow .15s ease, border-color .15s ease;
        width: 100%;
        box-shadow: none;
        text-transform: unset
    }

    .category-dropdown-btn:hover {
        color: #495057;
        background-color: #fff;
        border: 1px solid #d2d6da !important;
        box-shadow: none !important;
        transform: scale(1) !important
    }

    .category-drodown-menu {
        width: 100%;
        margin-top: 5px !important;
        border-radius: 10px;
        border: 1px solid #d2d6da !important;
        height: 250px;
        overflow: hidden;
        overflow-y: scroll
    }

    .category-drodown-menu li {
        color: #000 !important;
    }

    .category-drodown-menu li:hover {
        border-radius: 6px
    }

    .category-drodown-menu::before {
        display: none
    }

    .delete-category-btn {
        padding: 0;
        box-shadow: none;
        color: crimson;
        margin-bottom: 0;
    }

    .delete-category-btn i {
        font-size: 0.875rem !important;
        color: crimson;
        font-weight: 400 !important;
    }
}

.category-dropdown-btn {
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.category-drodown-menu {
    min-width: 250px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeIn 0.3s ease-in-out;
}

.category-item {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease-in-out;
}

.category-item:hover {
    background: #f8f9fa;
    cursor: pointer;
}

.delete-category-btn {
    background-color: transparent;
    border: none;
    color: #dc3545;
    padding: 6px;
    transition: color 0.2s ease-in-out, transform 0.2s;
}


.delete-category-btn i {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.customSidebarWrapper .nav-link-text {
    padding-left: 0.6rem !important;
}
.product-count {
    border-radius: 0.875rem;
    border: 1px solid #0384fc !important;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    gap: 0.5rem;
    flex-direction: row-reverse;
    padding: 0.375rem 0.75rem;
    text-transform: capitalize;
    font-size: 0.875rem;
}

.product-count .bg-secondary {
	background-color: #0384fc !important
}