/* ===== RECAP CARD PRO V2 - REDISEÑO PROFESIONAL ===== */

/* Remove all borders from recapCard and its stats containers */
#recapCard,
#recapCard .bg-gradient-to-br,
#recapCard [class*="border-"] {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.recap-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12000;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.recap-modal.active {
    display: flex;
}

.recap-content {
    max-width: 550px;
    width: 90%;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #0f0f1e 100%);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 25px 100px rgba(59, 130, 246, 0.25), 0 0 80px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(59, 130, 246, 0.1);
    animation: slideUp 0.4s ease;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.recap-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 32px;
    color: #3b82f6;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.recap-close:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: rotate(90deg);
}

/* Header Section */
.recap-header-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* Branding pequeño en la izquierda */
.recap-header-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.recap-header-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.recap-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recap-header-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.recap-header-mdfx {
    font-size: 14px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.recap-header-website {
    font-size: 9px;
    color: #a0a8b8;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: none;
}

/* Content section with title and filters */
.recap-header-content {
    flex: 1;
    text-align: center;
}

.recap-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

.recap-title p {
    color: #a0a8b8;
    font-size: 13px;
    margin: 0 0 15px 0;
    font-weight: 500;
}

/* Filter Buttons */
.recap-filters {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 22px;
    background: rgba(59, 130, 246, 0.08);
    color: #a0a8b8;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    color: #000;
    border-color: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.filter-btn:hover:not(.active) {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.12);
}

/* ===== RECAP CARD CONTAINER (Lo que se exporta) ===== */
.recap-card-container {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0;
    margin-bottom: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== RECAP CARD REDESIGN - COMPACTO Y PROFESIONAL ===== */
#recapCard {
    width: 100%;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(59, 130, 246, 0.1);
}

/* Header */
.recap-card-header {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    padding: 24px 32px;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 24px 24px 0 0;
}

.recap-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.recap-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid #3b82f6;
    background: linear-gradient(135deg, #000 0%, #1a1d29 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.recap-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recap-brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.recap-brand-name {
    font-size: 18px;
    font-weight: 900;
    color: #3b82f6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.recap-brand-subtitle {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.recap-date {
    text-align: right;
}

.recap-date-label {
    font-size: 11px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 4px;
}

.recap-date-value {
    font-size: 15px;
    color: #e5e7eb;
    font-weight: 700;
}

/* Hero Section */
.recap-hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-bottom: none;
    padding: 24px 32px;
    position: relative;
    overflow: hidden;
}

.recap-hero::before {
    display: none;
}

.recap-hero.negative {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-bottom: none;
}

.recap-hero.neutral {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.03) 100%);
    border-bottom: none;
}

.recap-hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.recap-hero-icon {
    font-size: 36px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.4));
}

.recap-hero-content {
    text-align: center;
}

.recap-hero-label {
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 6px;
}

.recap-hero-value {
    font-size: 44px;
    font-weight: 900;
    color: #3b82f6;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.recap-hero.positive .recap-hero-value {
    color: #10b981;
}

.recap-hero.positive .recap-hero-currency {
    color: #10b981;
}

.recap-hero.negative .recap-hero-value {
    color: #ef4444;
}

.recap-hero.negative .recap-hero-currency {
    color: #ef4444;
}

.recap-hero.neutral .recap-hero-value {
    color: #9ca3af;
}

.recap-hero.neutral .recap-hero-currency {
    color: #9ca3af;
}

.recap-hero-currency {
    font-size: 18px;
    font-weight: 600;
    margin-top: 6px;
    color: #9ca3af;
}

.recap-hero-currency {
    font-size: 18px;
    font-weight: 600;
    margin-top: 6px;
    color: #9ca3af;
}

.recap-hero-percent {
    font-size: 15px;
    font-weight: 700;
    color: #3b82f6;
    background: none;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    margin-top: 0;
}

.recap-hero-percent.negative {
    color: #3b82f6;
}

/* Metrics Grid */
.recap-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(59, 130, 246, 0.1);
    padding: 0;
}

.recap-metric {
    background: #0f1419;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border-radius: 0;
    cursor: pointer;
}

.recap-metric:hover {
    background: #1a1f35;
}

.metric-icon {
    font-size: 32px;
    line-height: 1;
    opacity: 0.9;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
}

