﻿
.crm-detail-page {
    background: #f8fafc;
    min-height: 100vh;
}

.crm-stat-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .06);
    height: 100%;
}

.crm-stat-title {
    font-size: .82rem;
    color: #64748b;
    margin-bottom: .35rem;
}

.crm-stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.detail-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: .9rem;
    height: 100%;
}

    .detail-box span {
        display: block;
        color: #64748b;
        font-size: .8rem;
        margin-bottom: .25rem;
    }

    .detail-box strong {
        color: #0f172a;
        font-weight: 700;
        word-break: break-word;
    }

.timeline-item {
    border-left: 3px solid #0d6efd;
    padding: .75rem 1rem;
    margin-bottom: .75rem;
    background: #f8fafc;
    border-radius: .75rem;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: .75rem;
    margin-bottom: .75rem;
    background: #f8fafc;
}

.side-info-row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    border-bottom: 1px solid #e2e8f0;
    padding: .55rem 0;
}

    .side-info-row:last-child {
        border-bottom: 0;
    }

    .side-info-row span {
        color: #64748b;
    }

    .side-info-row strong,
    .side-info-row a {
        color: #0f172a;
        text-align: right;
    }

.table tfoot th {
    background: #f8fafc;
}

@@media (max-width: 768px) {
    .file-item,
    .side-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

        .side-info-row strong,
        .side-info-row a {
            text-align: left;
        }
}


@media print {
    .btn,
    form,
    .card-header,
    .no-print {
        display: none !important;
    }

    body {
        background: #fff !important;
    }

    .crm-detail-page {
        background: #fff !important;
        padding: 0 !important;
    }

    .card,
    .crm-stat-card,
    .detail-box {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }

    .col-xl-8,
    .col-xl-4 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    a {
        color: #000 !important;
        text-decoration: none !important;
    }
}


