/* ================================
   GLOBAL
================================ */

.pdf-container {
    font-family: dejavuserif, sans-serif;
    font-size: 12px;
    color: #2c2c2c;
    max-width:  186mm;
    margin: 0 auto;
    
}

/* ================================
   HEADER (Centered)
================================ */

.pdf-header {
    text-align: center;
    margin-bottom: 25px;
}

.pdf-header h3 {
    font-size: 20px;
    color: #0b3d91;
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
}

.pdf-header p {
    margin: 5px 0 0 0;
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.divider {
    border-top: 2px solid #0b3d91;
    margin: 15px auto 0 auto;
    width: 80px;
}

/* ================================
   SECTIONS (Centered Headings)
================================ */

.section {
    margin-bottom: 25px;
    page-break-inside: avoid;
}

.section-title {
    font-size: 13px;
    background: #0b3d91;
    color: #ffb81c;
    padding: 8px 10px;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-align: center;   /* CENTERED */
}

/* ================================
   TABLES
================================ */

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
}

.pdf-table th,
.pdf-table td {
    border: 1px solid #e0e0e0;
    padding: 5px 8px;
    text-align: left;     /* CENTER EVERYTHING */
    vertical-align: middle; /* Better alignment */
}

.pdf-table th {
    background: #f4f6f9;
    font-weight: bold;
    color: #333;
}

/* Keep data aligned nicely */
.pdf-table td {
    text-align: center;
}

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

.premium-table th,
.premium-table td {
    text-align: center !important;
}

/* ================================
   HIGHLIGHTS
================================ */

.highlight {
    color: #0b3d91;
    font-weight: bold;
}

.highlight-green {
    color: #1a7f37;
    font-weight: bold;
}

/* ================================
   NOTES
================================ */

.note {
    font-size: 11px;
    color: #555;
    margin-top: 8px;
    text-align: center; /* optional */
}

/* ================================
   AGENT SECTION
================================ */

.agent-section {
    margin-top: 40px;
    padding-top: 15px;
    border-top: 2px solid #0b3d91;
    font-size: 11px;
    color: #444;
    text-align: center;  /* CENTER AGENT BLOCK */
}

.agent-section strong {
    font-size: 12px;
    color: #0b3d91;
}

/* ================================
   PAGE BREAK CONTROL
================================ */

table {
    page-break-inside: auto;
}

tr {
    page-break-inside: avoid;
    page-break-after: auto;
}


.yearwise-notes {
    margin-top: 15px;
    padding-left: 18px;
    font-size: 13px;
    color: #444;
}

.yearwise-notes li {
    margin-bottom: 6px;
}

.premium-table th{
    font-weight: bold;
}
.maturity-table th {
    width: 50%;
    text-align: left;
    font-weight: bold;
}
.maturity-table td {
    width: 50%;
    text-align: center;
    font-weight: 600;
}

.maturity-table td {
    font-weight: 500;
}

.maturity-table .total-row th,
.maturity-table .total-row td {
    font-size: 16px;
    font-weight: bold;
}
.yearwise-section-table th,
.yearwise-section-table td {
    text-align: center !important;
    vertical-align: middle;
}
.year-wise-maturity-row {
    background: linear-gradient(90deg, #e8f8ff, #d6f2ff);
}

.year-wise-maturity-row td {
    font-weight: bold;
}
.year-wise-post-maturity-row {
    background: linear-gradient(90deg, #f3fbff, #eaf7ff);
}

.year-wise-post-maturity-row td {
    font-weight: 600;
    color: #3a6f80;
}
.year-wise-ppt-row {
    background: linear-gradient(90deg, #f7fbff, #eef7ff);
}

.year-wise-ppt-row td {
    font-weight: bold;
}
.year-wise-death-row {
    background: linear-gradient(90deg, #fff4e6, #ffe0cc);
    font-weight: 600;
}
.death-claim-total-row {
  background: #f3f7ff;
  font-weight: 600;
}
.highlight {
    color: #0d6efd;
    font-weight: 700;
}
.signature-section {
    margin-top: 35px;
    border-top: 2px solid #0d6efd;
    padding-top: 15px;
    font-family: DejaVu Sans, sans-serif;
}

.signature-heading {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    color: #0d6efd;
}

.signature-table {
    width: 100%;
    border: 1px solid #dcdcdc;
    background-color: #f8f9fb;
}

.signature-table td {
    width: 50%;
    vertical-align: top;
    padding: 12px;
}

.sig-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.sig-branch1,
.sig-branch2 {
    font-size: 13px;
    margin-bottom: 3px;
    color: #333;
}

.sig-right div {
    font-size: 13px;
    margin-bottom: 5px;
}

.notes-list {
    margin: 8px 0 0 18px;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
}

.notes-list li {
    margin-bottom: 6px;
}
.edit-notes:hover {
    color: #ffffff;
    cursor: pointer;
    transform: scale(1.1);
}



.icon-img {
    width: 18px;
    vertical-align: middle;
    margin-right: 4px;
}

.sub-text {
    font-size: 8px;
    color: #555555;
    padding-left: 18px;
    display: none;
}
.sub-text-new {
    font-size: 8px;
    color: #555555;
    padding-left: 18px;
    
}
.label-row {
    text-align: left;
    vertical-align: top;
}
.label-main {
    font-weight: bold;
}
.icon-inline {
    vertical-align: middle;
    margin-right: 6px;
}

.label-main {
    font-weight: bold;
}