/**
 * Stylesheet for Bode Stephen's Tutor LMS & WooCommerce Integration Bridge
 */

/* Google Font Import for premium typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

.tutor-wc-bridge-banner,
.tutor-wc-bridge-live-classes-card,
.tutor-wc-bridge-subscription-tab,
.tutor-wc-bridge-checkout-wrapper {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* ========================================
   Notice Banner
   ======================================== */
.tutor-wc-bridge-banner {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%) !important;
    border-left: 5px solid #ff4d4d !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    box-shadow: 0 4px 15px rgba(255, 77, 77, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.tutor-wc-bridge-banner:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.12) !important;
}
.tutor-wc-bridge-banner-title {
    margin: 0 0 6px 0 !important;
    color: #e53e3e !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}
.tutor-wc-bridge-banner-desc {
    margin: 0 !important;
    color: #4a5568 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.tutor-wc-bridge-btn-renew {
    background: #ff4d4d !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.2) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}
.tutor-wc-bridge-btn-renew:hover {
    background: #e53e3e !important;
    color: white !important;
    transform: scale(1.02) !important;
}

/* ========================================
   Upcoming Live Classes Card
   ======================================== */
.tutor-wc-bridge-live-classes-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01) !important;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}
.tutor-wc-bridge-live-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #edf2f7 !important;
    padding-bottom: 16px !important;
    margin-bottom: 20px !important;
}
.tutor-wc-bridge-live-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.tutor-wc-bridge-live-badge-count {
    background: #ebf8ff !important;
    color: #2b6cb0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    border-radius: 9999px !important;
}
.tutor-wc-bridge-live-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.tutor-wc-bridge-live-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.tutor-wc-bridge-live-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}
.tutor-wc-bridge-live-item-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.tutor-wc-bridge-type-badge {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    align-self: flex-start !important;
}
.tutor-wc-bridge-type-badge.zoom {
    background: #ebf8ff !important;
    color: #2b6cb0 !important;
}
.tutor-wc-bridge-type-badge.gmeet {
    background: #e6fffa !important;
    color: #319795 !important;
}
.tutor-wc-bridge-live-item-title {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
}
.tutor-wc-bridge-live-item-course {
    font-size: 13px !important;
    color: #4a5568 !important;
}
.tutor-wc-bridge-live-item-time {
    font-size: 13px !important;
    color: #718096 !important;
    font-weight: 500 !important;
}
.tutor-wc-bridge-btn-join {
    background: #2b6cb0 !important;
    border: none !important;
    color: white !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: background 0.2s ease !important;
    cursor: pointer !important;
}
.tutor-wc-bridge-btn-join:hover {
    background: #1a365d !important;
    color: white !important;
}
.tutor-wc-bridge-btn-pending {
    background: #cbd5e0 !important;
    color: #718096 !important;
    border: none !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: not-allowed !important;
}

/* ========================================
   Subscription Tab Content
   ======================================== */
.tutor-wc-bridge-sub-list-container {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01) !important;
    margin-bottom: 30px !important;
}
.tutor-wc-bridge-sub-row {
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-bottom: 12px !important;
}
.tutor-wc-bridge-sub-status {
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
}
.tutor-wc-bridge-sub-status.active {
    background: #f0fff4 !important;
    color: #48bb78 !important;
}
.tutor-wc-bridge-sub-status.expired {
    background: #fff5f5 !important;
    color: #e53e3e !important;
}
.tutor-wc-bridge-btn-manage {
    border: 1px solid #cbd5e0 !important;
    color: #4a5568 !important;
    background: #ffffff !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: background 0.2s ease !important;
}
.tutor-wc-bridge-btn-manage:hover {
    background: #f7fafc !important;
    color: #2d3748 !important;
}

/* ========================================
   Pricing Grid Selection
   ======================================== */
