﻿.br-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
}

.br-empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--vino-soft, #fbeef2);
    color: var(--vino, #611232);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

    .br-empty-icon i {
        font-size: 2.5rem;
    }

    .br-empty-icon::before {
        content: '';
        position: absolute;
        inset: -8px;
        border-radius: 50%;
        background: var(--vino-soft, #fbeef2);
        opacity: 0.5;
        z-index: -1;
        animation: pulse 2.5s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.2;
    }
}

.br-empty-title {
    font-weight: 700;
    color: var(--ink, #1a2332);
    margin: 0 0 0.5rem 0;
}

.br-empty-text {
    color: var(--muted, #8a95a5);
    margin: 0;
    max-width: 380px;
    line-height: 1.5;
}

.br-empty.is-no-results .br-empty-icon {
    background: #fef3f2;
    color: #d64545;
}

    .br-empty.is-no-results .br-empty-icon::before {
        background: #fef3f2;
    }

/* ============ HEADER DE RESULTADOS ============ */
.br-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--vino-soft, #fbeef2);
    gap: 1rem;
    flex-wrap: wrap;
}

.br-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.br-header-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    background: var(--vino, #611232);
    color: #fff;
    border-radius: 100px;
    font-weight: 700;
}

.br-header-label {
    color: var(--ink-soft, #4a5568);
    font-weight: 500;
}

/* ============ LISTA DE CARDS ============ */
.br-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.br-card {
    background: var(--white, #fff);
    border: 1px solid var(--line, #e4e9f0);
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.2s;
    position: relative;
}

    .br-card:hover {
        border-color: var(--vino, #611232);
        box-shadow: 0 6px 20px rgba(97, 18, 50, 0.08);
        transform: translateY(-1px);
    }

    .br-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 1.5rem;
        bottom: 1.5rem;
        width: 4px;
        background: var(--vino, #611232);
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.2s;
    }

    .br-card:hover::before {
        opacity: 1;
    }

.br-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.br-card-sesion {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    flex: 1;
}

.br-card-numero {
    font-weight: 700;
    color: var(--vino, #611232);
    line-height: 1.3;
}

.br-card-unidad {
    color: var(--muted, #8a95a5);
    line-height: 1.3;
}

.br-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.br-badge-tipo {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    background: var(--vino-soft, #fbeef2);
    color: var(--vino-dark, #3A0B1F);
    border-radius: 100px;
    font-weight: 600;
    white-space: nowrap;
}

.br-badge-fecha {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    background: var(--bg, #f7f9fb);
    color: var(--ink-soft, #4a5568);
    border-radius: 100px;
    font-weight: 500;
    white-space: nowrap;
}

.br-card-acuerdo {
    display: inline-block;
    font-family: ui-monospace, "Cascadia Mono", monospace;
    font-weight: 600;
    color: var(--ink, #1a2332);
    background: var(--bg, #f7f9fb);
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    word-break: break-all;
}

.br-card-desc {
    color: var(--ink-soft, #4a5568);
    line-height: 1.55;
    margin-bottom: 1rem;
    word-break: break-word;
}

    .br-card-desc.is-collapsed {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.br-card-desc-toggle {
    background: none;
    border: none;
    color: var(--vino, #611232);
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0;
    margin-top: 0.3rem;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

    .br-card-desc-toggle:hover {
        color: var(--vino-dark, #3A0B1F);
    }

/* ============ BOTONES DE DOCUMENTOS ============ */
.br-card-docs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--line, #e4e9f0);
}

.br-doc {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    background: #A6802D !important;
    color: #fff !important;
    border: 1.5px solid #A6802D !important;
    max-width: 100%;
    word-break: break-word;
    line-height: 1.3;
    box-shadow: 0 2px 6px rgba(166, 128, 45, 0.18);
}

    .br-doc i {
        flex-shrink: 0;
        color: #fff;
    }

    .br-doc:hover {
        transform: translateY(-1px);
        background: #8a6a24 !important;
        border-color: #8a6a24 !important;
        color: #fff !important;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(166, 128, 45, 0.35);
    }

        .br-doc:hover i {
            color: #fff;
        }

/* ============ PAGINACIÓN ============ */
.br-pagination-wrap {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line, #e4e9f0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.br-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
}

    .br-pagination li a,
    .br-pagination li span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        height: 38px;
        padding: 0 0.7rem;
        border-radius: 8px;
        color: var(--ink-soft, #4a5568);
        background: var(--white, #fff);
        border: 1.5px solid var(--line, #e4e9f0);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.15s;
        cursor: pointer;
    }

        .br-pagination li a:hover {
            border-color: var(--vino, #611232);
            color: var(--vino, #611232);
            background: var(--vino-soft, #fbeef2);
        }

    .br-pagination li.active a {
        background: var(--vino, #611232);
        color: #fff;
        border-color: var(--vino, #611232);
        box-shadow: 0 3px 10px rgba(97, 18, 50, 0.25);
    }

    .br-pagination li.disabled a,
    .br-pagination li.disabled span {
        opacity: 0.4;
        cursor: not-allowed;
        pointer-events: none;
    }

    .br-pagination li a svg,
    .br-pagination li span svg {
        display: block;
        color: inherit;
    }

.br-pagination-info {
    color: var(--muted, #8a95a5);
    margin: 0;
}

