.review-wrap-sidebar {
    margin-top: 24px;
    color: var(--color-primary);
    border-radius: 8px;
}
.review-wrap-sidebar .review-sidebar-btn{
    background-color: #f2fedc;
    transition: all 0.6s ease-in;
}
.review-wrap-sidebar .review-sidebar-btn:hover{
    background-color: var(--color-primary);
    color: #ffff;

}

.review-feedback-form fieldset,
.satisfiediv.ratingForm .label_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: none;
    margin: 20px 0 0;
    padding: 0;
}

.review-feedback-form fieldset label {
    background: #f2fedc;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-primary);
}

.satisfiediv.ratingForm .label_container label {
    background: #f2fedc;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-primary);
}

.review-feedback-form fieldset input[type="radio"],
.satisfiediv.ratingForm .label_container input[type="radio"] {
    display: none;
}

.swal2-html-container {
    color: var(--color-primary);
}

#notSatisfiedForm>label {
    font-size: 14px;
    margin: 12px 0 6px;
}

#notSatisfiedForm>textarea {
    padding: 12px;
    font-size: 14px;
    border: 1px solid var(--color-secondary);
    border-radius: 6px;
}

#notSatisfiedForm>textarea::placeholder {
    color: var(--color-primary);
    opacity: 0.8;
}

.review-feedback-form fieldset label:hover,
.satisfiediv.ratingForm .label_container label:hover {
    border-color: var(--color-primary);
}


.review-feedback-form fieldset input[type="radio"]:checked+label,
.satisfiediv.ratingForm .label_container input[type="radio"]:checked+label {
    background: var(--color-primary);
    color: white;
}

.satisfiediv.ratingForm .tittle_element {
    margin: 12px 0 6px;
    font-size: 14px;
}

.swal2-container {
    color: var(--color-primary);
}

h2#swal2-title {
    color: var(--color-primary) !important;
}

.swal2-container .swal2-close {
    color: var(--color-secondary);
}

.swal2-container .swal2-close:hover {
    color: var(--color-primary);
}

.rating_s.ratingForm h5 {
    font-size: 14px;
    margin: 12px 0 6px;
}


#main-content-area {
    padding-left: 12px !important;
}

#app-container {
    padding: 12px !important;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
}

.view-card h2,
.view-card h3 {
    color: var(--color-primary);
    /* Darker headings */
    font-weight: 700;
}

/* Card styles for views */
.view-card {
    background-color: #ffffff;
    /* Solid white background */
    border-radius: 10px;
    /* Consistent rounded corners */
    box-shadow: unset;
    /* Modern shadow */
    padding: 2rem;
    /* Consistent padding */
    color: var(--text-color);
    /* Dark text for readability */
    margin-bottom: 1.5rem;
    /* Space between cards */
}

#dashboard-view .view-card {
    border-radius: 8px;
}

canvas {
    display: block;
    background-color: transparent;
}


table.dataTable {
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px !important;
}

table.dataTable tbody th,
table.dataTable tbody td {
    padding: 12px 10px;
}

table.dataTable thead {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

table.dataTable.stripe>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>* {
    box-shadow: inset 0 0 0 9999px #f2fedc;
}

table.dataTable tbody tr:hover {
    background-color: #e6f5c9;
    transition: background-color 0.2s ease-in-out;
}

.dataTables_wrapper #offerStatsTable_filter {
    padding: 0 0px 20px;
}

.dataTables_wrapper #offerStatsTable_paginate a {
    padding: 6px 18px;
    border-radius: 7px;
}

.dataTables_wrapper #offerStatsTable_paginate a.disabled {
    background-color: var(--color-secondary);
    color: var(--color-primary) !important;
}

/* START  - App status */
/* Toggle track */
.app-status .status-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    border-radius: 13px;
    background-color: #d1d5db;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* The dot */
.app-status .toggle-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ON state - moves dot right */
.app-status .toggle-dot.bg-green-500 {
    transform: translateX(24px);
}

/* Track color for ON state */
.app-status .toggle-dot.bg-green-500::before {
    content: '';
    position: absolute;
    inset: -2px;
    /* Slight overlap for smooth edges */
    background: linear-gradient(135deg, #6ee7b7, #5cb85c);
    border-radius: 13px;
    z-index: -1;
    transition: background 0.35s ease;
    box-shadow: 0 0 18px -4px #000000;
}

/* Track color for OFF state */
.app-status .toggle-dot.bg-red-500::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #f87171, #b91c1c);
    border-radius: 13px;
    z-index: -1;
    transition: background 0.35s ease;
}

