
/* custom scrollbar */
::-webkit-scrollbar {
    width: 20px;
}
  
::-webkit-scrollbar-track {
    background-color: transparent;
}
  
::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 6px solid transparent;
    background-clip: content-box;
}
  
::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}


/*
 * Pro Golf Tipping - WooCommerce My Account Styles
 */

/* --- Brand Color & Font Variables --- */
:root {
    --pt-dark-green: #05402e;
    --pt-primary-green: #31aa4a;
    --pt-light-green: #5bb947;
    --pt-off-white: #eefce8;
    --pt-orange: #f6851f;
    --pt-font-primary: "Aktiv Grotesk Ex Black", sans-serif;
    --pt-font-secondary: "Montserrat", sans-serif;
}

body {
    font-family: var(--pt-font-secondary);
}

/* --- Main Account Page Layout --- */

.woocommerce-account form.woocommerce-form-login.login {
    width: 50%;
}

@media (max-width: 1024px) {

    .woocommerce-account form.woocommerce-form-login.login {
        width: 60%;
    }

}

@media (max-width: 767px) {

    .woocommerce-account form.woocommerce-form-login.login {
        width: 100%;
    }

}

.woocommerce-account .woocommerce {
    font-family: var(--pt-font-secondary);
}

/* --- My Account Navigation Menu --- */
.woocommerce-MyAccount-navigation ul {
    border-radius: 4px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.woocommerce-MyAccount-navigation-link a {
    color: var(--pt-dark-green);
    font-weight: 600;
    font-family: var(--pt-font-secondary);
    padding: 12px 20px;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
    display: block;
    border-radius: 6px;
    background-color: var(--pt-off-white);
    border: 1px solid var(--pt-off-white);
}

.woocommerce-MyAccount-navigation-link a:hover {
    background-color: var(--pt-off-white);
    color: var(--pt-primary-green);
    border: 1px solid var(--pt-primary-green);
}

.woocommerce-MyAccount-navigation-link a br {
    display: none;
}

.woocommerce-MyAccount-navigation-link.is-active > a {
    background-color: var(--pt-dark-green);
    color: #fff !important;
}

/* --- My Account Content Area --- */
.woocommerce-MyAccount-content {
    font-family: var(--pt-font-secondary);
}

.woocommerce-MyAccount-content h3 {
    font-family: var(--pt-font-primary);
    color: var(--pt-dark-green);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    font-size: 22px;
}

.woocommerce-MyAccount-content p {
    line-height: 1.6;
}

.woocommerce-MyAccount-content a {
    color: var(--pt-primary-green);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-MyAccount-content a:hover {
    color: var(--pt-dark-green);
    text-decoration: underline;
}

/* --- Form & Button Styling --- */
.woocommerce-EditAccountForm .button, .woocommerce-MyAccount-content .button {
    background-color: var(--pt-dark-green) !important;
    color: #fff !important;
    font-weight: bold;
    border-radius: 100px !important;
    padding: 10px 25px !important;
    font-family: var(--pt-font-secondary);
    transition: background-color 0.2s ease-in-out;
    /*border: none;*/
    margin-top: 20px;
}

.woocommerce-EditAccountForm .button:hover,
.woocommerce-MyAccount-content .button:hover {
    background-color: var(--pt-primary-green) !important; /* CHANGED hover state to lighter green */
    border: none !important;
}

/* Style the container for each preference section */
.pt-preference-box {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-left: 5px solid var(--pt-dark-green); /* CHANGED to dark green */
    padding: 20px 30px;
    margin-bottom: 2em;
    border-radius: 4px;
}

/* Style the headings in each section */
.pt-preference-box h3 {
    font-family: "Aktiv Grotesk Ex Black", sans-serif; /* Primary Font */
    color: var(--pt-dark-green); /* Dark Green from palette */
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 22px;
    border-bottom: 2px solid var(--pt-off-white);
    padding-bottom: 10px;
}

/* Style the paragraph and label text in each section */
.pt-preference-box p,
.pt-preference-box label span {
    font-family: "Montserrat", sans-serif; /* Secondary Font */
    color: #555;
    font-size: 16px;
}

/* Style the custom checkbox appearance */
.pt-preference-box input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid currentColor;
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.pt-preference-box input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--pt-primary-green);
    transform-origin: bottom left;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.pt-preference-box input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.pt-preference-row {
    margin-top: 20px;
}

.pt-preference-row button {
    margin-top: 0px;
}

.pt-verification-input-wrap button {
    margin-top: 20px !important;
}

/* --- Branded WooCommerce Notices --- */
.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--pt-primary-green) !important;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--pt-primary-green) !important;
}

