/* WRAPPED DISPLAY CSS — SAFE, ISOLATED */

/* PAGE */
.phl-wrapper {
    font-family: Arial, sans-serif;
    color: #0D1B2A;
}

.phl-wrapper h2 {
    text-align: center;
    color: #415A77;
    margin-bottom: 20px;
    font-size: 35px;
}

/* TABLE WRAPPER */
.phl-wrapper .table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
    
}

/* TABLE */
.phl-wrapper table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #1B263B;
}

.phl-wrapper th {
    color: #E0E1DD;
    font-weight: bold;
    padding: 10px;
    border-bottom: 1px solid #1B263B;
    text-align: center;
}

.phl-wrapper th {

   margin-bottom:10px; 
}

/* CELLS 
.phl-wrapper td {
    padding: 8px;
    border-bottom: 1px solid #1B263B;
    border-right: 1px solid #1B263B;
    font-size: 15px;
} */

.phl-wrapper tr td:last-child {
    border-right: none;
}

@media (max-width: 900px) {
  .entry div {
    flex-direction: column;
    text-align: left;
    border-bottom: 1px solid #D6E2DD!important;
    border-right: none !important;
      }
} 

/* PRINT VIEW */
@media print {
    .phl-wrapper .delete-btn,
    .phl-wrapper .print-btn,
    .phl-wrapper td[data-label="Remove"],
    .phl-wrapper th:nth-child(9) {
        display: none;
    }
}

/* TABLE MOBILE TWEAKS */
@media (max-width: 1024px) {
    .phl-wrapper table,
    .phl-wrapper th,
    .phl-wrapper td {
        font-size: 14px;
    }

    .phl-wrapper td {
        word-break: break-word;
    }
}

/* MOBILE CARD MODE */
@media (max-width: 700px) {

    .phl-wrapper table,
    .phl-wrapper thead,
    .phl-wrapper tbody,
    .phl-wrapper th,
    .phl-wrapper td,
    .phl-wrapper tr {
      /*  display: block;*/
    }

    .phl-wrapper thead {
        display: none;
    }

   /* .phl-wrapper tr {
        margin-bottom: 16px;
        padding: 8px;
    }*/
}

@media print {
    /* Hide delete column header */
    .phl-wrapper th:last-child {
        display: none !important;
    }

    /* Hide delete column cells */
    .phl-wrapper td:last-child {
        display: none !important;
    }
}

@media (max-width: 900px) {

    .phl-table tr {
        display: block;
        margin-bottom: 20px;       /* ← creates separation between entries */
        border: 1px solid #94AF9F; /* optional: visible box around each entry */
        border-radius: 8px;
        overflow: hidden;
        background: #CCDDD5;
    }

    .phl-table td {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #D6E2DD;
    }

    .phl-table td:last-child {
        border-bottom: none;
    }

    .phl-table thead {
        display: none; /* hide table header in mobile */
    }
}


@media (max-width: 900px) {

    /* Disable table collapsing so borders don't merge */
    .phl-table {
        border-collapse: separate !important;
        border-spacing: 0 !important;
        border: none !important;
    }

    /* Each row becomes a card with its own border */
    .phl-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #94AF9F;
        border-radius: 8px;
        background: #CCDDD5;
        overflow: hidden;
    }

    /* Remove any left-over borders from cells */
    .phl-table td {
        display: block;
        padding: 10px;
        border: none !important;
        border-bottom: 1px solid #D6E2DD !important;
    }

    .phl-table td:last-child {
        border-bottom: none !important;
    }

    .phl-table thead {
        display: none !important;
    }
}






