/* ABX Cricket Matches frontend styles (scoped with abx- prefix) */

.abx-flow-wrapper{max-width:1200px;margin:20px auto;padding:10px;font-family:Arial,Helvetica,sans-serif;}
.abx-nav{margin-bottom:8px;display:flex;gap:10px;}
.abx-back-btn{background:#2b81d6;color:#fff;border:0;padding:8px 12px;border-radius:4px;cursor:pointer;}

.abx-step-title{font-size:20px;font-weight:700;margin:0 0 10px;}

/* Step 1 cards */
.abx-step1-cards{display:flex;gap:20px;margin:20px 0;}
.abx-step1-card{background:#1f6fb7;color:#fff;padding:28px;border-radius:6px;flex:1;text-align:center;position:relative;cursor:pointer;}
.abx-card-title{font-size:18px;font-weight:700;margin-bottom:20px;}
.abx-card-pct{margin-bottom:18px;line-height:1.3;}
.abx-card-pct strong{font-size:26px;display:inline-block;margin-top:6px;}
.abx-card-btn{display:inline-block;background:#ff8c2b;color:#fff;padding:8px 16px;border-radius:6px;text-decoration:none;font-weight:700;}

/* Step 2 layout */
.abx-step2-inner{display:flex;gap:20px;background:#dfeaea;padding:18px;border-radius:6px;}
.abx-step2-left{flex:1;}
.abx-step2-right{width:320px;}

/* Accordion (Leagues) */
.abx-accordion-wrap{background:#dfeaea;padding:6px;border-radius:4px;}
.abx-acc-item{background:#1f6fb7;color:#fff;padding:12px 16px;margin-bottom:8px;border-radius:4px;display:flex;justify-content:space-between;align-items:center;cursor:pointer;user-select:none;}
.abx-acc-item .abx-acc-title{font-weight:700;}
.abx-acc-item .abx-acc-toggle{font-size:22px;line-height:1;padding-left:10px;}
.abx-acc-content{background:#ffffff;color:#222;padding:12px 16px;border-radius:4px;margin-bottom:12px;display:none;}

/* Tours list inside accordion */
.abx-tour-list{list-style:none;padding:0;margin:0;}
.abx-tour-list li{padding:8px 0;border-bottom:1px solid #eee;cursor:pointer;}
.abx-tour-list li:last-child{border-bottom:0;}
.abx-tour-name{font-weight:700;}
.abx-tour-dates{color:#666;margin-left:6px;}

.abx-view-all{display:inline-block;margin-top:12px;background:#ff8c2b;color:#fff;padding:8px 14px;border-radius:6px;text-decoration:none;font-weight:700;}

/* Years list */
.abx-years{display:flex;flex-wrap:wrap;gap:10px;}
.abx-year-btn{background:#2b81d6;color:#fff;padding:10px 12px;border-radius:4px;border:0;cursor:pointer;}
.abx-year-btn.active{box-shadow:inset 0 -3px 0 rgba(0,0,0,0.18)}

/* Step 4 cards */
.abx-box-row{display:flex;flex-wrap:wrap;gap:20px;}
.abx-box-card{flex:0 0 calc(33.333% - 20px);background:#ffffff;padding:22px;border-radius:6px;position:relative;box-sizing:border-box;min-width:220px;}
.abx-ribbon{position:absolute;right:-36px;top:12px;color:#fff;padding:8px 50px;transform:rotate(45deg);font-weight:700;box-shadow:0 2px 6px rgba(0,0,0,0.08);text-transform:uppercase;letter-spacing:0.4px;font-size:12px;}
.abx-ribbon--win{background:#4CAF50;}
.abx-ribbon--loss{background:#F44336;}
.abx-ribbon--neutral{background:#ff8c2b;}

.abx-box-title{text-align:center;font-weight:700;margin:12px 0;}
.abx-box-desc{text-align:center;color:#444;margin-bottom:12px;}
.abx-box-btn{display:inline-block;background:#ff8c2b;color:#fff;padding:8px 14px;border-radius:6px;text-decoration:none;font-weight:700;margin:0 auto;display:table;}

/* Responsive */
@media(max-width:900px){
  .abx-step1-cards{flex-direction:column;}
  .abx-step2-inner{flex-direction:column;}
  .abx-step2-right{width:100%;}
  .abx-box-card{flex:0 0 100%;}
}
