/* Hide WooCommerce default fields */
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
#customer_details,
.col2-set,
.col-1,
.col-2,
.woocommerce-checkout-review-order-table,
.shop_table.woocommerce-checkout-review-order-table {
    display: none !important;
}

/* Custom Checkout Wrapper */
.checkout_main_wrapper {
    width: 100%;
    padding: 50px 0 100px;
}

.custom-checkout-wrapper .container {
    max-width: 100%;
}

/* Checkout Grid Layout */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

/* ============================================
   LEFT COLUMN: Cart Details Table
   ============================================ */

.checkout-left-column {
    background: #fff;
}

.checkout-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    padding: 0;
}

/* Cart Details Table */
.cart-details-table-wrapper {
    margin-bottom: 20px;
}

.cart-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}



.cart-details-table th {
    padding: 15px 12px;
    text-align: left;
    font-size: 14px;
    padding: 15px 12px;
    text-align: left;
    font-size: 14px;
    font-family: 'avenir_nextmedium';
    font-weight: 500;
    color: #767676;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #E6E6E6;
}

.cart-details-table th.col-programs {
    width: 26%;
}

.cart-details-table th.col-instance-details {
    width: 24%;
}

.cart-details-table th.col-price {
    width: 12%;
}

.cart-details-table th.col-quantity {
    width: 15%;
}

.cart-details-table th.col-total {
    width: 15%;
}

.cart-details-table th.col-remove {
    width: 8%;
    text-align: center;
}

.cart-details-table tbody tr {
    border-bottom: 1px solid #E6E6E6;
}

.cart-details-table tbody tr:hover {
    background: #fafafa;
}

.cart-details-table td {
    padding: 20px 12px;
    vertical-align: middle;
    font-size: 16px;
    color: #424242;
    font-family: 'avenir_nextmedium';
    font-weight: 500;
}

/* Program Item */
.program-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wp-block-template-part,
.woocommerce-form-coupon-toggle {
    display: none !important;
}

.product-thumbnail {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 1px solid #e0e0e0;
}

.product-thumbnail-placeholder {
    width: 45px;
    height: 45px;
    background: #f0f0f0;
    border: 1px solid #e0e0e0;
}

.program-name {

    color: #424242;
}

/* Delivery Mode */
.col-delivery {
    color: #424242;
}

/* Price Column */
.col-price {
    font-weight: 600;
    color: #424242;
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
}

.quantity-btn {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    background-color: #502E91;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.quantity-btn:hover {
    background: #502E91;
    color: #fff;
}

.quantity-value {
    min-width: 25px;
    text-align: center;
    font-weight: 500;
    color: #424242;
    font-size: 16px;
    font-family: 'avenir_nextmedium';
    padding: 2px 0px;

}

