/* ============================================================
   GLOBAL THEME FOR BCBB WEBAPP
   (Unikke klasser)
============================================================ */

.bcbb-mainbody {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #303444;
    color: #E5E7EB;
}


.bcbb-body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #111827 0%, #020617 55%, #000 100%);
    color: #E5E7EB;
}

/* Wrapper */
.bcbb-kamp-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

/* ============================================================
   EVENT INFO CARD
============================================================ */

.bcbb-event-info-card {
    background: radial-gradient(circle at top, #111827 0%, #020617 60%);
    border-radius: 18px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: 0 20px 50px rgba(0,0,0,0.85);
    overflow: hidden;
}

.bcbb-event-info-body {
    background: linear-gradient(135deg, #1f2937, #111827);
    padding: 24px;
}

.bcbb-event-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #E5E7EB;
}

.bcbb-event-meta {
    font-size: 0.9rem;
    color: #CBD5F5;
}

/* ============================================================
   INFO LIST CARD
============================================================ */

.bcbb-info-card {
    background: radial-gradient(circle at top, #020617 0%, #020617 60%);
    border-radius: 16px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8);
    overflow: hidden;
}

.bcbb-info-header {
    background: #020617;
    color: #E5E7EB;
    border-bottom: 1px solid #111827;
    padding: 10px 14px;
}

.bcbb-info-body {
    background: #020617;
    max-height: 350px;
    /* ingen overflow her */
}

.bcbb-info-scroll {
    overflow-y: auto;
    max-height: 350px;
}

/* Info-list items */
.bcbb-info-item {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.bcbb-info-item:hover {
    background: rgba(255,255,255,0.03);
    border-color: #2563EB; /* blå kant som nomatch */
    transform: translateY(-2px); /* lidt mere løft */
    box-shadow: 0 10px 25px rgba(15,23,42,0.9); /* dybere shadow */
}

.bcbb-info-title {
    font-weight: 600;
    color: #e5e7eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bcbb-info-date {
    font-size: 0.9rem;
    color: #e3e4e6;
    white-space: nowrap;
    font-weight: 600; /* Bootstrap semibold */
}

.bcbb-info-text {
    font-size: 0.9rem;
    color: #E5E7EB;
    margin-top: 6px;
}

/* ============================================================
   MODAL (INFO VIEW)
============================================================ */

.bcbb-info-modal {
    background: #020617;
    color: #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15,23,42,0.9);
    border: 1px solid rgba(241, 235, 235, 0.425); 
    min-height: 70vh; 
    max-height: 85vh; 
}

/* Modal header */
#infoModal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Modal body scroll */
.bcbb-info-modal .modal-body {
    max-height: calc(85vh - 120px); /* header + padding */
    overflow-y: auto;
}

/* Progress dots */
.bcbb-info-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    min-height: 12px;
}

.bcbb-info-progress-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid #94a3b8;
    background: transparent;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.bcbb-info-progress-dot.active {
    background: rgba(37,99,235,0.7);
    border-color: rgba(37,99,235,0.7);
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(37,99,235,0.7);
}

/* Modal arrows */
.bcbb-info-arrow {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 6px;
    font-size: 18px;
    color: #e5e7eb;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}

.bcbb-info-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}

.bcbb-info-arrow:focus {
    outline: none;
    box-shadow: none;
}

/* Mobile fullscreen modal */
@media (max-width: 768px) {
    .bcbb-info-modal {
        border-radius: 0;
        height: 100vh;
    }

    .bcbb-info-modal .modal-body {
        max-height: calc(100vh - 140px);
    }
}

/* ============================================================
   NOMATCH CARD (Boksere uden kamp)
============================================================ */

.bcbb-nomatch-card {
    background: radial-gradient(circle at top, #020617 0%, #020617 60%);
    border-radius: 16px;
    border: 1px solid rgba(55,65,81,0.9);
    box-shadow: 0 16px 40px rgba(0,0,0,0.8);
    overflow: hidden;
}

.bcbb-nomatch-header {
    background: #020617;
    color: #E5E7EB;
    border-bottom: 1px solid #111827;
    padding: 10px 14px;
}

.bcbb-nomatch-upd {
    color: #b2b2d6ff;
    font-size: 0.85rem;
}

.bcbb-nomatch-body {
    background: #020617;
    padding: 12px;
}

/* List of boxers without match */
.bcbb-nomatch-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bcbb-nomatch-item {
    margin-bottom: 10px;
}

.bcbb-nomatch-carditem {
    background: #020617;
    border-radius: 12px;
    border: 1px solid rgba(55,65,81,0.9);
    padding: 6px;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.bcbb-nomatch-carditem:hover {
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15,23,42,0.9);
}

.bcbb-nomatch-inner {
    background: radial-gradient(circle at top left, #111827 0%, #020617 60%);
    border-radius: 10px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
}

.bcbb-nomatch-flag {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: contain;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    padding: 3px;
    margin-right: 8px;
}

/* ============================================================
   SCROLLBAR (Dark)
============================================================ */

.bcbb-scroll::-webkit-scrollbar {
    width: 8px;
}

.bcbb-scroll::-webkit-scrollbar-track {
    background: #111827;
}

.bcbb-scroll::-webkit-scrollbar-thumb {
    background-color: #374151;
    border-radius: 999px;
}

.bcbb-scroll {
    scrollbar-color: #444 #1e1e1e;
    scrollbar-width: thin;
}

/* ============================================================
   RESPONSIVITET
============================================================ */

@media (max-width: 767.98px) {
    .bcbb-event-info-body {
        padding: 16px;
    }

    .bcbb-event-title {
        font-size: 1.25rem;
    }

    .bcbb-info-item {
        padding: 10px 12px;
    }
}