.woocommerce-error {
    border-top-color: var(--pt-orange) !important;
}
.woocommerce-error::before {
    color: var(--pt-orange) !important;
}

/*
================================================================
Pro Golf Tipping - Account Details Tab Styles
================================================================
*/

/* Target the form specifically on the edit-account page */
.woocommerce-account .woocommerce-EditAccountForm {
    /* We can wrap the form fields in a similar box to the tipping preferences */
    border: 1px solid #e8e8e8;
    /*border-left: 5px solid var(--pt-dark-green);*/
    padding: 20px 30px;
    border-radius: 4px;
}

/* Style the form field labels */
.woocommerce-EditAccountForm label {
    font-family: var(--pt-font-secondary);
    font-weight: 600;
    color: var(--pt-dark-green);
}

/* Style the text input and password fields */
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    font-family: var(--pt-font-secondary);
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    transition: border-color 0.2s ease-in-out;
    border: 1px solid #ddd !important;
}

/* Add a focus style to inputs using the brand color */
.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
    border-color: var(--pt-primary-green);
    box-shadow: 0 0 0 1px var(--pt-primary-green);
    
}

/* Style the fieldset that contains the password change fields */
.woocommerce-EditAccountForm fieldset {
    border: 1px solid #e0e0e0;
    padding: 20px;
    margin-top: 2em;
    border-radius: 4px;
}

.woocommerce-EditAccountForm fieldset legend {
    font-family: var(--pt-font-primary);
    font-size: 18px;
    font-weight: normal;
    color: var(--pt-dark-green);
    padding: 0 10px;
}

.payment_box fieldset {
    border: 1px solid #dddddd;
    margin-bottom: 20px;
    border-radius: 6px;
}

.e-coupon-box {
    display: none !important;
}

.woocommerce-additional-fields {
    display: none !important;
}

div#pt-checkout-preferences {
    background: #ffffff;
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

p.tipping-checkout-notification-header {
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: underline;
    color: var(--pt-dark-green);
}

.woocommerce-terms-and-conditions-wrapper label.checkbox {
    line-height: 1.6em !important;
}

@media (max-width: 767px) {

    .woocommerce-MyAccount-navigation {
      overflow-x: auto;
      white-space: nowrap;
      margin-bottom: 30px;
    }
  
    .woocommerce-MyAccount-navigation ul {
        display: inline-block !important;
        width: auto;
        height: 80px;
    }
  
    .woocommerce-MyAccount-navigation ul li {
        display: inline-block !important;
        margin-top: 14px;
        margin-bottom: 0px;
        margin-right: 10px;
    }
}

.communication-verification-notice {
    font-size:1.2em;
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #ededed;
}

.communication-verification-notice b {
    color: var(--pt-orange);
}

.pt-event-checkout-notice {
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid;
    border-color: var(--pt-dark-green);
    font-size: 1.2em;
    line-height: 1.4em;
    font-weight: 500;
}

.elementor-widget-woocommerce-checkout-page {
    font-family: var(--pt-font-secondary) !important;
}

.pro-tipping-tips-wrapper table {
    background: #ffffff;
}

.pro-tipping-tips-wrapper table th {
    background: var(--pt-primary-green);
    text-align: left;
    color:#ffffff;
}

.pro-tipping-tips-wrapper table tr td {
  word-break: normal;
}

.pro-tipping-tips-wrapper table tr:nth-child(odd) td {
  background-color: #ffffff;
}

.pro-tipping-tips-wrapper table tr:nth-child(even) td {
  background-color: #f8f8f8;
}

.pro-tipping-tips-wrapper table td p {
  margin-bottom: 0px;
}

/*
================================================================
Verification Help Notice (Warning Style)
================================================================
*/
.pt-verification-help-notice {
    margin-top: 2em;
    padding: 1em;
    background-color: #fff3cd; /* Light warning yellow */
    border-left: 4px solid #ffc107; /* Stronger warning yellow/orange */
    font-size: 0.9em;
    color: #664d03; /* Darker text for contrast on yellow */
}

.pt-verification-help-notice p {
    margin: 0 0 0.5em 0;
    padding: 0;
}

.pt-verification-help-notice p:last-child {
    margin-bottom: 0;
}

/*
================================================================
Pro Tipping - Statistics Shortcode Styles
================================================================
*/

.pro-tipping-stats-wrapper {
    font-family: var(--pt-font-secondary);
    margin-bottom: 2em;
}