/* Total Column */
.col-total {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

/* Remove Button */
.remove-item-btn {
    background: transparent;
    border: none;
    color: #fff;
    background-color: #E70A0A;
    cursor: pointer;
    width: 24px;
    height: 24px;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.2s;

}

.remove-item-btn:hover {
    background: #ffeaea;
    color: #c0392b;
}

/* Add More Program Button */

.add-more_btn {
    width: 100%;
    display: flex;
}

.add-more-program-btn {
    width: auto;
    padding: 12px 20px;
    display: inline-block;
    background: #fff;
    border: 1px solid #502E91;
    color: #502E91;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    -webkit-border-radius: 42px;
    border-radius: 42px;
    margin-left: auto;
}

.add-more-program-btn:hover {
    background: #502E91;
    color: #fff;
}

/* Empty Cart */
.empty-cart-message {
       text-align: center;
    padding: 65px 20px;
    background: #ebe4f3;
    border-radius: 15px;
        margin-top: 25px;
}

.maximus-action-buttons .btn_main{
    justify-content: center;
}

.empty-cart-message .second-title{
    color: #414141;
    margin-bottom: 25px;
}

/* ============================================
   RIGHT COLUMN: Cart Totals & Payment
   ============================================ */

.checkout-right-column {
    background: #EBE4F3;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    padding: 20px;
    position: sticky;
    top: 20px;
}

.cart-details-table .program-details {
    font-size: 15px;
    line-height: 20px;
}

.checkout-right-column .checkout-right-column{
       padding: 0;
}

.cart-details-table td .detail-item{
       font-size: 15px;
}

/* Reservation Timer */
.reservation-timer {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
}

.timer-icon {
    width: 24px;
    height: 24px;
    background: #7EBE63;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.timer-content {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.timer-content span {
    font-size: 20px;
    font-family: 'avenir_nextdemi_bold';
    font-weight: 700;
    color: #7DBD63;
    display: block;
    margin-bottom: 4px;
}

.timer-content p {
    font-size: 14px;
    color: #424242;
    margin: 0;
    line-height: 20px;
}

.reservation-timer.expired {
    background: #ffeaea;
    border-color: #e74c3c;
}

.reservation-timer.expired .timer-icon {
    background: #e74c3c;
}

/* Cart Totals Section */


.cart-totals-title {
    font-size: 36px;
    font-family: 'avenir_nextbold';
    font-weight: 700;
    color: #171717;
    margin: 0 0 20px 0;

}

.cart-totals-breakdown .totals-row:first-child {
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
}

.cart-totals-breakdown {
    margin-bottom: 20px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 18px;
    font-family: 'avenir_nextregular';
    font-weight: 400;
    color: #424242;
}

.totals-value {
    font-family: 'avenir_nextmedium';
    font-weight: 500;
    color: #424242;
}

/* Grand Total Section */
.grand-total-section {
    padding: 15px;
    border-radius: 15px;
    margin-top: 30px;
    background-color: #FFFFFF;
}

.grand-total-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.grand-total-row span:first-child {
    font-size: 18px;
    font-family: 'avenir_nextmedium';
    font-weight: 500;
    color: #424242;
    width: 100%;
}

.grand-total-amount {
    font-size: 30px;
    font-family: 'avenir_nextbold';
    font-weight: 700;
    color: #171717;
    margin-top: 30px;
}

.vat-note {
    font-size: 14px;
    color: #424242;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.vat-note-icon {
    font-size: 14px;
}

/* Refund Policy Section */
.refund-policy-section {
    padding: 0;
    margin-top: 20px;
    margin-bottom: 25px;
}

.refund-policy-section p {
    font-size: 16px;
    color: #424242;
    line-height: 20px;
    margin: 0 0 10px 0;
}

.refund-policy-link {
    color: #6C489C;
    text-decoration: none;
    font-size: 16px;
    font-family: 'avenir_nextdemi_bold';
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    text-decoration: underline;
}

.refund-policy-link:hover {
    text-decoration: underline;
}

.refund-contact {
    font-size: 13px;
    color: #666;
    margin-top: 10px !important;
}

.refund-contact a {
    color: #502E91;
    text-decoration: none;
}

.refund-contact a:hover {
    text-decoration: underline;
}

.refund-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 0;
    border-top: 1px solid #FFFFFF;
}

.refund-info-icon {
    width: 22px;
    height: 22px;
    background: #B0A9BE;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    flex-shrink: 0;
    margin-top: 2px;
}

.refund-info-text {
    font-size: 14px;
    color: #424242;
    margin: 0;
    font-style: italic;
    line-height: 17px;
}

/* Coupon Section */
.coupon-section {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    position: relative;
    width: 100%;
}

.coupon-input {
    width: 100%;
    padding: 0px 15px;
    height: 45px;
    line-height: 45px;
    padding-right: 110px;
    border-radius: 60px;
    font-size: 14px;
    color: #424242;
    background: #fff;
    border: none;
    outline: none;
}

.coupon-input::placeholder {
    color: #C9C9C9;
}

