/* ============================================================
    PREMIUM ADMIN DASHBOARD - DEEP VIOLET/BLUE THEME
   ============================================================
*/

body {
    overflow-x: hidden !important;
    /* Soft background version of the new gradient */
    background: radial-gradient( circle farthest-corner at 10% 20%, rgba(2,0,67,0.05) 2.2%, rgba(79,8,225,0.05) 90% ) !important;
}

.for-web-logo {
    width: 10.9125rem !important;
    display: block !important;
}

.for-seller-logo {
    width: 3rem !important;
    height: 2rem !important;
    display: block !important;
}

.code-example {
    position: relative;
}

.code-example .btn-clipboard {
    outline: none;
    background: transparent;
    border: 0;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.code-example .btn-clipboard:hover {
    color: rgba(0, 0, 0, 0.9);
}

.color-palette .color-entry {
    position: relative;
    display: block;
    height: 170px;
    color: #fff;
    border-radius: 0.25rem;
}

.color-palette a > .color-entry {
    transition: all 200ms ease-in;
    transform: scale(1);
}

.color-palette a:hover > .color-entry {
    box-shadow: 0px 0px 80px rgba(79, 8, 225, 0.3);
    z-index: 2;
    transform: scale(1.3);
}

.color-palette a.active > .color-entry,
.color-palette a.active:hover > .color-entry {
    transform: scale(1.1);
}

.color-palette .color-entry .color-code {
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.color-code-preview {
    border: 1px solid 0.25rem;
    padding: 6px;
}

.color-code-preview .color-preview {
    height: 150px;
    position: relative;
}

.color-code-preview .color-code-rgb {
    display: block;
    padding: 0 0 5px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
}

.color-code-preview .color-code-hex {
    display: block;
    padding: 10px 0 5px;
    text-align: center;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
}

.color-code-preview .color-text {
    position: absolute;
    width: 100%;
    top: 50%;
    margin-top: -10px;
    display: block;
    text-align: center;
}

.color-code-preview .color-class {
    position: absolute;
    top: 10px;
    left: 10px;
}

/* Updated Select2 & Choices */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: radial-gradient( circle farthest-corner at 10% 20%, rgba(2,0,67,1) 2.2%, rgba(79,8,225,1) 90% );
    border: none;
    margin-top: 4px;
    color: white;
}

.select2-container--default .select2-selection--multiple {
    height: auto;
}

.select2-container--default .color-preview {
    height: 12px;
    width: 12px;
    display: inline-block;
    margin-right: 5px;
    margin-left: 3px;
    margin-top: 2px;
}

.sortSelectCustom .select2-selection--single {
    border-color: #ccc;
    height: auto;
    padding: 0 10px;
}

.sortSelectCustom .select2-selection--single .select2-selection__rendered {
    padding: 8px 0;
    color: #777;
    font-size: 13px;
}

ol.breadcrumb {
    padding: 1px;
}

/* Updated Timeline */
.timeline-steps {
    max-inline-size: 400px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    position: relative;
}

.timeline-step:after {
    content: "";
    position: absolute;
    inset-inline-start: 15px;
    inset-block-start: 32px;
    block-size: 0;
    inline-size: 2px;
    background-color: #dcdcdc;
}

.timeline-step:not(:last-child):after {
    block-size: 100%;
}

.timeline-info {
    margin: 5px 0 20px;
}

.timeline-title {
    font-size: 16px;
    color: #dcdcdc;
    margin: 0 0 8px;
}

.timeline-text {
    margin-block-end: 5px;
    color: #dcdcdc;
}

.timeline-number {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background-color: #dcdcdc;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    margin-inline-end: 14px;
}

.timeline-number svg {
    inline-size: 16px;
    block-size: 16px;
    object-fit: contain;
    opacity: 0;
}

.timeline-number svg path {
    fill: #fff;
}

.timeline-step.completed .timeline-number {
    background: rgba(79, 8, 225, 1);
}

.timeline-step.completed .timeline-number svg,
.timeline-step.failed .timeline-number svg {
    opacity: 1;
}

.timeline-step.completed .timeline-title,
.timeline-step.failed .timeline-title {
    color: #212b36;
}

.timeline-step.completed .timeline-text,
.timeline-step.failed .timeline-text {
    color: #666;
    opacity: 0.5;
}

.timeline-step.completed:after {
    background-color: rgba(79, 8, 225, 1);
}

.timeline-step.failed .timeline-number {
    background-color: #ff3c3c;
}

.timeline-step.failed:after {
    background-color: #ff3c3c;
}

.btn-sm-status-custom {
    top: 12px;
    right: 20px;
    line-height: 18px;
    font-size: 8px;
}

.cursor-default {
    cursor: default !important;
}

.font-130 {
    font-size: 130%;
}

.info-color {
    color: #4f08e1;
}

.opacity--40 {
    opacity: 0.4;
}

/* Updated Coupon Details */
.coupon-details {
    border-radius: 10px;
    overflow: hidden;
    max-width: 522px;
    box-shadow: 0 10px 30px rgba(2, 0, 67, 0.2);
}

.coupon-details .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #fff;
    z-index: 2;
}

.coupon__details {
    display: flex;
    position: relative;
}

.coupon__details-right {
    width: 142px;
    background: radial-gradient( circle farthest-corner at 10% 20%, rgba(2,0,67,1) 2.2%, rgba(79,8,225,1) 90% );
}

.coupon__details-left {
    width: 0;
    flex-grow: 1;
    padding: 30px 29px 45px;
    border-right: 12px solid rgba(79, 8, 225, 0.2);
}

.coupon__details-left .title, .coupon__details-left .subtitle {
    font-weight: 700;
    color: #020043;
}

.coupon__details .coupon {
    outline: 4px solid rgba(79, 8, 225, 0.1);
    width: 157px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-weight: 500;
    color: #020043;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 65px;
    background: #fff;
}

.coupon__details .coupon h4 {
    font-weight: 700;
    font-size: 32px;
    color: #4f08e1;
    line-height: 1;
}

/* Updated Loader */
#loader {
    border-top-color: #020043;
}
#loader:before {
    border-top-color: #4f08e1;
}
#loader:after {
    border-top-color: #7b42f5;
}

/* Additional Custom Styling */
.form-group.input_image::before {
    border: 1px dashed #4f08e1;
    color: #4f08e1;
}

.basic-box-shadow:hover {
    box-shadow: 2px 2px 15px rgba(79, 8, 225, 0.2);
}

.input_msg_write .upload_img_box .img-clear {
    background-color: #ff3c3c;
}

/* Responsive Table Fixes remain same */
@media (max-width: 575.98px) {
    .rich-editor-html-content table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }
}