.pro-tipping-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5em;
    font-size: 16px;
    border-radius: 8px;
    overflow: hidden; /* Ensures border-radius is respected */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.pro-tipping-stats-table thead tr {
    background-color: var(--pt-primary-green); /* Primary Green */
    color: #fff;
}

.pro-tipping-stats-table th {
    font-family: var(--pt-font-secondary);
    font-weight: bold;
    padding: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.pro-tipping-stats-table th:first-child {
    text-align: left;
}

.pro-tipping-stats-table td {
    padding: 14px 16px;
    text-align: center;
    /*border-bottom: 1px solid #f0f0f0;*/
    background-color: #fff;
}

.pro-tipping-stats-table tr:nth-child(odd) td {
    background-color: var(--pt-off-white);
}

.pro-tipping-stats-table tr:nth-child(even) td {
    background-color: #fff;
}

.pro-tipping-stats-table td:first-child {
    text-align: left;
    font-weight: bold;
}

.pro-tipping-stats-table tbody tr:last-child td {
    border-bottom: none;
}

.pro-tipping-stats-table tfoot .ytd-row td {
    font-weight: bold;
    color: #ffffff;
    background-color: var(--pt-primary-green);
    border-top: 2px solid #ddd;
}

.pro-tipping-stats-table tfoot .overall-total-row td {
    font-family: var(--pt-font-secondary);
    font-weight: bold;
    background-color: var(--pt-light-green);
    color: #fff;
    font-size: 20px;
    padding: 20px;
}

.pro-tipping-stats-table td.profit {
    color: #2e7d32; /* A slightly darker green for text */
}

.pro-tipping-stats-table td.loss {
    color: #c62828; /* A darker red for text */
}

.event-analysis-signup-link, .event-analysis-login-link {
    padding: 10px;
    border: 1px solid var(--pt-dark-green);
    border-radius: 6px;
}

.event-analysis-signup-link {
    background: var(--pt-orange);
    color: var(--pt-off-white) !important;
}


/*
================================================================
Responsive Stacking for the STATS Shortcode Table
================================================================
*/
@media screen and (max-width: 768px) {
    .pro-tipping-stats-table {
        border: 0;
    }
    .pro-tipping-stats-table thead {
        display: none; /* Hide header on mobile */
    }
    .pro-tipping-stats-table tr {
        display: block;
        margin-bottom: .625em;
        border-bottom: 3px solid var(--pt-dark-green);
    }
    .pro-tipping-stats-table td {
        display: block;
        text-align: right; /* Align content to the right */
        border-bottom: 1px dotted #ccc;
    }
    .pro-tipping-stats-table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        margin-right: 8px;
    }
    .pro-tipping-stats-table td:last-child {
        border-bottom: 0;
    }

    .pro-tipping-stats-table tr:nth-child(odd) td {
        background-color: #ffffff;
    }

    .pro-tipping-stats-table tr.overall-total-row td {
        background-color: var(--pt-light-green);
        color: #fff;
    }
}


.event-tips-cta-button-container {
    margin-top: 20px;
    margin-bottom: 10px;
}