.coupon-input:focus {
    outline: none;

}

.apply-coupon-btn {
    width: 100px;
    height: 45px;
    line-height: 45px;
    padding: 0 15px;
    color: #6C489C;
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 8px;
    font-family: 'avenir_nextmedium';
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.apply-coupon-btn:hover {
    color: #502E91;
}

/* Payment Form */
.checkout-payment-form {
    margin-bottom: 25px;
}

.checkout-payment-form .place-order {
    margin: 0;
    padding: 0;
}



.checkout-payment-form #place_order:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.checkout-payment-form #place_order::after {
    content: "→";
    font-size: 18px;
    margin-left: 8px;
}

/* WooCommerce Payment Methods */
.woocommerce-checkout-payment {
    background: transparent;
    margin-bottom: 25px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.wc_payment_methods li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.wc_payment_methods li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Payment Systems Section */
.payment-systems-section {
    margin-top: 100px;
    margin-bottom: 0px;
    border-top: 1px solid #FFFFFF;
    padding-top: 15px;
}

.payment-systems-section h4 {
    font-size: 18px;
    font-weight: 600;
    font-family: 'avenir_nextdemi_bold';
    color: #171717;
    margin: 0 0 12px 0;
    letter-spacing: 0.5px;
}

.payment-logos-grid {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-logo-item {
    height: 28px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.payment-logo-item:hover {
    opacity: 1;
}

.payment-text-fallback {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Pay Over Time Section */
.pay-over-time-section {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 100px;
}

.pay-over-time-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #171717;
      font-family: 'avenir_nextdemi_bold';
    margin: 0 0 10px 0;
}

.pay-over-time-section p {
    font-size: 16px;
    color: #424242;
    line-height: 20px;
    margin: 0 0 15px 0;
}

.pay-over-time-logos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pay-over-time-logo {
    height: 32px;
    width: auto;
}


@media (max-width: 1600px) {

.checkout_main_wrapper {
    width: 100%;
    padding: 35px 0 70px;
}

.totals-row{
    font-size: 16px;
}

}


@media (max-width: 1300px) {

.checkout_main_wrapper {
    width: 100%;
    padding: 35px 0 40px;
}

.totals-row{
    font-size: 15px;
}

.refund-policy-section p {
    font-size: 14px;
}

  .cart-totals-title {
    font-size: 30px;
    }

}



/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .checkout-right-column {
        position: static;
        order: 0;
    }

    .cart-details-table {
        font-size: 12px;
    }

    .cart-details-table th,
    .cart-details-table td {
        padding: 12px 8px;
    }

    .checkout_main_wrapper {
    width: 100%;
    padding: 35px 0 0px;
}

.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
       width: auto;
}

.program-details {
    font-size: 18px;
}

.cart-details-table td{
      flex-wrap: wrap;
}


}

@media (max-width: 900px) {
    .custom-checkout-wrapper {
        padding: 20px 15px;
    }

    .cart-details-table td::before{
           width: 100%;
    }

    .cart-details-table td{
        row-gap: 6px;
                width: 99%;
    }

    .cart-totals-title {
    font-size: 26px;
    }

    .pay-over-time-section{
           margin-top: 25px;
    }

    .checkout-title {
        font-size: 24px;
    }

    .cart-details-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    .cart-details-table tbody{
              width: 100%;
    display: table;
    }

    .cart-details-table .remove-item-btn{
        position: absolute !important;
        top: 15px;
    }

    .cart-details-table thead {
        display: none;
    }

    .cart-details-table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
           width: 100%;
                   background: #ebe4f3;
    }

    .cart-details-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border: none;
        width: 100%;
    }

    .cart-details-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #171717;
        margin-right: 10px;
        display: inline-block;
        min-width: 100px;
    }

    .cart-details-table td.col-remove::before {
        content: '';
    }

    .cart-details-table td.col-programs {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-details-table td.col-remove {
        justify-content: flex-end;
    }

    .checkout-right-column {
        padding: 20px;
    }

    .grand-total-amount {
        font-size: 20px;
        margin-top: 20px;
    }

    .quantity-controls {
        margin: 0;
    }

    .add-more-program-btn{
        padding: 10px 20px;
            font-size: 14px;
            margin-top: 0px;
    }

    .woocommerce-privacy-policy-text p {
    font-size: 14px;
    }

    .pay-over-time-section p {
    font-size: 14px;
    }

    .pay-over-time-section h4 {
    font-size: 18px;
    line-height: 20px;
    }

    .refund-policy-link{
        font-size: 14px;
    }

    .timer-content span {
    font-size: 17px;
    }

    .timer-content{
        flex-wrap: wrap;
        gap: 0;
    }

        .checkout-right-column {
        padding: 15px;
        -webkit-border-radius: 10px;
    border-radius: 10px;
    }

    .woocommerce-privacy-policy-text p {
    font-size: 14px;
    }
}

