/* Maç Sepeti sayfası (mac-sepeti.php) */
/* Menü ve başlık sitenin koyu zemininde kalır; içerik açık zeminde. */
.sepet-zemin { background: #ecf0f1; min-height: 60vh; }
.sepet-page { padding-top: 24px; max-width: 1000px; }
.sepet-page > .card, .sepet-page #uyeAlani > .card { margin-bottom: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.sepet-rozet {
    display: inline-block; background: #f1c40f; color: #2c3e50; font-size: 11px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.sepet-kucuk { font-size: 13px; color: #7f8c8d; margin: 6px 0; }
.sepet-orta { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.sepet-link { font-size: 13px; font-weight: 700; color: #2980b9; text-decoration: none; }
.sepet-baslik { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sepet-baslik h3 { margin: 0; }

.sepet-adimlar { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-bottom: 18px; }
.sepet-adim { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.sepet-adim h3 { margin: 8px 0 4px; font-size: 16px; color: #2c3e50; }
.sepet-adim p { margin: 0; font-size: 13px; color: #606f7b; line-height: 1.5; }
.sepet-adim__no {
    display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center;
    background: #2ecc71; color: #fff; font-weight: 800; font-size: 14px;
}

/* Haklar */
.sepet-hak-listesi { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.sepet-hak {
    flex: 1 1 150px; border: 1px solid #dfe6e9; border-radius: 10px; padding: 10px 14px; background: #fafbfc;
}
.sepet-hak strong { display: block; font-size: 24px; color: #2c3e50; font-variant-numeric: tabular-nums; }
.sepet-hak span { font-size: 12px; color: #7f8c8d; }
.sepet-hak.is-bos strong { color: #b2bec3; }

/* Analiz seçimi */
.sepet-sayac { font-size: 13px; font-weight: 700; color: #1e8449; background: #eafaf1; padding: 4px 12px; border-radius: 999px; }
.sepet-sayac.is-fazla { color: #a04000; background: #fdf2e9; }
.sepet-arac { display: flex; gap: 8px; margin: 10px 0; }
.sepet-mini {
    border: 1px solid #dfe6e9; background: #fff; border-radius: 6px; padding: 6px 12px; font-size: 12px;
    font-weight: 600; color: #2c3e50; cursor: pointer;
}
.sepet-mini:hover { border-color: #3498db; }
.sepet-analizler { display: flex; flex-direction: column; gap: 8px; max-height: 460px; overflow-y: auto; padding-right: 4px; }
.sepet-analiz {
    display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
    border: 1px solid #dfe6e9; border-radius: 10px; padding: 10px 12px; cursor: pointer; background: #fff;
}
.sepet-analiz:hover { border-color: #27ae60; }
.sepet-analiz.is-secili { border-color: #27ae60; background: #f4fbf7; box-shadow: 0 0 0 2px rgba(39,174,96,.15); }
.sepet-analiz input { width: 18px; height: 18px; margin: 0; }
.sepet-analiz__mac { font-weight: 700; font-size: 14px; color: #2c3e50; }
.sepet-analiz__alt { font-size: 12px; color: #7f8c8d; margin-top: 2px; }
.sepet-analiz__sayi { font-size: 12px; color: #606f7b; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sepet-form { display: grid; grid-template-columns: 220px 1fr; gap: 14px; margin-top: 16px; }
.sepet-form .input-group { margin: 0; }
.sepet-gonder { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 640px) {
    .sepet-form { grid-template-columns: 1fr; }
    .sepet-analiz { grid-template-columns: auto 1fr; }
    .sepet-analiz__sayi { grid-column: 2; text-align: left; }
}

/* Bekleme */
.sepet-bekle { text-align: center; padding: 18px 8px; }
.sepet-bekle__cember {
    width: 38px; height: 38px; margin: 0 auto 12px; border-radius: 50%;
    border: 4px solid #dfe6e9; border-top-color: #27ae60; animation: sepet-don 1s linear infinite;
}
@keyframes sepet-don { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sepet-bekle__cember { animation: none; } }

/* Sonuç */
.sepet-ozet { background: #f4f8fb; border-left: 4px solid #3498db; border-radius: 8px; padding: 12px 14px; font-size: 14px; line-height: 1.6; color: #2c3e50; margin: 12px 0 18px; }
.sepet-sonuc-ust { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sepet-sonuc-ust h3 { margin: 0; }
.sepet-grup { border: 1px solid #dfe6e9; border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #fff; }
.sepet-grup__ust { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.sepet-grup__ust h4 { margin: 0; font-size: 16px; color: #2c3e50; }
.sepet-grup__olasilik { font-size: 12px; color: #606f7b; background: #f1f2f6; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.sepet-grup__aciklama { font-size: 13px; color: #606f7b; margin: 6px 0 10px; line-height: 1.5; }
.sepet-satir { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 9px 0; border-top: 1px solid #f1f2f6; font-size: 14px; }
.sepet-satir__mac { font-weight: 600; color: #2c3e50; }
.sepet-satir__secim { color: #1e8449; font-weight: 600; }
.sepet-satir__yuzde { font-variant-numeric: tabular-nums; font-weight: 700; color: #2c3e50; text-align: right; }
.sepet-satir__skor { font-size: 12px; text-align: right; }
.sepet-tuttu { color: #1e8449; font-weight: 700; }
.sepet-tutmadi { color: #c0392b; font-weight: 700; }

.sepet-mac { border: 1px solid #dfe6e9; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; background: #fff; }
.sepet-mac__ust { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.sepet-mac__ad { font-weight: 700; color: #2c3e50; font-size: 15px; }
.sepet-mac__alt { font-size: 12px; color: #7f8c8d; }
.sepet-mac__secim { margin: 8px 0 6px; font-size: 14px; }
.sepet-mac__secim strong { color: #1e8449; }
.sepet-mac__gerekce { font-size: 13px; color: #4b5b68; line-height: 1.55; margin: 0; }
.sepet-etiketler { display: flex; gap: 6px; flex-wrap: wrap; }
.sepet-cip { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1f2f6; color: #606f7b; }
.sepet-cip--katiliyor { background: #eafaf1; color: #1e8449; }
.sepet-cip--cekinceli { background: #fef9e7; color: #9a7d0a; }
.sepet-cip--ayrisiyor { background: #fdedec; color: #a93226; }
.sepet-cip--dusuk { background: #eafaf1; color: #1e8449; }
.sepet-cip--orta { background: #fef9e7; color: #9a7d0a; }
.sepet-cip--yuksek { background: #fdedec; color: #a93226; }
.sepet-ara-baslik { font-size: 15px; color: #2c3e50; margin: 20px 0 10px; }

/* Geçmiş */
.sepet-gecmis { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #f1f2f6; flex-wrap: wrap; }
.sepet-gecmis:first-child { border-top: none; }
.sepet-gecmis__ad { font-weight: 600; font-size: 14px; color: #2c3e50; }
.sepet-gecmis__alt { font-size: 12px; color: #7f8c8d; }

/* Paketler */
.sepet-paketler { margin-top: 28px; }
.sepet-paketler h2 { text-align: center; color: #2c3e50; margin: 0 0 6px; }
.sepet-paket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 18px; }
.sepet-paket { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 2px 10px rgba(0,0,0,.07); text-align: center; border: 2px solid transparent; }
.sepet-paket.is-one { border-color: #2ecc71; }
.sepet-paket h3 { margin: 0 0 4px; color: #2c3e50; font-size: 18px; }
.sepet-paket__alt { font-size: 13px; color: #7f8c8d; margin: 0 0 12px; }
.sepet-paket__fiyat { font-size: 30px; font-weight: 800; color: #2c3e50; font-variant-numeric: tabular-nums; }
.sepet-paket__birim { font-size: 12px; color: #7f8c8d; margin-bottom: 14px; }
.sepet-paket .btn { width: 100%; padding: 12px; font-size: 15px; }
.sepet-paket__ek { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #dfe6e9; font-size: 13px; color: #606f7b; }
.sepet-paket__ek button { margin-top: 8px; width: 100%; }
.sepet-dipnot { text-align: center; font-size: 12px; color: #7f8c8d; margin-top: 26px; }

/* Satın alma penceresi */
.sepet-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; align-items: center; justify-content: center; padding: 16px; }
.sepet-modal.is-acik { display: flex; }
.sepet-modal__kart { background: #fff; border-radius: 12px; max-width: 480px; width: 100%; padding: 22px; max-height: 90vh; overflow-y: auto; }
.sepet-modal__kart h3 { margin: 0 0 6px; }
.sepet-modal__fiyat { color: #606f7b; margin: 0 0 14px; }
.sepet-modal__dugmeler { display: flex; gap: 8px; margin-top: 14px; }
.sepet-modal__dugmeler .btn { flex: 1; }
.sepet-etiket { font-weight: 600; display: block; margin-bottom: 8px; }
.sepet-onay { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #555; margin: 12px 0; }
.sepet-onay input { margin-top: 3px; width: auto; }
.sepet-yontem { display: block; border: 2px solid #e8e8e8; border-radius: 10px; padding: 11px 14px; margin-bottom: 8px; cursor: pointer; }
.sepet-yontem.is-secili { border-color: #3498db; background: #f0f8ff; }
.sepet-yontem.is-kapali { opacity: .55; cursor: not-allowed; background: #fafafa; }
.sepet-yontem input { margin-right: 8px; width: auto; }
.sepet-yontem strong { display: block; }
.sepet-yontem span { font-size: 13px; color: #666; }
.sepet-bilgi { background: #f8f9fa; border-radius: 8px; padding: 12px; margin: 10px 0; font-size: 13px; color: #555; }
.sepet-bilgi--uyari { background: #fff8e5; border: 1px solid #f0d089; }
.sepet-paket a.btn { display: block; box-sizing: border-box; text-decoration: none; }
.sepet-hak .sepet-hak__alt { display: block; font-size: 11px; color: #95a5a6; margin-top: 2px; }
.sepet-paket__fiyat small { font-size: 13px; font-weight: 600; color: #7f8c8d; }

/* İkinci görüş v2: sıra, ikinci öngörü, dikkat ve denetim notları */
.sepet-mac__sira { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; margin-right: 8px; border-radius: 50%; background: #1e8449; color: #fff; font-size: 12px; font-weight: 700; text-align: center; vertical-align: 1px; }
.sepet-mac__yedek { margin: 0 0 6px; font-size: 13px; color: #606f7b; }
.sepet-mac__dikkat { margin: 8px 0 0; padding: 8px 10px; font-size: 13px; line-height: 1.5; color: #7a5200; background: #fff8e6; border-left: 3px solid #f0b429; border-radius: 4px; }
.sepet-mac__denetim { margin: 6px 0 0; font-size: 12px; color: #a33; }
