* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 40px 20px;
    background: #f3f6f9;
    color: #263238;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
}

.card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce3e8;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-header {
    padding: 22px 25px;
    background: #16324f;
    color: #ffffff;
}

.card-header h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

.card-header p {
    margin: 8px 0 0;
    color: #d9e5ef;
    text-align: center;
}

.summary {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px;
    background: #edf3f7;
    border-bottom: 1px solid #dce3e8;
}

.summary-item {
    min-width: 150px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #dce3e8;
    border-radius: 8px;
    text-align: center;
}

.summary-label {
    display: block;
    margin-bottom: 5px;
    color: #607d8b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.summary-number {
    color: #16324f;
    font-size: 24px;
    font-weight: 700;
}

.table-wrapper {
    overflow-x: auto;
    padding: 25px;
}

table {
    width: 100%;
    min-width: 1250px;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 14px 16px;
    border: 1px solid #dce3e8;
    text-align: center;
    vertical-align: middle;
}

thead th {
    background: #16324f;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

tbody tr:nth-child(even) td {
    background: #fafcfd;
}

tbody tr:hover td {
    background: #f0f7fb;
}

.row-number {
    width: 55px;
    color: #607d8b;
    font-weight: 700;
}

.arabic {
    direction: rtl;
    unicode-bidi: isolate;
    font-family:
        "Traditional Arabic",
        "Noto Naskh Arabic",
        Tahoma,
        Arial,
        sans-serif;
    font-size: 25px;
    font-weight: 600;
}

.removed-token {
    background: #fff8e1;
}

.success,
.failure {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.success {
    background: #dff5e5;
    color: #176b32;
}

.failure {
    background: #fde2e2;
    color: #a12626;
}

.empty-value {
    color: #90a4ae;
    font-size: 18px;
}

.footer-note {
    margin-top: 15px;
    color: #607d8b;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 700px) {
    body {
        padding: 20px 10px;
    }

    .table-wrapper {
        padding: 12px;
    }

    .card-header h1 {
        font-size: 20px;
    }
}
.analysis-result {
    min-width: 170px;
    line-height: 1.65;
    white-space: nowrap;
}

.analysis-result strong {
    display: inline-block;
    min-width: 92px;
}