/* Loading States */
.cart-item-row.updating {
    opacity: 0.6;
    pointer-events: none;
}

.cart-item-row.removing {
    opacity: 0.3;
}

#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
       background: transparent;
       border-radius: 0;
}

#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods{
       padding: 0px;
}

 .woocommerce-page .checkout_main_wrapper label{
    font-size: 16px;
    color: #424242;
    line-height: 20px;
    margin: 0 0 10px 0;
}

.payment_box.payment_method_wctelr{
    display: flex;
    flex-wrap: wrap;
}

.payment_box.payment_method_wctelr img{
      margin-top: 10px;
}

.form-row.place-order{
    padding: 0 !important;
    padding-top: 20px !important;
}

.woocommerce-privacy-policy-text p{
       font-size: 16px;
    color: #424242;
    line-height: 20px;
}

.checkout-payment-form #place_order{
        min-width: 200px;
    height: 50px;
    display: inline-flex
;
    line-height: 50px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    -webkit-border-radius: 40px;
    border-radius: 40px;
    background: #502E91;
    color: #fff;
    border: none;
    outline: none;
    transition: all 0.3s 
ease;
    padding: 0 55px 0 20px;
    font-family: 'avenir_nextmedium';
    font-weight: 500;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    margin-top: 30px;
}


.checkout-payment-form #place_order::after {
    content: "";
    width: 42px;
    height: 42px;
    background-color: #fff;
    background-image: url(../images/btn-arrow.png);
    background-repeat: no-repeat;
    background-position: right center;
    border-radius: 100%;
    position: absolute;
    right: 4px;
    top: 4px;
    transition: all 0.3s 
ease;
}

.checkout-payment-form #place_order:hover::after {
  background-color: #7FBD61;
  background-position: left center;
}

.wc_payment_method.payment_method_wctelr img{
    margin-left: 0 !important;
   margin-top: 10px !important;
   margin-right: 5px !important;
}

.woocommerce-checkout #payment div.payment_box{
    background-color: transparent;
    color: #515151;
    padding: 0;
    margin: 10px 0;
    font-size: 16px;
    color: #424242;
    line-height: 20px;
    margin: 0 0 10px 0;
}

.wc_payment_method.payment_method_wctelr label,
.woocommerce-checkout #payment div.payment_box::before{
       display: none;
}


.woocommerce-customer-details{
    display: none !important;
}


/*thank you page*/



.maximus-thankyou-wrapper {
    max-width:990px;
    margin: 150px auto 60px;
    text-align: center;
}

.maximus-thankyou-title {
    font-size: 120px;
    font-weight: 700;
    color: #1a0b4d;
    margin-bottom: 20px;
    line-height: 1.2;
}

.maximus-thankyou-subtitle {
    font-size: 20px;
    color: #6b4fc7;
    font-weight: 600;
    margin-bottom: 15px;
}


.maximus-course-card-main{
  width: 100%;
  margin-top: 80px;
}