/* Subtle hover effect */
.app-status .status-toggle:hover .toggle-dot {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}

/* END  - App status */



/* START - our other apps */
.other-apps-section {
    background: #ffffff;
    padding: 40px 24px;
    border-radius: 8px;
    min-height: calc(100vh - 92px);
}

.other-apps-section .card-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 0 auto;
}

.other-apps-section .card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--color-secondary);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.other-apps-section .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border: 1px solid transparent;
}

.other-apps-section .card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.other-apps-section .card .content {
    padding: 24px;
    flex-grow: 1;
}

.other-apps-section .card .top-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.other-apps-section .card .top-content img {
    width: auto;
    max-height: 80px;
    object-fit: contain;
}

.other-apps-section .card .top-content span {
    font-size: 13px;
    color: #555;
}

.other-apps-section .card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    max-width: fit-content;
    padding-bottom: 4px;
    letter-spacing: 0.3px;
}

.other-apps-section .card h4 {
    margin: 0 0 12px;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.other-apps-section .card p {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.other-apps-section .card button {
    margin: 0 24px 24px;
    padding: 12px 18px;
    background: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.other-apps-section .card button svg {
    transition: 0.3s;
}

.other-apps-section .card button:hover {
    background: var(--color-primary);
    color: #fff;
}

.other-apps-section .card button:hover svg {
    transform: translateX(6px);
}

/* END  - out other apps */


/* START - configuration */

.configuration-setting-btn {
    display: flex;
    position: absolute;
    top: 30px;
    align-items: center;
    gap: 6px;
    right: 418px;
}

/* #spin-wheel-settings-form #configuration-view {
    display: flex;
} */

.pricing-icon {
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pricing-section li {
    min-height: 67px;
    margin: 0 !important;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-bottom: 1px solid var(--color-secondary);
    padding: 12px 0;
}

.pricing-section .pricing-tabs {
    background-color: var(--color-secondary);
    padding: 6px;
}

.pricing-section .pricing-tabs .tab-btn.active {
    background-color: var(--color-primary);
    color: #fff;
}

.pricing-section .feature-stats {
    margin-bottom: 114px;
}

@keyframes slow-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.animate-slow-bounce {
    animation: slow-bounce 2.5s ease-in-out infinite;
}

.pricing-section .pricing-tabs .tab-btn {
    width: 100px;
    padding: 10px 0;
}

@media screen and (max-width: 1023px) {
    .pricing-section li {
        text-align: center;
        gap: 12px;
        min-height: auto;
    }
}

@media screen and (max-width: 1200px) and (min-width: 1024px) {
    .pricing-section li {
        min-height: 75px;
    }
}

.pricing-section .popular-tag {
    background-color: var(--color-primary);
    line-height: normal;
    text-align: center;
}

.pricing-section .paid-list-block {
    border-color: var(--color-primary);
}

.pricing-section .feature-list-block li {
    flex-direction: row;
    line-height: 1.3;
}

.pricing-section button {
    padding: 12px 0;
}

.fa-check {
    background-image: url("data:image/svg+xml,%3Csvg width='24px' height='24px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.89163 13.2687L9.16582 17.5427L18.7085 8' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fa-xmark {
    background-image: url("data:image/svg+xml,%3Csvg width='24px' height='24px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg id='Menu / Close_MD'%3E%3Cpath d='M18 18L12 12M12 12L6 6M12 12L18 6M12 12L6 18' stroke='%23f87171' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E");
}

@media screen and (max-width: 1240px) {
    #spin-wheel-settings-form #configuration-view {
        flex-direction: column;
        align-items: center;
    }

    #configuration-view .spin-wheel-preview-block {
        margin-left: auto;
        margin-right: auto;
    }
}

#configuration-view .spin-wheel-preview-block {
    max-width: 100%;
    position: sticky;
    top: 12px;
}

#configuration-view .configure-wheel-slices-block {
    width: 100%;
}

#configuration-view .accordion-item #offers-content #slices-list {
    max-height: 480px;
    overflow-y: auto;
}

