/* =========================================================
   KoraStats Custom - Add to Clip Manager Modal
   Prefix: ksc-
========================================================= */

.ksc-basket-modal { background: rgba(9, 14, 28, 0.62); backdrop-filter: blur(6px); }

.ksc-basket-modal-dialog { margin: 7vh auto; }

.ksc-basket-modal-content { border: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 28px 70px rgba(15, 23, 42, 0.32); }

.ksc-basket-modal-header { min-height: 82px; padding: 18px 22px; background: #262e49; border-bottom: 0; display: flex; align-items: center; justify-content: space-between; }

.ksc-basket-title-wrap { display: flex; align-items: center; min-width: 0; }

.ksc-basket-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; background: #ffffff; color: #12b886; display: flex; align-items: center; justify-content: center; margin-right: 14px; font-size: 24px; box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14); }

.ksc-basket-title { margin: 0; color: #ffffff; font-size: 18px; font-weight: 900; line-height: 1.25; }

.ksc-basket-subtitle { display: block; margin-top: 3px; color: #c8d1e5; font-size: 12px; font-weight: 600; }

.ksc-basket-close { width: 36px; height: 36px; min-width: 36px; padding: 0 !important; margin: 0 !important; border-radius: 8px; color: #ffffff !important; background: rgba(255, 255, 255, 0.08) !important; opacity: 1; text-shadow: none; display: flex; align-items: center; justify-content: center; }

.ksc-basket-close:hover { background: rgba(246, 78, 96, 0.95) !important; color: #ffffff !important; }

.ksc-basket-modal-body { padding: 22px; background: #ffffff; }

.ksc-form-label { color: #68758c; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }

.ksc-form-control { height: 42px; border-radius: 8px; background: #f6f8fc !important; border: 1px solid #e2e8f0; color: #25364d; font-size: 13px; font-weight: 600; }

.ksc-form-control:focus { background: #ffffff !important; border-color: #12b886; box-shadow: 0 0 0 3px rgba(18, 184, 134, 0.12); }

.ksc-tag-input-group .ksc-form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; }

.ksc-add-tag-btn { width: 44px; border-radius: 0 8px 8px 0; font-weight: 900; }

.ksc-tag-section { margin-top: 18px; padding: 14px; border: 1px solid #e8edf4; border-radius: 6px; background: #f8fafc; }

.ksc-section-title { margin-bottom: 10px; color: #25364d; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.4px; }

.ksc-suggested-tags, .ksc-selected-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.ksc-suggested-tag { cursor: pointer; padding: 7px 10px; border-radius: 50px; background: #edf2ff; color: #4564d6; font-size: 12px; font-weight: 800; transition: all 0.16s ease; }

.ksc-suggested-tag:hover { background: #4564d6; color: #ffffff; transform: translateY(-1px); }

.ksc-selected-tag { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px 7px 11px; border-radius: 50px; background: #e6fff6; color: #0ca678; font-size: 12px; font-weight: 900; }

.ksc-tag-remove { width: 18px; height: 18px; border: 0; border-radius: 50%; padding: 0; background: rgba(12, 166, 120, 0.12); color: #0ca678; font-size: 10px; line-height: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }

.ksc-tag-remove:hover { background: #f64e60; color: #ffffff; }

.ksc-empty-tags { margin-top: 16px; padding: 12px 14px; border-radius: 6px; background: #fff8e6; border: 1px solid #ffe4a3; color: #a36a00; font-size: 12px; font-weight: 700; }

.ksc-empty-tags i { margin-right: 6px; font-size: 15px; }

.ksc-basket-modal-footer { padding: 14px 22px; background: #f8fafc; border-top: 1px solid #e8edf4; }

.ksc-basket-modal-footer .btn { border-radius: 7px; padding: 8px 14px; }

@media (max-width: 575.98px) {
    .ksc-basket-modal-dialog { margin: 3vh auto; max-width: 94vw; }
    .ksc-basket-modal-header { padding: 14px 16px; }
    .ksc-basket-modal-body { padding: 16px; }
    .ksc-basket-modal-footer { padding: 12px 16px; }
}