/* -----------------------------
   PORTFOLIO TABS – SCREEN VIEW
------------------------------*/

/* Container */
.ptabs-container {
    margin: 20px 0;
}

/* Tab Menu Row */
.ptabs-menu {
    display: flex;
    gap: 5px;
    margin-bottom: -1px;
}

/* Tab Button */
.ptab {
    padding: 10px 15px;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
}

/* Active Tab */
.ptab.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

/* Tab Content */
.ptab-content {
    display: none;
    border: 1px solid #ccc;
    padding: 15px;
    background: #fff;
    border-radius: 0 4px 4px 4px;
    position: relative;
    z-index: 1;
}

/* Visible Content */
.ptab-content.active {
    display: block;
}

/* Ensure totals row prints correctly */
@media print {
    .phl-table tfoot {
        display: table-row-group !important;
    }
}


.CPD-plugin-title {
  color: #46747d;
  font-size: 20px;
  text-align: center;
  padding: 0px;
  margin-bottom: 0px;
}
  
.PHL-plugin-title {
  color: #1B263B !important;
  font-size: 20px !important;
  text-align: center!important;
  padding: 0px !important;
}

.RD-plugin-title {
  color: #49569D ;
  font-size: 20px ;
  text-align: center;
  padding: 0px;
}

.RA-plugin-title {
  color: #37710f ;
  font-size: 20px ;
  text-align: center;
  padding: 0px;
}

/* -----------------------------------------
   PRINT CLEANUP – CONSOLIDATED & COMPLETE
------------------------------------------*/

@media print {

    /* Hide cookie widget */
    .cookieadmin_re_consent,
    .cookieadmin_reconsent_img {
        display: none !important;
        visibility: hidden !important;
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        top: -9999px !important;
        left: -9999px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Hide intro text at top of portfolio tabs */
    .ptabs-intro,
    .portfolio-intro-text {
        display: none !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }

    /* Hide tab buttons */
    .ptabs-menu {
        display: none !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }

    /* Remove outer container spacing */
    .ptabs-container {
      /*  border: none !important;*/
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Hide Shoomboom site title in header */
    header > h1,
    header > h1 > a {
        display: none !important;
        visibility: hidden !important;
    }

    /* Hide print button */
    .portfolio-print-wrap,
    .portfolio-print-btn {
        display: none !important;
        visibility: hidden !important;
    }

    /* Hide footer + credits */
    footer,
    .site-footer,
    .site-info,
    .footer,
    .copyright,
    .site-info p,
    .site-info a {
        display: none !important;
        visibility: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 0 !important;
    }

    /* Hide all EDIT + DELETE buttons everywhere */
    .rd-edit-btn,
    .rd-buttons-wrap,
    .delete-btn,
    .ra-delete-btn,
    .remove-wrapper,
    td[data-label="Remove"],
    th[data-label="Remove"],
    .phl-wrapper td:last-child,
    .phl-wrapper th:last-child,
    .button-bar {
        display: none !important;
        visibility: hidden !important;
    }
}

@media print {
    /* Hide Reflective Accounts tab buttons */
    .ra-tabs,
    .ra-tab-btn {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

@media print {

    /* Hide REMOVE column header */
    .headings div:last-child {
        display: none !important;
        visibility: hidden !important;
    }

    /* Hide REMOVE column cells */
    .entry div:last-child {
        display: none !important;
        visibility: hidden !important;
    }

    /* Fix grid after hiding last column */
    .headings,
    .entry {
        grid-template-columns: repeat(7, 1fr) !important; /* was 8 */
    }
}

@media print {

    /* Hide the REMOVE header */
    .cpd-table th:nth-child(8) {
        display: none !important;
    }

    /* Hide every REMOVE cell */
    .cpd-table td:nth-child(8) {
        display: none !important;
    }

    /* Hide form + button */
    .cpd-table .remove-cell,
    .cpd-table .remove-cell * {
        display: none !important;
        visibility: hidden !important;
    }
/* Hide the note when printing */

@media print {
    #print-tip {
        display: none !important;
        visibility: hidden !important;
    }
}