.metric-content {
    text-align: center;
}

.recap-metrics .metric-label {
    font-size: 9px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
    margin-bottom: 8px;
}

.recap-metrics .metric-value {
    font-size: 28px;
    font-weight: 900;
    color: #3b82f6;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.recap-metric.success .metric-value {
    color: #10b981;
}

.recap-metric.danger .metric-value {
    color: #ef4444;
}

.recap-metric.positive .metric-value {
    color: #10b981;
}

/* Footer */
.recap-footer {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f1419 100%);
    padding: 20px 32px;
    border-top: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-radius: 0 0 24px 24px;
}

.recap-footer-left,
.recap-footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
}

.recap-footer-logo {
    font-size: 16px;
}

.recap-footer-right {
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 480px) {
    .recap-card-header {
        padding: 20px;
    }

    .recap-hero {
        padding: 20px;
    }

    .recap-hero-value {
        font-size: 44px;
    }

    .recap-metric {
        padding: 24px 16px;
    }

    .metric-value {
        font-size: 28px;
    }
}

.recap-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.recap-header-right,
.recap-header-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.recap-header-center {
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
}

/* Logo de la marca */
.recap-card-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #3b82f6;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.recap-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Branding text */
.recap-card-branding {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.recap-card-brand-name {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #3b82f6;
    margin: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.recap-header-center .recap-card-brand-name {
    font-size: 16px;
    letter-spacing: 0.8px;
}

.recap-title-white {
    color: #ffffff !important;
    font-size: 18px;
    letter-spacing: 1px;
}

.recap-card-brand-model {
    font-size: 8px;
    letter-spacing: 0.5px;
    color: #a0a8b8;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    display: none;
}

.recap-card-website {
    font-size: 12px;
    color: #a0a8b8;
    margin: 8px 0 0 0;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: none;
}

/* Body del Recap Card */
.recap-card-body {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    flex: 1;
}

/* Status/Profit principal */
.recap-profit-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(76, 175, 80, 0.06) 100%);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.recap-profit-section.negative {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.12) 0%, rgba(244, 67, 54, 0.06) 100%);
    border-color: rgba(244, 67, 54, 0.3);
}

.recap-profit-section.neutral {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(59, 130, 246, 0.06) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Profit Display - Dos columnas */
.profit-display {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
}

.profit-item {
    flex: 1;
}

.profit-divider {
    width: 1px;
    height: 60px;
    background: rgba(59, 130, 246, 0.2);
}

.profit-label {
    font-size: 11px;
    color: #a0a8b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profit-value {
    font-size: 28px;
    font-weight: 900;
    color: #4caf50;
    letter-spacing: -0.5px;
}

.recap-profit-section.negative .profit-value {
    color: #f44336;
}

.recap-profit-section.neutral .profit-value {
    color: #3b82f6;
}

/* Metrics Grid */
.recap-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.metric-card {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 3px solid #3b82f6;
}

.metric-card:hover {
    background: rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.metric-card-label {
    font-size: 11px;
    color: #a0a8b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 8px;
}

.metric-card-value {
    font-size: 28px;
    font-weight: 800;
    color: #3b82f6;
    letter-spacing: -0.5px;
}

.metric-card-value.green {
    color: #4caf50;
}

.metric-card-value.red {
    color: #f44336;
}

/* Footer del Recap Card */
.recap-card-footer {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.03) 100%);
    padding: 20px 35px;
    text-align: center;
    font-size: 10px;
    color: #5a6978;
    letter-spacing: 0.3px;
}

.recap-card-footer-top {
    margin-bottom: 10px;
    font-weight: 600;
}

.recap-card-footer-bottom {
    font-size: 9px;
    color: #3a4a5a;
    margin-top: 10px;
}

/* ===== EXPORT ACTIONS ===== */
.recap-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.export-btn {
    flex: 1;
    padding: 14px;
    border: 1.5px solid rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.export-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.export-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    color: #000;
    border-color: #3b82f6;
    font-weight: 700;
}

.export-btn.primary:hover {
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.4);
}

.export-btn.secondary {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.export-btn.secondary:hover {
    background: rgba(59, 130, 246, 0.15);
}

.export-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Scrollbar personalizado */
.recap-content::-webkit-scrollbar {
    width: 8px;
}

.recap-content::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
}

