/* ============================================================
   SPORT EVENTS (Chess & Yoga) — self-contained styling, doesn't
   depend on any other page's stylesheet. Reuses the same visual
   language (cards, orange accent, toast) as the rest of the site
   for consistency, just declared locally here.
============================================================ */

.sp-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px 70px;
}

.sp-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.sp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.sp-head i {
    color: #dd4814;
}

.sp-sub {
    color: #6b7280;
    font-size: 13.5px;
    margin-top: -2px;
    margin-bottom: 20px;
}

.sp-lbl {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.sp-req {
    color: #dc2626;
}

.sp-inp {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sp-inp:focus {
    outline: none;
    border-color: #dd4814;
    box-shadow: 0 0 0 3px rgba(221, 72, 20, .12);
}

.sp-inp.is-invalid,
.was-validated .sp-inp:invalid {
    border-color: #dc2626 !important;
    background: #fef2f2 !important;
}

.invalid-feedback {
    display: none;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.was-validated :invalid ~ .invalid-feedback {
    display: block;
}

textarea.sp-inp {
    resize: vertical;
}

.sp-amount-box {
    background: #fdf2e9;
    border: 1px solid rgba(221, 72, 20, .2);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-amount-box .amt-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.sp-amount-box .amt-value {
    font-size: 20px;
    font-weight: 800;
    color: #dd4814;
}

.sp-btn-pri {
    background: linear-gradient(135deg, #dd4814, #f97316);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 13px 26px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity .15s ease;
}

.sp-btn-pri:hover {
    opacity: .92;
}

.sp-btn-pri:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.sp-btn-out {
    background: #fff;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    padding: 13px 26px;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sp-state {
    text-align: center;
    padding: 60px 20px;
}

.sp-state i {
    font-size: 42px;
    margin-bottom: 14px;
    display: block;
}

.sp-state h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.sp-state p {
    color: #6b7280;
    margin-bottom: 20px;
}

.toast-sp {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 20px);
    background: #111827;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transition: all .25s ease;
    z-index: 9999;
}

.toast-sp.on {
    opacity: 1;
    transform: translate(-50%, 0);
}

.toast-sp.ok {
    background: #16a34a;
}

.toast-sp.er {
    background: #dc2626;
}

@media (max-width: 640px) {
    .sp-panel {
        padding: 20px;
    }
}