.maximus-course-card {
    background: #EBE4F3;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.maximus-course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.maximus-course-info{
       width: 65%;
}

.maximus-seats-info{
    width: 35%;
}

.maximus-course-info h3,
.maximus-seats-info h3 {
    font-size: 22px;
    color: #502E91;
     font-family: 'avenir_nextmedium';
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.maximus-course-title,
.maximus-seats-number {
    font-size: 24px;
    font-family: 'avenir_nextdemi_bold';
    font-weight: 700;
    color: #171717;
    margin-bottom: 10px;
}

.maximus-course-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.maximus-course-badge {
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #1a0b4d;
    font-weight: 500;
}


.maximus-feedback-box {
    background: white;
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.maximus-feedback-text {
    font-family: 'avenir_nextdemi_bold';
    font-size: 22px;
    line-height: 26px;
    color: #171717;
    font-weight: 500;
    text-align: left;
    
}

.maximus-feedback-text{
max-width: 530px;
}

.maximus-feedback-link_main{
   display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    width: max-content;
}

.maximus-feedback-link {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    border: 1px solid #EBE4F3;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

.maximus-feedback-link:hover {
    background-color: #502E91;
}

.maximus-feedback-link:hover img{
    filter: brightness(0) invert(1);
}

.maximus-feedback-meta {
    width: 100%;
    font-size: 16px;
    font-family: 'avenir_nextdemi_bold';
    color: #6C489C;
    margin-top: 8px;
}

.maximus-action-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 55px;
    flex-wrap: wrap;
}



.woocommerce-order-details{
        width: 100%;
        margin-top: 80px;
        margin-bottom: 0;
}

.woocommerce-order-details .woocommerce-order-details__title{
        font-size: 56px;
    line-height: 56px;
    color: #171717;
    margin-bottom: 20px;
}

.woocommerce-order-details table.shop_table{
       width: 100%;
       font-size: 18px;
}

.woocommerce-order-details table.shop_table td,
.woocommerce-order-details table.shop_table th{
          font-family: 'avenir_nextmedium';
      font-weight: 500;
          color: #171717;
}

.order_details .wc-item-meta{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
}

.order_details .wc-item-meta li{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        font-size: 16px;
}

.order_details .wc-item-meta li{
    font-family: 'avenir_nextregular';
    font-weight: 400;
    color: #424242;
    line-height: 20px;
}

.order_details .wc-item-meta li .wc-item-meta-label{
    font-family: 'avenir_nextmedium';
    font-weight: 500;
        color: #171717;
}

.woocommerce-order-details table.shop_table th{
       background: #502E91;
       color: #fff;
}



.woocommerce-order-details table.shop_table tfoot th,.woocommerce-order-details table.shop_table tfoot td{
    font-weight: 500 !important;
}

.woocommerce-order-details table.shop_table td a{
      font-family: 'avenir_nextbold';
      font-weight: 700;
          color: #171717;
}

/* Survey Modal Styles */
.maximus-survey-modal {
    background: #ffffff;
    border-radius: 20px;
    max-width: 660px;
    width: 100%;
    padding: 0;
    position: relative;
}

.maximus-survey-modal.fancybox__content>.carousel__button.is-close{
    top: 20px;
    right: 20px;
}

.maximus-survey-title {
    font-size: 26px;
    font-weight: 700;
    color: #171717;
    margin-bottom: 5px;
    font-family: 'avenir_nextbold', sans-serif;
}

.maximus-survey-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #EBE4F3;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.maximus-survey-close:hover {
    background: #502E91;
}

.maximus-survey-close:hover svg path {
    stroke: #ffffff;
}

.maximus-survey-content {
    padding: 45px 30px 20px;
}

.maximus-survey-intro {
    font-size: 14px;
    color: #424242;
    margin: 0 0 30px 0;
    line-height: 20px;
}

.maximus-survey-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.maximus-survey-question {
    display: flex;
    flex-direction: column;
}

.maximus-survey-label {
    font-size: 16px;
    line-height: 22px;
    color: #424242;
    font-family: 'avenir_nextmedium';
    font-weight:500;
    margin-bottom: 0;
}

.maximus-survey-form textarea.form-control{
    height: 150px;
    line-height: 24px;
    border-radius: 20px !important;
    resize: none;
    padding: 10px 20px !important;
}

.maximus-star-rating {
    display: flex;
    gap: 8px;
    direction: ltr;
}

.maximus-star-rating .star {
    font-size: 28px;
    color: #E0E0E0;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    user-select: none;
}

.maximus-star-rating .star:hover,
.maximus-star-rating .star.hover {
    color: #502E91;
    transform: scale(1.1);
}

.maximus-star-rating .star.active {
    color: #502E91;
}

.maximus-survey-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    color: #171717;
    background-color: #ffffff;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23502E91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    transition: border-color 0.3s ease;
}

