@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

.accvs-arbol-llaves-container {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    max-width: 100%;
    margin: 20px auto;
    color: #1e293b;
    box-sizing: border-box;
}
.accvs-arbol-llaves-container * {
    box-sizing: border-box;
}

.accvs-arbol-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.accvs-arbol-filters select {
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    background: #f8fafc;
    color: #0f172a;
    flex: 1;
    max-width: 400px;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}
.accvs-arbol-filters select:hover {
    border-color: #94a3b8;
}
.accvs-arbol-filters select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.bk-viewport {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.bk-canvas {
    position: relative;
    margin: 0 auto;
}

.bk-svg {
    position: absolute;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 1;
}

.bk-card {
    position: absolute;
    width: 236px;
    height: 112px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15,23,42,0.06);
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.bk-static {
    position: relative;
    top: auto !important; left: auto !important;
}

.bk-head {
    height: 26px;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.72rem;
    font-weight: 700;
    color: #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
}
.bk-badge3 {
    background: #fef3c7;
    color: #92400e;
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.65rem;
    margin-left: 6px;
}
.bk-slot {
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
}
.bk-tag {
    min-width: 34px;
    text-align: center;
    font-size: 0.68rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    border-radius: 4px;
    padding: 2px 4px;
}
.bk-txt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bk-slot.ok .bk-txt { font-weight: 700; color: #0f172a; }
.bk-slot.pos .bk-txt { color: #334155; font-weight: 600; }
.bk-slot.win .bk-tag { background: #ede9fe; color: #6d28d9; }
.bk-slot.win .bk-txt { color: #6d28d9; font-style: italic; font-weight: 700; }
.bk-slot.lose .bk-tag { background: #fee2e2; color: #b91c1c; }
.bk-slot.lose .bk-txt { color: #b91c1c; font-style: italic; font-weight: 600; }
.bk-slot.tbd .bk-txt { color: #94a3b8; font-style: italic; font-weight: 600; }
.bk-foot {
    flex: 1;
    border-top: 1px solid #e2e8f0;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}
.bk-empty {
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
    font-size: 15px;
    font-weight: 600;
}
.bk-loose-title {
    margin: 28px 0 10px;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.1rem;
    text-align: center;
}
.bk-loose {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}
.accvs-loading {
    padding: 40px;
    text-align: center;
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.1rem;
}
