﻿/* ✅ تصميم تقارير Gulf Law Company الرسمي */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background-color: #f8f9fa;
    color: #222;
    margin: 0;
    padding: 0;
}

.report-container {
    max-width: 900px;
    background: #fff;
    margin: 30px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.report-header {
    text-align: center;
    border-bottom: 3px solid #b8912c;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.logo {
    width: 120px;
    margin-bottom: 10px;
}

.report-header h2 {
    color: #2e2e2e;
    margin: 0;
    font-weight: 700;
}

.sub-header {
    color: #888;
    font-size: 15px;
}

.report-section {
    margin-top: 25px;
}

    .report-section h3 {
        color: #b8912c;
        border-right: 4px solid #b8912c;
        padding-right: 10px;
        margin-bottom: 10px;
        font-size: 20px;
    }

.info-table, .entities-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 15px;
}

    .info-table th, .entities-table th {
        background: #f4f4f4;
        color: #333;
        padding: 8px 12px;
        text-align: right;
    }

    .info-table td, .entities-table td {
        border-bottom: 1px solid #eee;
        padding: 8px 12px;
    }

.clauses-list {
    list-style: square;
    padding-right: 25px;
    line-height: 1.8;
}

.content-box {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    line-height: 1.9;
    border: 1px solid #eee;
}

.muted {
    color: #888;
    font-style: italic;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.search-box, .filter-select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin: 5px;
    font-size: 14px;
}

.btn-search, .btn-print, .btn-view {
    background-color: #b8912c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

    .btn-search:hover, .btn-print:hover, .btn-view:hover {
        background-color: #a57f26;
    }

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

    .history-table th {
        background-color: #f4f4f4;
        color: #333;
        text-align: right;
        padding: 10px;
    }

    .history-table td {
        border-bottom: 1px solid #eee;
        padding: 10px;
    }

.report-footer {
    text-align: center;
    margin-top: 30px;
    color: #777;
    font-size: 14px;
    border-top: 2px solid #b8912c;
    padding-top: 10px;
}

@media print {
    .btn-print, .filter-bar {
        display: none;
    }

    body {
        background: #fff;
    }

    .report-container {
        box-shadow: none;
        margin: 0;
        padding: 20px;
    }
}