.tutor-wc-bridge-pricing-container {
    background: white !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01) !important;
}
.tutor-wc-bridge-pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 24px !important;
    margin-top: 30px !important;
}
.tutor-wc-bridge-pricing-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border-top: 4px solid #ff4d4d !important;
}
.tutor-wc-bridge-pricing-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 25px rgba(0,0,0,0.05) !important;
}
.tutor-wc-bridge-pricing-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin: 0 0 12px 0 !important;
}
.tutor-wc-bridge-pricing-price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #2b6cb0 !important;
    margin-bottom: 16px !important;
}
.tutor-wc-bridge-pricing-desc {
    font-size: 13px !important;
    color: #4a5568 !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
    text-align: left !important;
}
.tutor-wc-bridge-btn-choose {
    background: #ff4d4d !important;
    color: white !important;
    width: 100% !important;
    padding: 12px 0 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    display: block !important;
    text-align: center !important;
    transition: background 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
}
.tutor-wc-bridge-btn-choose:hover {
    background: #e53e3e !important;
    color: white !important;
}

/* ========================================
   CHECKOUT — Empty Cart State
   ======================================== */
.tutor-wc-bridge-checkout-empty {
    text-align: center !important;
    padding: 60px 20px !important;
}
.tutor-wc-bridge-checkout-empty-icon {
    font-size: 48px !important;
    margin-bottom: 16px !important;
}
.tutor-wc-bridge-checkout-empty h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin: 0 0 8px 0 !important;
    border: none !important;
    padding: 0 !important;
}
.tutor-wc-bridge-checkout-empty p {
    color: #718096 !important;
    font-size: 14px !important;
    margin: 0 0 24px 0 !important;
}
.tutor-wc-bridge-btn-back-plans {
    background: #2b6cb0 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-block !important;
    transition: background 0.2s ease !important;
}
.tutor-wc-bridge-btn-back-plans:hover {
    background: #1a365d !important;
    color: #ffffff !important;
}

/* ========================================
   CHECKOUT — Wrapper & Title
   ======================================== */
.tutor-wc-bridge-checkout-wrapper {
    width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    padding: 40px !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
}
.tutor-wc-bridge-checkout-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 28px 0 !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-align: center !important;
}
.tutor-wc-bridge-checkout-form-container {
    max-width: 680px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* ========================================
   CHECKOUT — Hide unwanted elements
   ======================================== */
.tutor-wc-bridge-checkout-wrapper .woocommerce-message {
    display: none !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-form-coupon-toggle,
.tutor-wc-bridge-checkout-wrapper .checkout_coupon {
    display: none !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-additional-fields {
    display: none !important;
}
.tutor-wc-bridge-checkout-wrapper #customer_details .col-2 {
    display: none !important;
}

/* ========================================
   CHECKOUT — Single Column Stacked Layout
   ======================================== */
.tutor-wc-bridge-checkout-wrapper .woocommerce {
    width: 100% !important;
}
.tutor-wc-bridge-checkout-wrapper form.checkout {
    display: block !important;
    width: 100% !important;
}
.tutor-wc-bridge-checkout-wrapper #customer_details {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin-bottom: 28px !important;
}
.tutor-wc-bridge-checkout-wrapper #order_review_heading {
    display: none !important;
}
.tutor-wc-bridge-checkout-wrapper #order_review {
    display: block !important;
    width: 100% !important;
    float: none !important;
    position: static !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    margin-top: 28px !important;
}

/* ========================================
   CHECKOUT — Billing Fields Cleanup
   ======================================== */
.tutor-wc-bridge-checkout-wrapper #customer_details .col-1 {
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-billing-fields h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    border: none !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-billing-fields__field-wrapper {
    display: block !important;
}
.tutor-wc-bridge-checkout-wrapper .form-row {
    margin: 0 0 16px 0 !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
}

/* ========================================
   CHECKOUT — Form Fields Styling
   ======================================== */
.tutor-wc-bridge-checkout-wrapper label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
    display: inline-block !important;
}
.tutor-wc-bridge-checkout-wrapper label .required {
    color: #ef4444 !important;
}
.tutor-wc-bridge-checkout-wrapper input[type="text"],
.tutor-wc-bridge-checkout-wrapper input[type="email"],
.tutor-wc-bridge-checkout-wrapper input[type="tel"],
.tutor-wc-bridge-checkout-wrapper input[type="number"],
.tutor-wc-bridge-checkout-wrapper select,
.tutor-wc-bridge-checkout-wrapper textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    background-color: #f8fafc !important;
    font-size: 14px !important;
    color: #0f172a !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    box-sizing: border-box !important;
    height: auto !important;
}
.tutor-wc-bridge-checkout-wrapper input:focus,
.tutor-wc-bridge-checkout-wrapper select:focus,
.tutor-wc-bridge-checkout-wrapper textarea:focus {
    border-color: #2b6cb0 !important;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12) !important;
    background-color: #ffffff !important;
}

