﻿/* Agregar a tu archivo CSS global o crear ModalDetalleDocComp.razor.css */


/* === HEADER === */
.lc-page-header {
    background: #ffffff;
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #0d6efd;
    width: 100%;
    margin: 0;
}


.lc-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lc-header-icon {
    width: 44px;
    height: 44px;
    background: #e7f1ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

    .lc-header-icon i {
        color: #0d6efd;
    }

.lc-page-header h2 {
    color: #0d6efd;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.lc-page-header .lc-subtitle {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 2px;
}

.lc-btn-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .lc-btn-close:hover {
        background: #f8d7da;
        color: #dc3545;
        border-color: #f1aeb5;
    }

/* === CONTENT AREA === */
.lc-content-area {
    padding: 24px 28px;
    background: #f0f2f5;
}

.lc-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* === STATS BAR === */
.lc-stats-bar {
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.lc-stat-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
}

    .lc-stat-chip .lc-number {
        font-weight: 700;
        color: #1e293b;
        font-size: 0.9rem;
    }

.lc-stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

    .lc-stat-dot.lc-total {
        background: #0d6efd;
    }

    .lc-stat-dot.lc-activos {
        background: #198754;
    }

    .lc-stat-dot.lc-inactivos {
        background: #dc3545;
    }

@@media (max-width: 768px) {
    .lc-page-header {
        padding: 16px 20px;
    }

    .lc-content-area {
        padding: 16px 12px;
    }

    .lc-stats-bar {
        padding: 10px 16px;
        flex-wrap: wrap;
    }
}



/* ═══════════════════════════════════════════════
   ESTILOS FICHA - header-azul  
   Solo: cabecera, tabs y footer
   ═══════════════════════════════════════════════ */



/* ── CABECERA ── */
.header-azul {
    background: #5b9bf3 !important;
    border: none !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    height: 70px;
}

    .header-azul .modal-title {
        color: #fff !important;
        font-size: 1.35rem;
        font-weight: 700;
        margin: 0;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 10px;
    }

        .header-azul .modal-title .icon-style {
            font-size: 1.4rem;
        }

    .header-azul .cerrar {
        color: #fff;
        opacity: 0.85;
        font-size: 1rem;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px 8px;
    }

        .header-azul .cerrar:hover {
            opacity: 1;
        }

        .header-azul .cerrar i {
            color: #fff;
        }

    /* ── TABS ── */
    .header-azul ~ .modal-body .nav-tabs {
        background: #fff !important;
        /*border-bottom: 2px solid #e0e5ee !important;*/
        padding: 0 10px !important;
        margin: -1rem -1rem 1rem -1rem !important;
    }

.modal-body {
    /*padding: 30px !important;*/
    padding-left: 30px !important;
    padding-right: 30px !important;
    padding-top: 20px !important;
}

        .header-azul ~ .modal-body .nav-tabs .nav-link {
            color: #6b7e95 !important;
            font-size: 0.85rem !important;
            font-weight: 500 !important;
            border: none !important;
            /*border-bottom: 1px solid transparent !important;*/
            border-radius: 0 !important;
            padding: 10px 14px !important;
            background: transparent !important;
        }

            .header-azul ~ .modal-body .nav-tabs .nav-link:hover {
                color: #3d5170 !important;
            }

            .header-azul ~ .modal-body .nav-tabs .nav-link.active {
                color: #2d7be5 !important;
                font-weight: 600 !important;
                border-bottom: 3px solid #2d7be5 !important;
                background: transparent !important;
            }

    /* ── FOOTER ── */
    .header-azul ~ .modal-footer {
        background: #fff !important;
        border-top: 1px solid #e0e5ee !important;
        height: 70px;
    }


/*    --------------------------------*/

/*.gh-row {
    display: flex;
    align-items: center;
    background: #f8f9fc;
    border-radius: 4px;
    padding: 4px 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}*/

.gh-cell {
    flex-shrink: 0;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gh-monto {
    text-align: right;
}

.gh-turno {
    font-weight: 700;
    color: #1a1a2e;
    background: #e8eaf6;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.gh-icon {
    color: #7986cb;
    margin-right: 4px;
    font-size: 0.78rem;
}


.gh-sep {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0 6px;
}

.gh-item {
    font-size: 0.835rem;
    color: #555;
    font-weight: 500;
}