.spin-wheel-preview-block .email-section #email-input {
    border-radius: 4px;
    padding: 6px 12px;
}

#configuration-view .configure-wheel-slices-block .widget-icon-grp {
    gap: 1.5rem !important;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-in-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


#configuration-view .configure-wheel-slices-block .widget-icon-grp>div {
    background: #fff;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    flex-direction: column-reverse;
    position: relative;
}


#configuration-view .configure-wheel-slices-block .widget-icon-grp>div:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); */
    border: 1px solid var(--color-secondary);
}


#configuration-view .configure-wheel-slices-block .widget-icon-grp button {
    font-size: 16px;
    padding: 0.4rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    background: var(--color-primary)c4;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    z-index: 0;
}

#configuration-view .configure-wheel-slices-block .widget-icon-grp>div:hover button {
    z-index: 9;
    opacity: 0;
}


/* #configuration-view .configure-wheel-slices-block .widget-icon-grp button:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.6);
    color: var(--color-primary);
} */

#widget-position-content.accordion-content.open {
    max-height: 1200px;
}

#configuration-view .configure-wheel-slices-block .widget-icon-grp img {
    width: 80px;
    height: auto;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    margin-top: 0;
    margin: auto;
}


#configuration-view .configure-wheel-slices-block .widget-icon-grp>div:hover img {
    transform: scale(1);
    border-radius: 4px;
    /* box-shadow: 0 6px 16px rgba(27, 61, 47, 0.244); */
}


/* END - configuration */

#offerStatsTable_filter {
    padding: 20px 0px;

    input {
        border: 1px solid #ececec;
    }
}

#offerStatsTable_info {
    text-align: center;
}

#offerStatsTable_paginate {
    display: flex;
    width: 100%;
    justify-content: space-between;

    a {
        color: #ffffff !important;
        padding: 10px 20px;
        border-radius: 10px;
        background-color: #1b3d2f;
    }
}

table {
    border-radius: 10px;
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
    border-bottom: 0;
    /* cursor: pointer; */

    .dataTables_empty {
        padding: 20px 0px;
        text-align: center;
    }
}

.pointer-triangle {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #FF4500;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
    position: absolute;
    bottom: 0;
}

.view-template {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    color: #34495e;
    margin-bottom: 1.5rem;
}

.template-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    border-radius: 8px;
}

.template-card {
    background: #f2fedc;
    border-radius: 12px;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.11); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    text-align: center;
}

.template-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.template-card .temp-img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.template-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-transform: capitalize;
    margin-top: 20px;
}

.template-card img {
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    padding-top: 0.5rem;
}

.accordion-content.active {
    display: block;
    max-height: fit-content;
}

.accordion-header {
    font-size: 18px;
    margin: 0px;
    display: flex;
    cursor: pointer;
    font-weight: 600;
    align-items: center;
    background: #d0d2ac;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    justify-content: space-between;
}

.accordion-header:hover {
    background: var(--primary-bg);
    color: #fff;
}


.accordion-header.active .accordion-icon {
    transform: rotate(90deg);
}

.accordion-header.active {
    background: #1b3d2f !important;
}

.accordion-icon {
    transition: transform 0.2s ease-in-out;
}

/* Start css Setup wizard */

#wizard { max-width:1200px; margin:auto; padding:30px; }

/* Wizard steps */
.wizard-steps {
    display:flex;
    justify-content:space-between;
    margin-bottom:30px;
}
.step {
    flex:1;
    text-align:center;
    padding:12px;
    border-radius:8px;
    font-weight:600;
    background:#dcdcdc;
}
.step.active { background:#1b3d2f; color:#fff; }
.step.locked { opacity:0.5; }

/* Template grid */
.template-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}
.template-card {
    background:#fff;
    border-radius:12px;
    padding:16px;
    text-align:center;
}
.template-card img {
    width:100%;
    border-radius:8px;
}
.secondary-btn {
    margin-top:10px;
    padding:8px 12px;
    border:1px solid #1b3d2f;
    background:#fff;
    cursor:pointer;
}
.secondary-btn:hover {
    background:#1b3d2f;
    color:#fff;
}

/* Placeholder */
.placeholder {
    background:#fff;
    border-radius:12px;
    padding:40px;
    text-align:center;
}

.disable_upgrade{
    display: none;
}