/* ========================================
   CHECKOUT — Order Review Card
   ======================================== */
.tutor-wc-bridge-checkout-wrapper #order_review::before {
    content: 'Your Order' !important;
    display: block !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: 20px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ========================================
   CHECKOUT — Order Review Table
   ======================================== */
.tutor-wc-bridge-checkout-wrapper table.shop_table {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    margin-bottom: 24px !important;
}
.tutor-wc-bridge-checkout-wrapper table.shop_table th {
    background: #f1f5f9 !important;
    padding: 12px 16px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.tutor-wc-bridge-checkout-wrapper table.shop_table td {
    padding: 14px 16px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}
.tutor-wc-bridge-checkout-wrapper table.shop_table tr:last-child td {
    border-bottom: none !important;
}
.tutor-wc-bridge-checkout-wrapper table.shop_table .order-total td,
.tutor-wc-bridge-checkout-wrapper table.shop_table .order-total th {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 16px !important;
    background: #f8fafc !important;
}

/* ========================================
   CHECKOUT — Payment Methods
   ======================================== */
.tutor-wc-bridge-checkout-wrapper #payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
}
.tutor-wc-bridge-checkout-wrapper #payment ul.payment_methods {
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    list-style: none !important;
    border: none !important;
}
.tutor-wc-bridge-checkout-wrapper #payment ul.payment_methods li {
    padding: 16px 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}
.tutor-wc-bridge-checkout-wrapper #payment ul.payment_methods li:hover {
    border-color: #cbd5e1 !important;
    background: #f8fafc !important;
}
.tutor-wc-bridge-checkout-wrapper #payment ul.payment_methods li label {
    font-weight: 600 !important;
    color: #0f172a !important;
    margin-left: 8px !important;
    cursor: pointer !important;
    display: inline-block !important;
}
.tutor-wc-bridge-checkout-wrapper #payment ul.payment_methods li input[type="radio"] {
    margin: 0 !important;
    vertical-align: middle !important;
    accent-color: #2b6cb0 !important;
    transform: scale(1.1) !important;
}
.tutor-wc-bridge-checkout-wrapper #payment div.payment_box {
    background: transparent !important;
    border: none !important;
    padding: 12px 0 0 0 !important;
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #475569 !important;
    border-top: 1px dashed #e2e8f0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.tutor-wc-bridge-checkout-wrapper #payment div.payment_box::before {
    display: none !important;
}

/* Stripe Payment Element Overrides */
.tutor-wc-bridge-checkout-wrapper .wc-stripe-elements-container,
.tutor-wc-bridge-checkout-wrapper .wc-stripe-card-elements-container {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}
.tutor-wc-bridge-checkout-wrapper .StripeElement {
    background-color: #ffffff !important;
    padding: 12px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease-in-out !important;
}
.tutor-wc-bridge-checkout-wrapper .StripeElement--focus {
    border-color: #2b6cb0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.12) !important;
}

/* Express Payment Customizations */
.tutor-wc-bridge-checkout-wrapper .wc-stripe-express-checkout-container,
.tutor-wc-bridge-checkout-wrapper #wc-stripe-payment-request-wrapper,
.tutor-wc-bridge-checkout-wrapper .wc-payment-request-button-container {
    margin-bottom: 20px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
}

/* Hide standalone separator at the top */
.tutor-wc-bridge-checkout-wrapper .wc-stripe-express-checkout-separator,
.tutor-wc-bridge-checkout-wrapper .wc-stripe-payment-request-button-separator {
    display: none !important;
}

/* Add custom separator inside the payment box between express payment and card details */
.tutor-wc-bridge-checkout-wrapper .payment_box .wc-stripe-express-checkout-container::after,
.tutor-wc-bridge-checkout-wrapper .payment_box #wc-stripe-payment-request-wrapper::after,
.tutor-wc-bridge-checkout-wrapper .payment_box .wc-payment-request-button-container::after {
    content: '— OR PAY WITH CARD BELOW —' !important;
    display: block !important;
    text-align: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    margin: 20px 0 10px 0 !important;
    letter-spacing: 1px !important;
}

