/* Tullabak subscription purchase flow — standalone, scoped UI. */
.tbp-commerce,.tbp-checkout--manual,.tbp-receipt-next,.tbp-account-banner{
 --tbp-green:#1E6F5C;--tbp-dark:#143D33;--tbp-soft:#EAF4F0;
 --tbp-muted:#60766C;--tbp-border:#DFEAE4;--tbp-blue:#5A9FD4;
 font-family:inherit;color:#20352F;direction:rtl;
}
.tbp-commerce{max-width:1060px;padding:28px 20px 65px;margin:0 auto}
.tbp-commerce *,.tbp-checkout--manual *{box-sizing:border-box}
.tbp-commerce-hero{max-width:780px;margin:0 auto 24px;text-align:center}
.tbp-commerce-overline{display:inline-block;padding:6px 14px;border-radius:999px;background:#EAF4F0;color:#1E6F5C;font-size:12px;font-weight:800}
.tbp-commerce-hero h1{font-size:clamp(24px,3.3vw,34px);color:#143D33;line-height:1.45;margin:12px 0 8px}
.tbp-commerce-hero p{font-size:14px;line-height:1.85;color:#60766C;margin:0}
.tbp-flow-steps{margin:20px 0 30px;overflow-x:auto}
.tbp-flow-steps ol{padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:350px;list-style:none}
.tbp-flow-steps li{display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #DFEAE4;border-radius:10px;background:white;padding:11px 5px;text-align:center;color:#6A7D72;font-size:11px;font-weight:700}
.tbp-flow-num{display:flex;flex:0 0 23px;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #CEDDD3;border-radius:50%;font-weight:850;font-size:12px}
.tbp-flow-steps li.is-current{color:#143D33;background:#EAF4F0;border-color:#1E6F5C}
.tbp-flow-steps li.is-current .tbp-flow-num{background:#1E6F5C;color:white;border-color:#1E6F5C}
.tbp-flow-steps li.is-done{background:#F7FBF8;border-color:#D8E6DD}
.tbp-flow-steps li.is-done .tbp-flow-num{color:#1E6F5C;border-color:#1E6F5C}
.tbp-commerce-body{background:#fff;border:1px solid #DFEAE4;border-radius:18px;padding:26px}
.tbp-commerce-body .woocommerce{max-width:none;margin:0}
.tbp-commerce-body .woocommerce-notices-wrapper .woocommerce-message,.tbp-commerce-body .woocommerce-info{border-top:3px solid #1E6F5C;background:#F1F8F4;color:#20352F}
.tbp-commerce-body .woocommerce .col2-set{display:grid;grid-template-columns:1fr;gap:20px;width:100%}
.tbp-commerce-body .woocommerce .col2-set .col-1,.tbp-commerce-body .woocommerce .col2-set .col-2{float:none;width:100%;padding:0}
.tbp-commerce-body #customer_details,.tbp-commerce-body #order_review{background:#fff;border:0;box-shadow:none}
.tbp-commerce-body h3{font-size:19px;font-weight:850;color:#143D33;margin:10px 0 20px}
.tbp-commerce-body .form-row{margin-bottom:12px}
.tbp-commerce-body .woocommerce form .form-row label{font-weight:750;color:#344B40;margin-bottom:6px}
.tbp-commerce-body input.input-text,.tbp-commerce-body .select2-container .select2-selection,.tbp-commerce-body textarea{min-height:44px;border:1px solid #CFDFD5;border-radius:9px;padding:10px 12px;color:#20352F;background:#fff;font-family:inherit;box-shadow:none}
.tbp-commerce-body input.input-text:focus,.tbp-commerce-body textarea:focus{outline:3px solid rgba(90,159,212,.3);border-color:#1E6F5C}
.tbp-commerce-body #order_review_heading{margin-top:20px}
.tbp-commerce-body table.shop_table{border:1px solid #DFEAE4;border-collapse:separate;border-radius:12px;overflow:hidden;width:100%;margin-bottom:16px}
.tbp-commerce-body table.shop_table th,.tbp-commerce-body table.shop_table td{border-bottom:1px solid #E5EEE9;padding:12px 15px;color:#20352F}
.tbp-commerce-body .order-total th,.tbp-commerce-body .order-total td{font-size:16px;font-weight:900;color:#143D33!important}
.tbp-commerce-body #payment{background:#F7FAF8;border:1px solid #DFEAE4;border-radius:12px}
.tbp-commerce-body #payment ul.payment_methods{border-bottom:1px solid #DFEAE4;padding:18px}
.tbp-commerce-body #payment div.payment_box{background:#EAF4F0;color:#20352F;border-radius:10px;line-height:1.8}
.tbp-commerce-body #payment div.payment_box:before{border-bottom-color:#EAF4F0}
.tbp-commerce-body #payment div.form-row{padding:17px}
.tbp-commerce-body button.button,.tbp-commerce-body #place_order,.tbp-commerce-button,
.tbp-receipt-next .tbp-commerce-button,.tbp-account-banner .tbp-commerce-button{
 display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;
 background:#1E6F5C;color:white!important;text-decoration:none!important;
 min-height:44px;padding:10px 19px;font-size:14px;font-weight:800;line-height:1.5;
 cursor:pointer;transition:background .18s,box-shadow .18s;
}
.tbp-commerce-body button.button:hover,.tbp-commerce-body #place_order:hover,
.tbp-commerce-button:hover,.tbp-receipt-next .tbp-commerce-button:hover,
.tbp-account-banner .tbp-commerce-button:hover{background:#143D33;color:white!important;box-shadow:0 7px 19px rgba(20,61,51,.13)}
.tbp-commerce-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:18px}
.tbp-commerce-trust span{border:1px solid #DFEAE4;background:#fff;border-radius:99px;padding:8px 13px;color:#49665A;font-size:12px}
.tbp-commerce-state{border:1px solid #DFEAE4;border-radius:15px;padding:28px;background:white;text-align:center}
.tbp-commerce-state h1,.tbp-commerce-state h2{font-size:22px;color:#143D33}
.tbp-commerce-state p{font-size:14px;line-height:1.9;color:#60766C}
.tbp-commerce-links{display:flex;gap:16px;margin:23px 0;flex-wrap:wrap}
.tbp-commerce-links a{color:#1E6F5C;font-weight:750}
.tbp-receipt-next{background:#EAF4F0;border:1px solid #C9E0D4;border-radius:12px;padding:17px;margin:15px 0}
.tbp-receipt-next strong{color:#143D33}.tbp-receipt-next p{color:#60766C;font-size:13px;margin:8px 0 13px}
.tbp-account-banner{background:#F8FBF9;border:1px solid #DFEAE4;border-radius:15px;padding:22px;margin-bottom:22px}
.tbp-account-banner h2{font-size:23px;color:#143D33;margin:10px 0}.tbp-account-banner p{color:#60766C;line-height:1.8}
body.woocommerce-account .woocommerce{max-width:1050px;margin:30px auto 55px;padding:0 20px}
body.woocommerce-account .woocommerce-MyAccount-navigation{width:23%;float:inline-start}
body.woocommerce-account .woocommerce-MyAccount-content{width:74%;float:inline-end}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{padding:8px;background:#F7FAF8;border:1px solid #DFEAE4;border-radius:13px;list-style:none}
body.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;text-decoration:none;padding:11px 13px;border-radius:8px;color:#375247;font-weight:700}
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,body.woocommerce-account .woocommerce-MyAccount-navigation li a:hover{background:#EAF4F0;color:#143D33}
body.woocommerce-account .woocommerce-MyAccount-content{background:white;border:1px solid #DFEAE4;border-radius:13px;padding:20px;min-height:180px}
body.woocommerce-account .woocommerce-MyAccount-content table{width:100%;border-collapse:collapse}
body.woocommerce-account .woocommerce-MyAccount-content th,body.woocommerce-account .woocommerce-MyAccount-content td{border-bottom:1px solid #E6EEE8;padding:12px 9px;text-align:start}
body.woocommerce-account .woocommerce button.button{background:#1E6F5C;color:white;border:0;border-radius:9px}
.tbp-checkout--manual{max-width:720px;margin:25px auto}
.tbp-checkout--manual h2{color:#143D33}
.tbp-checkout--manual .tbp-checkout__form{display:grid;gap:17px}
.tbp-checkout--manual input[type=file],.tbp-checkout--manual input[type=text]{border:1px solid #CFDFD5;border-radius:10px;padding:10px;max-width:100%;width:100%}
.tbp-checkout--manual .tbp-checkout__submit{border:0;background:#1E6F5C;color:#fff;min-height:44px;border-radius:9px;padding:12px 18px;font-weight:850;cursor:pointer}
.tbp-checkout--manual .tbp-checkout__submit:hover{background:#143D33}
.tbp-commerce :is(a,button,input,textarea,select):focus-visible,
.tbp-checkout--manual :is(a,button,input,textarea):focus-visible{outline:3px solid #5A9FD4;outline-offset:2px}
@media(max-width:780px){
 .tbp-commerce{padding:20px 13px 45px}
 .tbp-commerce-body{padding:17px 13px}
 .tbp-flow-steps{margin-bottom:20px}
 body.woocommerce-account .woocommerce{padding:0 12px}
 body.woocommerce-account .woocommerce-MyAccount-navigation,body.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}
 body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:12px}
 body.woocommerce-account .woocommerce-MyAccount-navigation li a{font-size:12px;padding:9px}
 .tbp-commerce-body #payment div.form-row{padding:12px}
 .tbp-commerce-body .order-review-wrapper{overflow-x:auto}
}
@media(prefers-reduced-motion:reduce){.tbp-commerce-button,.tbp-commerce-body button{transition:none}}

/* Teacher subscription account: separate from Woo's order-history screen. */
.tbp-teacher-account .tbp-account-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:10px 0 19px}
.tbp-teacher-account .tbp-account-panel{background:#fff;border:1px solid #DFEAE4;border-radius:16px;padding:23px;box-shadow:0 6px 20px rgba(20,61,51,.04);min-width:0}
.tbp-teacher-account .tbp-account-panel__label{display:inline-flex;background:#EAF4F0;color:#1E6F5C;border-radius:99px;padding:4px 11px;font-size:12px;font-weight:800}
.tbp-teacher-account .tbp-account-panel h2{font-size:21px;color:#143D33;margin:13px 0 8px;line-height:1.5}
.tbp-teacher-account .tbp-account-panel p{font-size:13px;line-height:1.85;color:#61776C;margin:0 0 17px}
.tbp-teacher-account .tbp-account-key{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-top:1px solid #E5EEE8;font-size:13px;color:#61776C}
.tbp-teacher-account .tbp-account-key b{font-weight:850;color:#143D33;direction:ltr;font-variant-numeric:tabular-nums}
.tbp-teacher-account .tbp-account-cta{background:#F5FAF7;border:1px solid #DCEBE2;border-radius:16px;padding:23px}
.tbp-teacher-account .tbp-account-cta h2{font-size:20px;color:#143D33;margin:0 0 7px}
.tbp-teacher-account .tbp-account-cta p{color:#61776C;font-size:13px;line-height:1.8;margin:0 0 17px}
.tbp-teacher-account .tbp-account-cta__links{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.tbp-teacher-account .tbp-account-textlink{color:#1E6F5C;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:750}
.tbp-account-renew{padding:14px 17px;border:1px solid #C9E2D4;background:#F5FAF7;border-radius:11px;margin:13px 0}
.tbp-account-renew strong{color:#143D33}
.tbp-checkout__renewal-notice{border:1px solid #C7E2D2;background:#EFF8F2;color:#245B3E;padding:13px 15px;border-radius:11px;font-size:13px;line-height:1.85}
.tbp-commerce-login-hint{font-size:12px;color:#61776C;margin:14px 0}
.tbp-commerce-login-hint a{color:#1E6F5C;text-decoration:underline}
@media(max-width:720px){.tbp-teacher-account .tbp-account-panels{grid-template-columns:minmax(0,1fr)}.tbp-teacher-account .tbp-account-panel,.tbp-teacher-account .tbp-account-cta{padding:19px}}

.tbp-teacher-account .tbp-teacher-account-bar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:14px;border-bottom:1px solid #DFEAE4;padding:3px 0 16px;margin-bottom:29px}
.tbp-teacher-account .tbp-teacher-account-bar a{color:#1E6F5C;text-decoration:none;font-size:13px;font-weight:800}
.tbp-teacher-account .tbp-teacher-account-bar a:hover{color:#143D33;text-decoration:underline;text-underline-offset:3px}
.tbp-teacher-account .tbp-teacher-account-brand{color:#143D33!important;font-size:15px!important;margin-inline-end:auto}
.tbp-teacher-account .tbp-teacher-account-bar a:focus-visible{outline:3px solid #5A9FD4;outline-offset:3px}
@media(max-width:520px){.tbp-teacher-account .tbp-teacher-account-bar{gap:10px}.tbp-teacher-account .tbp-teacher-account-brand{width:100%;margin:0 0 4px}}

/* Teacher virtual-service checkout: three simple phases, no shipping details. */
.tbp-payment-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.tbp-payment-steps>div{min-width:0;background:#F5FAF7;border:1px solid #D8E8DE;border-radius:13px;padding:14px;display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 10px;align-items:start}
.tbp-payment-steps>div>span{grid-row:span 2;background:#1E6F5C;color:#fff;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:900;font-variant-numeric:tabular-nums}
.tbp-payment-steps strong{font-size:13px;color:#143D33;line-height:1.5}
.tbp-payment-steps small{font-size:11px;line-height:1.8;color:#60766C}
.tbp-payment-steps b{font-variant-numeric:tabular-nums;white-space:nowrap}
body.woocommerce-checkout.page-id-296 .entry-header{display:none}
.tbp-commerce-body .woocommerce-billing-fields h3{margin-bottom:5px}
.tbp-commerce-body .woocommerce-billing-fields__field-wrapper{margin-top:12px}
.tbp-commerce-body form.checkout.woocommerce-checkout input.input-text{width:100%;font-size:14px;line-height:1.65}
.tbp-commerce-body form.checkout.woocommerce-checkout .form-row label{font-size:13px}
.tbp-commerce-body form.checkout.woocommerce-checkout .woocommerce-input-wrapper{display:block}
.tbp-commerce-body #order_review table{width:100%}
.tbp-commerce-body #order_review .woocommerce-Price-amount{font-variant-numeric:tabular-nums;white-space:nowrap}
.tbp-commerce-body #payment .place-order{display:grid;gap:12px}
.tbp-commerce-body #payment button#place_order{width:100%;min-height:51px;float:none;font-size:15px}
.tbp-wallet-guide p{font-size:13px;line-height:1.9;margin:9px 0}
.tbp-wallet-guide>strong{color:#143D33;font-size:14px}
.tbp-wallet-number{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-start;margin:13px 0 7px}
.tbp-wallet-number>b{background:#fff;border:1px dashed #9FC8B4;border-radius:9px;padding:7px 14px;font-size:18px;color:#143D33;letter-spacing:1px;font-variant-numeric:tabular-nums}
.tbp-copy-number{border:1px solid #1E6F5C!important;border-radius:9px!important;background:#1E6F5C!important;color:#fff!important;padding:8px 15px!important;font-size:12px!important;font-weight:800!important;cursor:pointer;min-height:38px}
.tbp-copy-number:hover{background:#143D33!important;color:white!important}
.tbp-receipt-selection{display:block;color:#60766C;font-size:12px;margin-top:7px;line-height:1.5}
.tbp-commerce-body .woocommerce-privacy-policy-text{font-size:12px;line-height:1.8;color:#62766B}
.tbp-commerce-body .woocommerce-privacy-policy-text a{color:#1E6F5C;text-decoration:underline}
.tbp-commerce-body .woocommerce-checkout-review-order-table .product-name{text-align:right}
@media(min-width:900px){
 .tbp-commerce-body form.checkout.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(320px,.94fr);grid-template-rows:auto 1fr;gap:0 25px}
 .tbp-commerce-body form.checkout.woocommerce-checkout>.col2-set{grid-column:1;grid-row:1/span 2;align-self:start}
 .tbp-commerce-body form.checkout.woocommerce-checkout>#order_review_heading{grid-column:2;grid-row:1;margin:3px 0 17px}
 .tbp-commerce-body form.checkout.woocommerce-checkout>#order_review{grid-column:2;grid-row:2;align-self:start}
}
@media(max-width:899px){.tbp-payment-steps{grid-template-columns:1fr}.tbp-payment-steps>div{grid-template-columns:28px minmax(0,1fr)}}
@media(max-width:480px){.tbp-wallet-number>b{font-size:16px}.tbp-commerce-body table.shop_table th,.tbp-commerce-body table.shop_table td{padding:9px 8px}.tbp-payment-steps>div{padding:11px}}

.tbp-group-manager .tbp-group-flash{padding:13px;background:#EAF4F0;border-radius:9px;color:#143D33}
.tbp-group-manager .tbp-group-add,.tbp-group-manager .tbp-group-item{border:1px solid #DFEAE4;border-radius:14px;padding:19px;margin:15px 0;background:#fff}
.tbp-group-manager label{display:block;font-weight:750;margin:10px 0}
.tbp-group-manager :is(input,select){padding:10px;border:1px solid #CFDFD5;border-radius:9px;min-height:43px;max-width:100%}
.tbp-group-manager .tbp-group-item h2{color:#143D33;font-size:19px;margin:0}
.tbp-group-manager button{padding:9px 14px;border:0;border-radius:8px;background:#1E6F5C;color:#fff;cursor:pointer}
.tbp-group-manager button:hover{background:#143D33}
.tbp-group-manager ul{list-style:none;padding:0}
.tbp-group-manager .tbp-group-member{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #E1EAE6;padding:9px 0}
.tbp-group-manager .tbp-group-member form{margin:0}

/* Secure, single-page transfer proof alongside the teacher contact fields. */
.tbp-commerce-body .tbp-inline-proof{border:1px solid #D8E8DE;background:#F8FBF9;border-radius:13px;padding:18px 18px 14px;margin:12px 0 0}
.tbp-commerce-body .tbp-inline-proof-heading h3{margin:8px 0 4px;color:#143D33;font-size:18px}
.tbp-commerce-body .tbp-inline-proof-heading p{font-size:12px;color:#60766C;line-height:1.85;margin:0 0 8px}
.tbp-commerce-body .tbp-inline-proof label{display:block;margin:15px 0 7px;color:#143D33;font-size:13px;font-weight:850}
.tbp-commerce-body .tbp-inline-proof label small{font-size:11px;color:#60766C;font-weight:500}
.tbp-commerce-body .tbp-inline-proof input[type=text],.tbp-commerce-body .tbp-inline-proof input[type=file]{width:100%;max-width:100%;min-height:44px;border:1px solid #C9DCD0;border-radius:9px;background:white;color:#20352F;padding:10px;font-family:inherit}
.tbp-commerce-body .tbp-inline-proof input[type=file]::file-selector-button{background:#EAF4F0;color:#143D33;border:1px solid #CBDDD1;border-radius:7px;padding:7px 11px;margin-inline-end:10px;cursor:pointer}
.tbp-commerce-body .tbp-inline-proof input[type=file]::file-selector-button:hover{background:#D1EBDD}
.tbp-commerce-body .tbp-inline-proof .tbp-proof-notice{font-size:11px;background:#FFF9EC;border-right:3px solid #D8A94D;color:#675533;padding:9px 12px;border-radius:7px;line-height:1.8;margin:12px 0}
.tbp-commerce-body .tbp-inline-proof .tbp-proof-hint{font-size:11px;color:#60766C;line-height:1.85;margin:14px 0 0}
.tbp-commerce-body .tbp-inline-proof .tbp-receipt-selection{font-size:12px;color:#8C4B38;line-height:1.8;margin-top:10px}
.tbp-commerce-body .tbp-inline-proof .tbp-receipt-selection.is-success{color:#1E6F5C;font-weight:800}
.tbp-commerce-body .tbp-inline-proof .tbp-wallet-number{margin:8px 0}
.tbp-commerce-body .tbp-inline-proof :is(input,button):focus-visible{outline:3px solid #5A9FD4;outline-offset:2px}
.tbp-commerce-body #place_order:disabled{opacity:.6;cursor:wait}
@media(max-width:600px){.tbp-commerce-body .tbp-inline-proof{padding:14px 12px}.tbp-commerce-body .tbp-inline-proof .tbp-wallet-number>b{font-size:16px}}