.maximus-survey-select:focus {
    outline: none;
    border-color: #502E91;
}

.maximus-survey-select option {
    padding: 12px;
}

.maximus-survey-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    color: #171717;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.maximus-survey-textarea:focus {
    outline: none;
    border-color: #502E91;
}

.maximus-survey-textarea::placeholder {
    color: #999;
}

.maximus-survey-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}



/* Fancybox customization for survey modal */
.fancybox__container .maximus-survey-modal {
    margin: 20px;
}

.maximus-survey-form .btn_main{
    text-align: center;
    min-width: 165px;
    justify-content: center;
}

@media (max-width: 900px) {
    .maximus-thankyou-title {
        font-size: 48px;
    }
    
    .maximus-course-header {
        flex-direction: column;
    }
    
    .maximus-seats-info {
        text-align: left;
    }
    
    .maximus-feedback-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .maximus-feedback-text {
        text-align: center;
    }
    
    .maximus-action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .maximus-btn {
        width: 100%;
        justify-content: center;
    }
    
    .maximus-survey-modal {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .maximus-survey-header {
        padding: 20px;
    }
    
    .maximus-survey-content {
        padding: 20px;
    }
    
    .maximus-survey-title {
        font-size: 20px;
    }
    
    .maximus-survey-actions {
        justify-content: center;
    }
    
    .maximus-survey-submit {
        width: 100%;
        justify-content: center;
    }
}


.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-order-details .woocommerce-table{
    display: none;
}

.zatca-invoice-section a{
    border-radius:40px !important;
}

.zatca-invoice-section{
    background-color: #ebe4f3 !important;
    border-color: #ebe4f3 !important;
}

.pay-over-time-section{
    display: none;
}


  .checkout-countdown-timer {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 15px 15px;
        margin-bottom: 20px;
    }

    .checkout-countdown-timer-inner {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .checkout-timer-icon {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
            padding: 4px;
        background: #4CAF50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .checkout-timer-display {
        flex-shrink: 0;
    }

    .timer-countdown {
        font-size: 20px;
       font-family: 'avenir_nextdemi_bold';
font-weight:bold;
        color: #4CAF50;
        line-height: 1;
    }

    .checkout-timer-message {
        flex: 1;
    }

    .checkout-timer-message p {
        margin: 0;
    font-size: 14px;
    color: #424242;
    line-height: 20px;
    }

      .checkout-timer-message p strong{
            font-family: 'avenir_nextmedium';
font-weight:500;
      }

    .checkout-countdown-timer-main{
            display: flex;
            align-items: center;
            gap: 10px;
    }

    @media (max-width: 768px) {
        .checkout-countdown-timer-inner {
            flex-direction: column !important;
            text-align: center !important;
            gap: 15px !important;
        }
        .checkout-timer-message p {
            font-size: 14px !important;
        }
        .timer-countdown {
            font-size: 22px !important;
        }
    }