/* ========================================
   CHECKOUT — Place Order Button
   ======================================== */
.tutor-wc-bridge-checkout-wrapper #place_order {
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%) !important;
    border: none !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 16px 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(43, 108, 176, 0.3) !important;
    letter-spacing: 0.5px !important;
    margin-top: 16px !important;
}
.tutor-wc-bridge-checkout-wrapper #place_order:hover {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.4) !important;
}

/* ========================================
   CHECKOUT — Error & Info Notices
   ======================================== */
.tutor-wc-bridge-checkout-wrapper .woocommerce-info {
    background: #eff6ff !important;
    color: #1e40af !important;
    border: none !important;
    border-left: 4px solid #3b82f6 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-info::before {
    color: #3b82f6 !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: none !important;
    border-left: 4px solid #ef4444 !important;
    border-radius: 10px !important;
    padding: 16px 20px !important;
    font-size: 13px !important;
    margin-bottom: 24px !important;
    list-style: none !important;
}

/* Privacy policy text */
.tutor-wc-bridge-checkout-wrapper .woocommerce-terms-and-conditions-wrapper {
    font-size: 12px !important;
    color: #64748b !important;
    margin-top: 16px !important;
    line-height: 1.6 !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-privacy-policy-text a {
    color: #2b6cb0 !important;
    font-weight: 600 !important;
}

/* ========================================
   CHECKOUT — Responsive (mobile)
   ======================================== */
@media (max-width: 767px) {
    .tutor-wc-bridge-checkout-wrapper {
        padding: 20px !important;
    }
    .tutor-wc-bridge-checkout-wrapper .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }
    .tutor-wc-bridge-checkout-wrapper .form-row-first,
    .tutor-wc-bridge-checkout-wrapper .form-row-last,
    .tutor-wc-bridge-checkout-wrapper .form-row {
        grid-column: span 1 !important;
    }
}

/* ========================================
   ORDER RECEIVED — Thank You Page
   ======================================== */
.tutor-wc-bridge-thankyou-header {
    text-align: center !important;
    padding: 32px 20px 24px !important;
    border-bottom: 1px solid #edf2f7 !important;
    margin-bottom: 28px !important;
}
.tutor-wc-bridge-thankyou-icon {
    font-size: 52px !important;
    margin-bottom: 12px !important;
    line-height: 1 !important;
}
.tutor-wc-bridge-thankyou-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 10px 0 !important;
}
.tutor-wc-bridge-thankyou-subtitle {
    font-size: 14px !important;
    color: #718096 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Order Details Grid */
.tutor-wc-bridge-order-details-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 28px !important;
}
.tutor-wc-bridge-order-detail-card {
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 10px !important;
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.tutor-wc-bridge-detail-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #718096 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.tutor-wc-bridge-detail-value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
}

/* Bank Transfer Notice */
.tutor-wc-bridge-bank-notice {
    background: #fffbeb !important;
    border: 1px solid #fcd34d !important;
    border-left: 4px solid #f59e0b !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 28px !important;
}
.tutor-wc-bridge-bank-notice h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #92400e !important;
    margin: 0 0 10px 0 !important;
}
.tutor-wc-bridge-bank-notice p {
    font-size: 13px !important;
    color: #78350f !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.6 !important;
}

/* Order Items Table */
.tutor-wc-bridge-order-items-card {
    margin-bottom: 28px !important;
}
.tutor-wc-bridge-order-items-card h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 14px 0 !important;
    border: none !important;
    padding: 0 !important;
}
.tutor-wc-bridge-order-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}
.tutor-wc-bridge-order-table thead th {
    background: #f8fafc !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 16px !important;
    text-align: left !important;
    border-bottom: 1px solid #edf2f7 !important;
}
.tutor-wc-bridge-order-table tbody td {
    padding: 14px 16px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    border-bottom: 1px solid #edf2f7 !important;
}
.tutor-wc-bridge-order-table tbody tr:last-child td {
    border-bottom: none !important;
}
.tutor-wc-bridge-item-qty {
    color: #718096 !important;
    font-size: 13px !important;
    margin-left: 4px !important;
}
.tutor-wc-bridge-order-table tfoot th,
.tutor-wc-bridge-order-table tfoot td {
    padding: 14px 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    border-top: 2px solid #edf2f7 !important;
    text-align: left !important;
}