/*
================================================================
Responsive Stacking Table for Shortcode
================================================================
*/
@media screen and (max-width: 768px) {

    .pro-tipping-tips-wrapper table {
        background: transparent;
    }

    .pro-tipping-tips-table {
        border: none;
        background: transparent;
    }

    .pro-tipping-tips-table thead {
        /* Hide the default table header on mobile */
        display: none;
    }

    .pro-tipping-tips-table tr {
        /* Each row becomes a card */
        display: block;
        /*margin-bottom: 1.5em;*/
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .pro-tipping-tips-table tr.competitor-row {
        margin-top: 1.5em;
        background: var(--pt-primary-green);
    }

    .pro-tipping-tips-table tr.competitor-row td[data-label="Competitor"] {
        background: var(--pt-primary-green);
        color:#ffffff;
    }
    
    .pro-tipping-tips-table tr td[colspan="5"] {
        text-align: center;
        padding: 2em 1em;
    }

    .pro-tipping-tips-table td {
        display: block;
        text-align: right; /* Align content to the right */
        padding-left: 50%; /* Make space for the label */
        position: relative;
    }

    .pro-tipping-tips-table td:last-child {
        /*border-bottom: none;*/
    }

    .pro-tipping-tips-table td::before {
        /* Use the data-label as the new header */
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
    }

    .pro-tipping-tips-table td[data-label="Rationale"]::before {
        display: block;
        width: 100%;
        margin-bottom: 10px;
        position: relative;
        left: 0;
    }

    .pro-tipping-tips-table td[data-label="Rationale"] {
        text-align: left; /* Align content to the right */
        padding-left: 1em;
    }

    .pro-tipping-tips-table td[data-label="Tip Type"] {
        background: var(--pt-off-white) !important;
    }

    tr.ytd-row td[data-label="Year"] {
        background: var(--pt-primary-green);
        color: #ffffff;
    }

    .pro-tipping-tips-table tr.event-tips-cta td {
        display: block;
        text-align: left; /* Align content to the right */
        padding-left: 1em; /* Make space for the label */
        position: relative;
        width: 100%;
    }
    .event-tips-cta-button-container {
        text-align: center;
    }

    .pro-tipping-tips-table tr.event-tips-cta td a {
        display: block;
    }
}


/*
================================================================
Pro Tipping - Best Tips Shortcode Styles
================================================================
*/
.pro-tipping-best-tips {
    /*
    background-color: var(--pt-off-white);
    border-radius: 8px;
    padding: 20px 30px;
    font-family: var(--pt-font-secondary, sans-serif);
    */
}

.best-tip-item {
    display: flex;
    align-items: center;
    padding: 6px 0px;
    border-bottom: 1px solid #e0e6dd;
}

.best-tip-item:last-child {
    border-bottom: none;
}

.best-tip-icon {
    font-size: 24px;
    margin-right: 15px;
    color: var(--pt-orange); /* Orange accent from brand guide */ [cite: 13]
}

.best-tip-details {
    font-size: 18px;
    font-weight: 600;
    color: var(--pt-dark-green); /* Dark green from brand guide */ [cite: 6]
}



/*
================================================================
Results Shortcode - DIV-based Accordion
================================================================
*/

/* --- Desktop & Base Styles (The Original Correct Version) --- */
.pro-tipping-results-wrapper {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}
.stats-row-grid {
    display: grid;
    grid-template-columns: 2.5fr repeat(6, 1fr);
    align-items: center;
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    box-sizing: border-box;
}
.stats-row-grid .col-event {
    text-align: left;
}
.stats-header {
    font-weight: bold;
    color: #fff;
    background-color: var(--pt-dark-green);
    border-bottom: none;
}
details { width: 100%; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

summary .col-event::before {
    content: '[+] ';
    margin-right: 5px;
    font-family: monospace;
}
details[open] > summary .col-event::before {
    content: '[-] ';
}
.year-summary .stats-row-grid {
    background-color: #f1f8e9;
    font-weight: bold;
}
.month-rows { border-top: 1px solid #dcedc8; }
.month-summary .stats-row-grid { background-color: #fafafa; }
.month-summary .col-event { padding-left: 30px; }
.event-rows { padding-left: 20px; }
.event-row .stats-row-grid { font-style: italic; font-size: 0.95em; }
.event-row .col-event { padding-left: 50px; }
.stats-footer .stats-row-grid {
    background-color: var(--pt-light-green);
    color: #fff;
    font-weight: bold;
    border-bottom: none;
}

/* --- Mobile Responsive Stacking Styles --- */
@media screen and (max-width: 768px) {

    .year-summary .stats-row-grid {
        background-color: var(--pt-dark-green);
        color: #fff;
    }

    .year-summary .stats-row-grid .col-event {
        background-color: #032b1f;
        color: #fff;
    }

    .month-summary .col-event {
        background-color: var(--pt-primary-green);
        color:#ffffff;
    }

    .stats-row-grid.event-row .col-event {
        background-color: #efefef;
    }
    
    .pro-tipping-results-wrapper .stats-row-grid {
        display: block; /* Stack the grid cells */
        padding: 0;
    }
    .pro-tipping-results-wrapper .stats-header {
        display: none; /* Hide the main header row on mobile */
    }
    .pro-tipping-results-wrapper .stats-row-grid > div {
        display: block;
        padding: 8px 15px 8px 40%; /* Make space for the label */
        text-align: right;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }
    .pro-tipping-results-wrapper .stats-row-grid > div:last-child {
        border-bottom: none;
    }
    .pro-tipping-results-wrapper .stats-row-grid > div::before {
        content: attr(data-label); /* Use the data-label as the new header */
        position: absolute;
        left: 15px;
        width: 35%; /* Adjust width for labels */
        font-weight: bold;
        text-align: left;
    }

    /* --- THIS IS THE FIX --- */
    /* First, reset the main label column to look normal */
    .pro-tipping-results-wrapper .stats-row-grid .col-event {
        padding: 12px 15px;
        text-align: right;
        font-weight: bold;
    }
    .pro-tipping-results-wrapper .stats-row-grid.event-row .col-event {
        text-align: left;
    }
    /* Hide the "Period" data-label for the main column */
    .pro-tipping-results-wrapper .stats-row-grid.event-row .col-event::before {
        display: none;
    }
    /* Now, re-apply the [+] and [-] icons specifically to the summary rows */
    .pro-tipping-results-wrapper summary .col-event::before {
        content: '[+] ';
        display: inline-block; /* Make sure it's visible */
        margin-right: 5px;
        font-family: monospace;
    }
    .pro-tipping-results-wrapper details[open] > summary .col-event::before {
        content: '[-] ';
    }
    
    /* Reset indentation for mobile view */
    .month-summary .col-event,
    .event-row .col-event {
        padding-left: 15px;
    }
    .month-rows,
    .event-rows {
        padding-left: 0;
        border-left: none;
    }
}


/*
================================================================
Responsive Stacking for Event Summary Table
================================================================
*/
@media screen and (max-width: 768px) {

    .pro-tipping-summary-table {
        border-top: 2px solid var(--pt-dark-green);
        margin-top: 2em;
        
    }
    .pro-tipping-tips-wrapper table.pro-tipping-summary-table tr:nth-child(odd) td {
        background: var(--pt-dark-green) !important;
        color: #ffffff;
    }
    .pro-tipping-summary-table thead {
        display: none;
    }
    .pro-tipping-summary-table tr {
        display: block;
        margin-bottom: 0;
    }
    .pro-tipping-summary-table td {
        display: block;
        text-align: right;
        padding: 8px 15px;
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }
    .pro-tipping-summary-table td:last-child {
        border-bottom: none;
    }
    .pro-tipping-summary-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        text-align: left;
    }
}


/*
================================================================
My Account - My Tips Tab Styles
================================================================
*/
.pt-my-tips-accordion .pt-event-tips-group {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 1em;
    background-color: #fff;
}

.pt-my-tips-accordion summary {
    padding: 1em 1.5em;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    list-style-type: none; /* Hide default triangle */
    position: relative;
    color: var(--pt-dark-green);
}

.pt-my-tips-accordion summary::-webkit-details-marker {
    display: none; /* Hide default triangle in Chrome/Safari */
}

/* Add our own custom arrow */
.pt-my-tips-accordion summary::after {
    content: '▼';
    position: absolute;
    right: 1.5em;
    font-size: 0.7em;
    transition: transform 0.2s ease-in-out;
}

.pt-my-tips-accordion details[open] summary::after {
    transform: rotate(180deg);
}

.pt-my-tips-accordion .pt-event-tips-content {
    padding: 0 1.5em 1.5em 1.5em;
    border-top: 1px solid #e0e0e0;
}

/*
================================================================
My Account - My Tips Table Styles
================================================================
*/
.pt-my-tips-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1em;
}

.pt-my-tips-table th,
.pt-my-tips-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.pt-my-tips-table th {
    font-weight: bold;
    font-size: 0.9em;
    text-transform: uppercase;
    color: #555;
}

.pt-my-tips-table tbody tr:last-child td {
    border-bottom: 1px solid #c9c9c9;
}

.pt-my-tips-table td:last-child p { /* For rationale/details */
    margin: 0;
    font-size: 0.9em;
}

/*
================================================================
Late Mail Tip Indicator Styles
================================================================
*/
tr.is-late-mail td {
    background-color: var(--pt-off-white); /* A light amber to stand out */
}

span.late-mail-indicator {
    display: inline-block;
    background-color: var(--pt-orange);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
    text-transform: uppercase;
    width: 76px;
}

/*
================================================================
Responsive Styles for "My Tips" Table
================================================================
*/
@media screen and (max-width: 768px) {
    .pt-my-tips-table {
        border: none;
    }

    .pt-my-tips-table thead {
        /* Hide the table header on mobile */
        display: none;
    }

    .pt-my-tips-table tr {
        /* Each row becomes a card */
        display: block;
        margin-bottom: 1.5em;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .pt-my-tips-table td {
        display: block;
        text-align: right; /* Align content to the right */
        padding-left: 50%; /* Make space for the label */
        position: relative;
    }

    .pt-my-tips-table td:last-child {
        border-bottom: 1px solid #c9c9c9;
    }

    .pt-my-tips-table td::before {
        /* Use the data-label as the new header */
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        text-align: left;
        font-weight: bold;
    }
}