.recap-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #3b82f6);
    border-radius: 10px;
}

.recap-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3b82f6, #3b82f6);
}

@media (max-width: 540px) {
    .recap-content {
        padding: 52px 20px 24px;
        border-radius: 18px;
        max-height: 78vh;
    }

    .recap-close {
        top: 10px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 24px;
    }

    .recap-card-header {
        padding: 12px 15px;
        gap: 10px;
    }

    .recap-card-brand-name {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .recap-card-logo {
        width: 36px;
        height: 36px;
    }

    .recap-card-body {
        padding: 20px;
        gap: 18px;
    }

    .profit-value {
        font-size: 22px;
    }

    .metric-card-value {
        font-size: 20px;
    }

    .recap-metrics-grid {
        grid-template-columns: 1fr;
    }

    .recap-actions {
        flex-direction: column;
    }

    .export-btn {
        width: 100%;
    }

    .recap-card-footer {
        padding: 14px 20px;
        font-size: 9px;
    }

    .profit-divider {
        height: 50px;
    }
}

@media (max-width: 360px) {
    .recap-content {
        padding: 48px 16px 18px;
    }

    .recap-close {
        top: 8px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 22px;
    }

    .recap-card-header {
        padding: 10px 12px;
        gap: 8px;
    }

    .recap-card-brand-name {
        font-size: 11px;
    }

    .recap-card-logo {
        width: 32px;
        height: 32px;
    }

    .profit-value {
        font-size: 18px;
    }

    .metric-card-value {
        font-size: 16px;
    }

    .profit-divider {
        height: 45px;
    }
}

.recap-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recap-header p {
    color: #a0a8b8;
    font-size: 13px;
    margin: 0;
}

/* Filter Buttons */
.recap-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
    justify-content: center;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: #a0a8b8;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    color: #000;
    border-color: #3b82f6;
}

.filter-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* ===== RECAP CARD (Lo que se exporta) ===== */
#recapCard {
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

/* Removed decorative ::before line element */

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Sidebar lateral con branding */
.recap-sidebar {
    width: 120px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-right: 2px solid rgba(59, 130, 246, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 30px 15px;
    min-height: 500px;
    border-radius: 20px 0 0 20px;
}

.recap-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.recap-logo-icon {
    font-size: 40px;
    display: block;
}

.recap-branding-text {
    font-size: 14px;
    font-weight: 700;
    color: #3b82f6;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.2;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Main content area */
.recap-main {
    flex: 1;
    padding: 40px 35px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.recap-title-section {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.recap-title-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recap-period {
    color: #3b82f6;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

/* Metrics Grid */
.recap-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.recap-metrics .metric {
    background: rgba(59, 130, 246, 0.05);
    border-left: 3px solid #3b82f6;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.recap-metrics .metric:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.recap-metrics .metric-value {
    font-size: 24px;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recap-metrics .metric-label {
    font-size: 12px;
    color: #a0a8b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Status Badge */
.recap-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.recap-status.negative {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
}

.recap-status.neutral {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.status-icon {
    font-size: 20px;
}

.status-text {
    color: #4caf50;
    font-weight: 600;
    font-size: 14px;
}

.recap-status.negative .status-text {
    color: #f44336;
}

.recap-status.neutral .status-text {
    color: #3b82f6;
}

/* Footer */
.recap-footer {
    text-align: center;
    color: #5a6978;
    font-size: 11px;
    padding-top: 15px;
    position: relative;
    z-index: 1;
}

/* Export Buttons */
.recap-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.export-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 13px;
}

.export-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.export-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #3b82f6);
    color: #000;
    border-color: #3b82f6;
}

.export-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Loading state */
.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Scrollbar personalizado */
.recap-content::-webkit-scrollbar {
    width: 8px;
}

.recap-content::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 10px;
}

.recap-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #3b82f6);
    border-radius: 10px;
}

.recap-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3b82f6, #3b82f6);
}

/* Responsive */
@media (max-width: 480px) {
    .recap-content {
        padding: 20px;
    }

    .recap-title-section h3 {
        font-size: 18px;
    }

    .recap-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .metric-value {
        font-size: 24px;
    }

    .recap-actions {
        flex-direction: column;
    }

    #recapCard {
        padding: 20px;
    }
}