/* Thank You Actions */
.tutor-wc-bridge-thankyou-actions {
    text-align: center !important;
    padding-top: 8px !important;
}

/* ========================================
   CART — Dashboard Cart Page
   ======================================== */
.tutor-wc-bridge-checkout-wrapper .cart-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #718096 !important;
    font-size: 14px !important;
}
.tutor-wc-bridge-checkout-wrapper .return-to-shop a {
    background: #2b6cb0 !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    display: inline-block !important;
    margin-top: 16px !important;
    transition: background 0.2s ease !important;
}
.tutor-wc-bridge-checkout-wrapper .return-to-shop a:hover {
    background: #1a365d !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-cart-form table {
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-cart-form th {
    background: #f8fafc !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #edf2f7 !important;
}
.tutor-wc-bridge-checkout-wrapper .woocommerce-cart-form td {
    padding: 14px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    border-bottom: 1px solid #edf2f7 !important;
}
.tutor-wc-bridge-checkout-wrapper .cart_totals {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-top: 24px !important;
}
.tutor-wc-bridge-checkout-wrapper .cart_totals h2 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 0 16px 0 !important;
}
.tutor-wc-bridge-checkout-wrapper .wc-proceed-to-checkout .checkout-button {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%) !important;
    border: none !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 14px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(43, 108, 176, 0.25) !important;
    text-align: center !important;
    display: block !important;
    text-decoration: none !important;
}
.tutor-wc-bridge-checkout-wrapper .wc-proceed-to-checkout .checkout-button:hover {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%) !important;
    transform: translateY(-1px) !important;
}

/* ========================================
   ORDER PAY FORM STYLING
   ======================================== */
.tutor-wc-bridge-checkout-wrapper form#order_review {
    display: block !important;
    position: static !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
}

.tutor-wc-bridge-checkout-wrapper form#order_review #payment {
    background: #ffffff !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 20px !important;
}

/* ========================================
   NATIVE THANK YOU (BACS Details) STYLING
   ======================================== */
.tutor-wc-bridge-native-thankyou h2.wc-bacs-bank-details-heading,
.tutor-wc-bridge-native-thankyou h2.woocommerce-order-details__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 28px 0 14px 0 !important;
    border: none !important;
    padding: 0 !important;
}

.tutor-wc-bridge-native-thankyou ul.wc-bacs-bank-details {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
    gap: 16px !important;
}

.tutor-wc-bridge-native-thankyou ul.wc-bacs-bank-details li {
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 10px !important;
    padding: 16px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
}

.tutor-wc-bridge-native-thankyou ul.wc-bacs-bank-details li strong {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #718096 !important;
    text-transform: uppercase !important;
    margin-bottom: 4px !important;
    letter-spacing: 0.5px !important;
}

.tutor-wc-bridge-native-thankyou section.woocommerce-order-details {
    margin-top: 30px !important;
}

.tutor-wc-bridge-native-thankyou table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.tutor-wc-bridge-native-thankyou table.woocommerce-table--order-details th {
    background: #f8fafc !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #4a5568 !important;
    text-transform: uppercase !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.tutor-wc-bridge-native-thankyou table.woocommerce-table--order-details td {
    padding: 14px 16px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    border-bottom: 1px solid #edf2f7 !important;
}

.tutor-wc-bridge-native-thankyou table.woocommerce-table--order-details tr:last-child td {
    border-bottom: none !important;
}

/* ========================================
   INSTRUCTOR DASHBOARD — Hide Earnings/Revenue
   ======================================== */
/* Hide the Total Earnings card wrapper in dashboard overview */
.tutor-flex-1:has(> .tutor-stat-card-brand) {
    display: none !important;
}

/* Hide the Earnings Over Time chart section */
[data-section-id="overview_chart"] {
    display: none !important;
}

/* Hide the Revenue display inside Top Performing Courses list items */
.tutor-dashboard-home-course .tutor-gap-7 > div:first-child {
    display: none !important;
}

/* Hide the sorting filter dropdown in Top Performing Courses header */
[data-section-id="top_performing_courses"] .tutor-flex.tutor-row div[x-data*="tutorPopover"] {
    display: none !important;
}


