/* 19-01-2026 HDB style start  */
.button.small.action-btn-main.edit-btn.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed !important;
}

/** BEGIN CSS NEEDED FOR SWITCH **/
.on-off-toggle {
    width: 56px;
    height: 24px;
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.on-off-toggle__input,
.on-off-toggle__slider {
    cursor: pointer;
}

.on-off-toggle__slider {
    width: 56px !important;
    height: 24px;
    display: block;
    border-radius: 34px;
    background-color: #d8d8d8;
    transition: background-color 0.4s;
    padding-top: 0 !important;
}

.on-off-toggle__slider:before {
    content: "";
    display: block;
    background-color: #fff;
    box-shadow: 0 0 0 1px #949494;
    bottom: 3px;
    height: 18px;
    left: 3px;
    position: absolute;
    transition: 0.4s;
    width: 18px;
    z-index: 5;
    border-radius: 100%;
}

.on-off-toggle__slider:after {
    display: block;
    line-height: 24px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    content: "";
    color: #484848;
    padding-left: 26px;
    transition: all 0.4s;
}

.on-off-toggle__input {
    /*
    This way of hiding the default input is better 
    for accessibility than using display: none;
  */
    position: absolute;
    opacity: 0;
}

.on-off-toggle__input:checked + .on-off-toggle__slider {
    background-color: #73ab89;
}

.on-off-toggle__input:checked + .on-off-toggle__slider:before {
    transform: translateX(32px);
}

.on-off-toggle__input:checked + .on-off-toggle__slider:after {
    content: "";
    color: #ffffff;
    padding-left: 8px;
}

/* First pricing row: hide remove (X) button - Practice and Event forms */
.lwd-form-container #pricing-rows tbody tr:first-child .remove-wrapper {
    display: none !important;
}

/* First session row: hide remove (X) button - Event Schedule */
.lwd-form-container #sessions-table tbody tr:first-child .session-remove-wrapper {
    display: none !important;
}

/* Event session time dropdowns (start/end) - compact, options visible */
.lwd-session-time-cell {
    white-space: nowrap;
    width: 1%;
    padding-right: 32px; /* more space between time and onsite so no overlap with toggles */
    overflow: visible;
}
.lwd-form-container #sessions-table {
    overflow: visible;
}
.lwd-session-time-cell .form-control,
.lwd-session-time-cell .lwd-time-start,
.lwd-session-time-cell .lwd-time-end,
.lwd-session-time-cell select {
    display: inline-block;
    width: 7.8em;
    max-width: 8.5em;
    min-width: 6.5em;
    margin-right: 8px;
    padding: 6px 10px;
    font-size: 15px;
    min-height: 38px;
    line-height: 1.35;
}
.lwd-session-time-cell select option {
    padding: 8px 10px;
    font-size: 15px;
}

/* Schedule: Start Date column - width so full date (e.g. dd/mm/yyyy) is visible */
#sessions-table .lwd-session-date-cell {
    width: 1%;
    white-space: nowrap;
}
#sessions-table .lwd-session-date-input,
#sessions-table .lwd-session-date-cell input[type="date"] {
    max-width: 175px;
    width: 175px;
    min-width: 175px;
    box-sizing: border-box;
}

/* Schedule: reduce gap between Onsite and Online columns; align toggles with other fields */
#sessions-table .lwd-session-onsite-cell,
#sessions-table .lwd-session-online-cell {
    width: 1%;
    white-space: nowrap;
    padding-left: 28px; /* more space between time and onsite so no overlap with toggles */
    padding-right: 8px;
    vertical-align: middle;
}
#sessions-table .lwd-session-onsite-cell .on-off-toggle,
#sessions-table .lwd-session-online-cell .on-off-toggle {
    margin: 0;
    vertical-align: middle;
}
#sessions-table tbody td {
    vertical-align: middle;
}
#sessions-table thead th:nth-child(1) {
    width: 1%;
}
#sessions-table thead th:nth-child(3),
#sessions-table thead th:nth-child(4) {
    width: 1%;
    padding-left: 8px;
    padding-right: 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    left: unset !important;
    right: -8px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    top: -7px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #73ab89 !important;
}

.woocommerce-account .select2-results {
    width: 100% !important;
}

/* 19-01-2026 HDB style end  */

/* 13-jan-02026-lightworkers-myaccount-dashboard - Copy/assets/css/dashboard.css */
.df-col {
    width: 100%;
}

#qt_event_content_toolbar .ed_button {
    width: auto !important;
    color: #000;
}

.wp-switch-editor {
    color: #ffffff !important;
    padding: 16px !important;
    line-height: 0 !important;
    border-radius: 0px !important;
    background: gray !important;
}

.button.small.trace-delete {
    background-color: #b91c1c !important;
    color: #fff !important;
    border-color: #fee2e2 !important;
    padding: 5px 15px;
    font-weight: 400;
}

/* 12-01-2026 HDB style start */

/* Base Font Families - Consistent with Site */
.lwd-dashboard,
.lwd-dashboard *,
.lwd-dashboard p,
.lwd-dashboard span,
.lwd-dashboard div,
.lwd-dashboard td,
.lwd-dashboard th,
.lwd-dashboard input,
.lwd-dashboard select,
.lwd-dashboard textarea,
.lwd-dashboard button,
.lwd-dashboard label,
.lwd-dashboard a {
    font-family: "Lato", sans-serif !important;
}

/* Headings use Cormorant Garamond */
.lwd-dashboard h1,
.lwd-dashboard h2,
.lwd-dashboard h3,
.lwd-dashboard h4,
.lwd-dashboard h5,
.lwd-dashboard h6,
.lwd-profile-head h2,
.lwd-profile-head h3,
.section-header h3,
.dashboard-heading-btn-grid h3,
.lwd-form-header h2 {
    font-family: "Cormorant Garamond", serif !important;
    font-weight: 700;
}

/* Single White Container for Everything */
.lwd-profile-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.lwd-profile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.lwd-profile-details {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lwd-profile-details .lightworker-code {
    font-size: 13px;
    color: #73ab89;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lwd-profile-details h3.lightworker-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 !important;
    text-transform: capitalize;
}

.lwd-profile-head img.profile-avatar {
    width: 120px;
    height: 120px !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 3px solid #e0e0e0 !important;
    flex-shrink: 0;
}

/* About Me Section */
.lwd-about-me {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.lwd-about-me h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lwd-about-me .about-me-content {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.lwd-about-me .about-me-content p {
    margin-bottom: 10px;
}

/* Taxonomy Info Grid */
.lwd-taxonomy-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.lwd-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #73ab89;
    flex: 1;
    min-width: 250px;
}

.lwd-info-item strong {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
    min-width: 90px;
}

.lwd-info-item span {
    font-size: 14px;
    color: #666;
    flex: 1;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .lwd-profile-container {
        padding: 20px;
    }
    
    .lwd-profile-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .lwd-profile-details {
        text-align: center;
        align-items: center;
    }
    
    .lwd-taxonomy-info {
        flex-direction: column;
    }
    
    .lwd-info-item {
        min-width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.lwd-profile-details h3 {
    margin-bottom: 10px !important;
    text-transform: capitalize;
}

/* ===================================
   PRACTICE CARDS LAYOUT
   =================================== */

.lwd-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.lwd-practice-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.lwd-practice-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.lwd-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 50px 50px 0 0;
}

.lwd-card-code {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.lwd-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lwd-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.lwd-status-badge.status-publish,
.lwd-status-badge.status-published {
    background: #d4edda;
    color: #155724;
}

.lwd-status-badge.status-draft {
    background: #fff3cd;
    color: #856404;
}

.lwd-status-badge.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.lwd-status-badge.status-finished,
.lwd-status-badge.status-full {
    background: #FFE135;
    color: #0d9488;
    border: 1px solid #d4a017;
}

/* Card Body */
.lwd-card-body {
    padding: 20px 30px;
}

.lwd-card-section {
    margin-bottom: 15px;
}

.lwd-card-section:last-child {
    margin-bottom: 0;
}

.lwd-card-section label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Lato", sans-serif;
}

.lwd-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

.lwd-card-description {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    min-height: 40px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.lwd-card-description .placeholder-text {
    color: #999;
    font-style: italic;
}

.lwd-meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.lwd-meta-item {
    display: flex;
    flex-direction: column;
}

.lwd-meta-item label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.lwd-meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.duration-value {
    display: inline-block;
    min-width: 30px;
    text-align: center;
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin: 0 4px;
}

/* Card Footer */
.lwd-card-footer {
    padding: 15px 30px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    border-radius: 0 0 50px 50px;
}

/* Buttons */
.lwd-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.lwd-btn:hover,
.lwd-btn:focus,
.lwd-btn:active {
    text-decoration: none !important;
}

/* Edit Button - Unique styling to override global button styles */
a.lwd-practice-edit-btn {
    background: #e9d5ff !important;
    background-color: #e9d5ff !important;
    color: #9333ea !important;
    border: none !important;
    padding: 8px 24px !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
}

a.lwd-practice-edit-btn:hover {
    background: #d8b4fe !important;
    background-color: #d8b4fe !important;
    color: #7e22ce !important;
    box-shadow: 0 3px 8px rgba(147, 51, 234, 0.2) !important;
    text-decoration: none !important;
    border: none !important;
}

a.lwd-practice-edit-btn:focus {
    background: #d8b4fe !important;
    background-color: #d8b4fe !important;
    color: #7e22ce !important;
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

a.lwd-practice-edit-btn:active {
    background: #c084fc !important;
    background-color: #c084fc !important;
    color: #6b21a8 !important;
    text-decoration: none !important;
    border: none !important;
}

.lwd-btn-save {
    background: #73ab89;
    color: #fff;
    border: 1px solid #73ab89;
}

.lwd-btn-save:hover {
    background: #5a8a6b;
}

.lwd-btn-view {
    background: #d9f2e5;
    color: #16a34a;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lwd-btn-view:hover {
    background: #bbf7d0;
    color: #15803d;
    box-shadow: 0 3px 8px rgba(22, 163, 74, 0.2);
}

/* Delete Button - Unique styling to override global button styles */
button.lwd-practice-delete-btn,
button.lwd-practice-delete-btn[type="button"] {
    background: #c2185b !important;
    background-color: #c2185b !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 24px !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    display: inline-block !important;
    text-align: center !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
}

button.lwd-practice-delete-btn:hover,
button.lwd-practice-delete-btn[type="button"]:hover {
    background: #ad1457 !important;
    background-color: #ad1457 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(194, 24, 91, 0.3) !important;
    text-decoration: none !important;
    border: none !important;
}

button.lwd-practice-delete-btn:focus,
button.lwd-practice-delete-btn[type="button"]:focus {
    background: #ad1457 !important;
    background-color: #ad1457 !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
}

button.lwd-practice-delete-btn:active,
button.lwd-practice-delete-btn[type="button"]:active {
    background: #880e4f !important;
    background-color: #880e4f !important;
    color: #fff !important;
    border: none !important;
}

.lwd-btn-register {
    background: linear-gradient(90deg, #73ab89 0%, #a877de 100%);
    color: #fff;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(115, 171, 137, 0.3);
}

.lwd-btn-register:hover {
    box-shadow: 0 6px 15px rgba(115, 171, 137, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

/* Event Card Specific Styles */
.lwd-event-card .lwd-event-meta-row {
    grid-template-columns: 1.5fr 1fr;
}

.lwd-date-separator {
    display: inline-block;
    margin: 0 5px;
    color: #999;
}

.lwd-event-card .lwd-meta-value {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

/* Article Card Specific Styles */
.lwd-article-card .lwd-card-description {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
}

.lwd-article-card .lwd-meta-row {
    grid-template-columns: 1fr 1fr;
}

/* Event Sessions Section */
.lwd-event-sessions-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.lwd-sessions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.lwd-sessions-header label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.lwd-btn-add-session {
    background: #c2a0e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 30px !important;
    height: 30px !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.lwd-btn-add-session:hover {
    background: #b388d9 !important;
    transform: scale(1.1);
}

.lwd-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lwd-no-sessions {
    color: #999;
    font-style: italic;
    font-size: 13px;
    margin: 0;
    text-align: center;
    padding: 15px 0;
}

.lwd-session-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.lwd-session-item:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.lwd-session-dates {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.lwd-session-date {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.lwd-session-location {
    display: flex;
    gap: 8px;
}

.lwd-location-toggle {
    padding: 4px 14px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #666 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.lwd-location-toggle.active {
    background: #fff59d !important;
    border-color: #f9a825 !important;
    color: #333 !important;
    font-weight: 600 !important;
}

.lwd-location-toggle:hover {
    border-color: #bbb !important;
    transform: translateY(-1px);
}

.lwd-location-toggle.disabled,
.lwd-location-toggle:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important;
}

.lwd-location-toggle.disabled:hover,
.lwd-location-toggle:disabled:hover {
    transform: none !important;
    border-color: #ddd !important;
}

.lwd-session-item.session-locked .lwd-location-toggle {
    opacity: 0.5;
    cursor: not-allowed;
}

.lwd-btn-remove-session {
    background: #fff !important;
    color: #dc2626 !important;
    border: 1px solid #dc2626 !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.lwd-btn-remove-session:hover {
    background: #dc2626 !important;
    color: #fff !important;
}

.lwd-session-locked {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 14px !important;
    opacity: 0.6;
    cursor: not-allowed;
    flex-shrink: 0;
}

/* Session Modal */
.lwd-session-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.lwd-session-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.lwd-session-modal h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
}

.lwd-modal-body {
    margin-bottom: 20px;
}

.lwd-form-group {
    margin-bottom: 15px;
}

.lwd-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    font-family: "Lato", sans-serif;
}

.lwd-form-group input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.lwd-location-checkboxes {
    display: flex;
    gap: 20px;
}

.lwd-location-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    cursor: pointer;
}

.lwd-location-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.lwd-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.lwd-modal-save {
    background: linear-gradient(90deg, #c2a0e8 0%, #73ab89 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.lwd-modal-save:hover {
    opacity: 0.9;
}

.lwd-modal-cancel {
    background: #f0f0f0 !important;
    color: #666 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.lwd-modal-cancel:hover {
    background: #e0e0e0 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .lwd-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .lwd-meta-row,
    .lwd-event-meta-row {
        grid-template-columns: 1fr;
    }
    
    .lwd-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .lwd-card-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .lwd-session-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lwd-session-dates {
        width: 100%;
        min-width: auto;
    }
    
    .lwd-session-location {
        width: 100%;
        justify-content: flex-start;
    }
    
    .lwd-btn-remove-session {
        align-self: flex-end;
        margin-top: -30px;
    }
}

.section-header h2 {
    margin: 0 !important;
    border-bottom: 1px solid #f7f3fa;
    width: fit-content;
    padding-bottom: 10px;
}

.dashboard-heading-btn-grid {
    border-bottom: 1px solid #73ab89 !important;
    padding-bottom: 10px !important;
    margin-bottom: 30px !important;
}

.section-header h3 {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    color: #73ab89;
    background-image: linear-gradient(90deg, #73ab89, #a877de 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
}

.section-add-new-btn {
    background-color: #c2a0e8 !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    text-align: center !important;
    min-width: 45px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: fit-content;
    font-size: 16px !important;
    line-height: 20px !important;
    transition: 0.4s ease-in-out !important;
    font-family: "Lato", sans-serif;
}

.section-add-new-btn:hover,
.section-add-new-btn:focus {
    background-color: #73ab89 !important;
}

.dashboard-section-wrapper {
    border: 0;
    padding: 20px !important;
    border-radius: 16px;
    margin-bottom: 40px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.dashboard-table-wrapper table tr th,
.dashboard-table-wrapper table tr td {
    padding: 10px !important;
    text-align: left;
}

.dashboard-table-wrapper table thead tr th {
    border: 1px solid #dce1cf !important;
    border-right: 0 !important;
    font-weight: 700 !important;
    color: #000000;
    font-size: 16px !important;
}

.dashboard-table-wrapper table tbody tr td {
    border: 1px solid #dce1cf !important;
    padding: 18px 10px !important;
    font-size: 16px;
    color: #000000 !important;
    font-weight: 400 !important;
    border-right: 0 !important;
    border-top: 0 !important;
}

.dashboard-table-wrapper table tbody tr td:last-child,
.dashboard-table-wrapper table thead tr th {
    border-right: 1px solid #dce1cf !important;
}

.dashboard-heading-btn-grid {
    border-bottom: 1px solid #73ab89 !important;
    padding-bottom: 10px !important;
    margin: 0 0 40px 0 !important;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr;
}

.add-new-btn-wrapper {
    display: flex;
    justify-content: end;
}

.action-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.action-btn-main {
    padding: 8px 18px !important;
    font-size: 14px !important;
    line-height: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

.edit-btn {
    background-color: #efe6ff !important;
    color: #8b5cf6 !important;
    border-color: #efe6ff !important;
}

.edit-btn:hover {
    background-color: #e2d4ff !important;
    border-color: #e2d4ff !important;
}

.view-btn {
    background-color: #f0f5e1 !important;
    color: #73ab89 !important;
    border-color: #f0f5e1 !important;
}

.view-btn:hover {
    background-color: #e3ecd0 !important;
    border-color: #e3ecd0 !important;
}

.cancel-btn {
    background-color: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fee2e2 !important;
}

.cancel-btn:hover {
    background-color: #fecaca !important;
    border-color: #fecaca !important;
}

/* Edit Practice Style start */
.duration-wrapper {
    display: flex;
    width: 100%;
}

.lwd-form-container .form-group input,
.lwd-form-container .form-group select,
.lwd-form-container .form-group textarea {
    border: 1px solid #dce1cf;
    padding: 15px 22px;
    border-radius: 12px;
    background-color: #ffffff !important;
    width: 100%;
    font-family: "Lato", sans-serif;
}

div#wp-practice_content-wrap {
    width: 100%;
}

/* 12-01-2026 HDB style end */

div#qt_practice_content_toolbar input {
    color: #000 !important;
    font-size: 15px;
    padding: 0px 10px;
    width: auto !important;
}

button#practice_content-tmce,
#practice_content-html {
    color: #ffffff !important;
    padding: 16px;
    line-height: 0;
    border-radius: 0px;
    background: gray;
}

/* Table Wrapper */
.lwd-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

/* Table Styling */
.lwd-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.lwd-table thead {
    background: #ececec;
    color: black;
    border-bottom: 2px solid #6b7280;
}

.lwd-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid #6b7280;
    font-family: "Lato", sans-serif;
}
table.lwd-table thead th {
    padding: 10px !important;
}

.lwd-table thead th:last-child {
    border-right: 1px solid #6b7280;
}

.lwd-table tbody tr {
    border-bottom: 1px solid #d1d5db;
}

.lwd-table tbody tr:last-child {
    border-bottom: 1px solid #d1d5db;
}

.lwd-table tbody tr:hover {
    background-color: #f9fafb;
}

.lwd-table tbody td {
    padding: 12px 16px;
    border-right: 1px solid #d1d5db;
    vertical-align: middle;
}

.lwd-table tbody td:last-child {
    border-right: 1px solid #d1d5db;
}

.lwd-table tbody td strong {
    font-weight: 600;
    color: #111827;
}

/* Specific column widths */
.lwd-table thead th:nth-child(1),
.lwd-table tbody td:nth-child(1) {
    width: 100px; /* Code column */
}

.lwd-table thead th:nth-child(3),
.lwd-table tbody td:nth-child(3) {
    width: 120px; /* Duration column */
}

.lwd-table thead th:nth-child(4),
.lwd-table tbody td:nth-child(4) {
    width: 140px; /* Energy Exchange column */
}

.lwd-table thead th:nth-child(5),
.lwd-table tbody td:nth-child(5) {
    width: 120px; /* Status column */
    text-align: center;
}

.lwd-table tbody td:nth-child(5) {
    text-align: center; /* Center status badges */
}

.lwd-table thead th:nth-child(6),
.lwd-table tbody td:nth-child(6) {
    width: 255px; /* Actions column */
}
.lwd-dashboard table.lwd-table tbody tr td {
  
    padding: 9px !important;
}
/* Traced (soft-deleted) rows: lower opacity */
.lwd-table tbody tr.traced {
    opacity: 0.7;
}

/* Responsive Table for Mobile */
@media screen and (max-width: 768px) {
    .lwd-table {
        border: 0;
    }

    .lwd-table thead {
        display: none;
    }

    .lwd-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        overflow: hidden;
    }

    .lwd-table tbody td {
        display: block;
        text-align: right;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 16px;
    }

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

    .lwd-table tbody td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
        color: #6b7280;
    }

    .lwd-table-actions {
        flex-direction: column;
        gap: 8px;
    }

    .lwd-table-actions .lwd-btn {
        width: 100%;
    }
}

/* 15-01-2026 HDB style Start */

#add-session,
#add-pricing-row,
.submit-group .primary {
    background: linear-gradient(90deg, #73ab89 0%, #a877de 100%) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 12px 30px !important;
    font-family: "Lato", sans-serif;
}

.lwd-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #73ab89;
    margin-bottom: 30px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.lwd-form-header h2 {
    margin: 0 !important;
}

.lwd-form-header .back-button {
    padding: 14px 20px !important;
    display: inline-block;
    transition: 0.4s ease-in-out !important;
    border-radius: 6px !important;
    font-size: 16px !important;
}

.lwd-form-header .back-button:hover {
    background-color: #73ab89 !important;
    color: #ffffff !important;
}

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

.lwd-submit-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.lwd-submit-buttons .lwd-draft-btn,
button.button.button-secondary.lwd-draft-btn {
    background: #ffcd12;
    color: white;
    border-radius: 25px;
    cursor: pointer;
}

div#wp-event_content-wrap,
.pricing-attribute-wrapper,
.multiple-tiers-wrapper {
    width: 100%;
}

.pricing-attribute-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-image-wrapper #set-featured-image {
    width: 100%;
    padding: 16px 12px;
    background-color: #ffffff;
    border: 1px solid #dce1cf;
    border-radius: 12px;
    max-width: 200px;
    margin: 0 auto;
    font-size: 16px !important;
}

.feature-image-wrapper {
    width: 100%;
}

.remove-row:hover,
.media-modal-close:hover {
    background-color: transparent !important;
}

.media-modal-close {
    color: #000000 !important;
}

.remove-row:hover svg,
button#remove-featured-image:hover svg {
    stroke: #ff0000 !important;
}

table#pricing-rows tr th {
    text-align: left;
    padding-bottom: 0;
}

td.remove-wrapper {
    padding-right: 0;
    text-align: right;
    width: 30px;
    vertical-align: middle;
}

.remove-row {
    padding: 0 !important;
    display: flex;
    justify-content: end;
    align-items: center;
}

.feature-images-main {
    width: 100%;
    border: 1px solid #dce1cf;
    padding: 16px;
    border-radius: 12px;
}

.feature-uploaded-image,
.feature-image-wrapper {
    /* text-align: center; */
    position: relative !important;
}

.feature-uploaded-image img {
    border-radius: 0;
    margin: 0 auto;
    width: 200px !important;
    height: 150px !important;
    object-fit: cover;
    margin-bottom: 10px;
}

button#remove-featured-image {
    position: absolute;
    padding: 0;
    display: inline-flex;
    margin-left: -15px;
    z-index: 1;
    background-color: #ffffff;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    top: -10px;
}

#menu-item-browse,
#menu-item-upload {
    padding: 10px 18px !important;
    transition: 0.3s ease-in-out !important;
    margin-right: 10px !important;
    border: 1px solid #dcdcde !important;
    color: #1d2327 !important;
}

#menu-item-browse:hover,
#menu-item-upload:hover,
#menu-item-browse:focus,
#menu-item-upload:focus {
    background-color: #73ab89 !important;
    color: #ffffff !important;
    box-shadow: unset;
}

#media-frame-title h1 {
    font-size: 20px !important;
}

.media-frame-content {
    top: 120px !important;
}

select#media-attachment-date-filters {
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 699px) {
    .lwd-form-container .form-group {
        flex-direction: column;
        gap: 10px;
    }

    .lwd-form-container .form-group label {
        width: 100%;
    }
}

/* 15-01-2026 HDB style end */

/* Table Action Buttons - Match Design (29-01-2026) */
.lwd-table-actions {
    white-space: nowrap;
    text-align: center;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.lwd-table-actions .lwd-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 70px;
    text-align: center;
    font-family: "Lato", sans-serif;
}
button.lwd-btn.lwd-btn-delete.trace-delete {
    padding: 0px 15px !important;
}
/* Edit Button - Blue */
.lwd-table-actions .lwd-btn-edit {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.lwd-table-actions .lwd-btn-edit:hover {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* View/Register Button - Blue */
.lwd-table-actions .lwd-btn-register,
.lwd-table-actions .lwd-btn-view {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.lwd-table-actions .lwd-btn-register:hover,
.lwd-table-actions .lwd-btn-view:hover {
    background: #2563eb !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Delete/Cancel Button - Red */
.lwd-table-actions .lwd-btn-delete,
.lwd-table-actions .lwd-btn-cancel,
.lwd-btn-cancel {
    background: #c53030 !important;
    color: #ffffff !important;
    border-color: #c53030 !important;
}

.lwd-table-actions .lwd-btn-delete:hover,
.lwd-table-actions .lwd-btn-cancel:hover,
.lwd-btn-cancel:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.3);
}

/* Hide Register button in Lightworker Dashboard Table */
.lwd-dashboard .practices-list .lwd-table .lwd-btn-register {
    display: none !important;
}

/* === TABLE BORDERS - FORCE VISIBLE LINES === */
/* Force table to show all borders */
.lwd-dashboard .practices-list table.lwd-table,
.lwd-dashboard .events-list table.lwd-table,
.lwd-dashboard table.lwd-table {
    border: 1px solid #c0c0c0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

/* Header row - bottom border */
.lwd-dashboard table.lwd-table thead tr {
    border-bottom: 2px solid #6b7280 !important;
}

/* Header cells - right borders */
.lwd-dashboard table.lwd-table thead tr th {
    border-right: 1px solid #c0c0c0 !important;
    border-bottom: 2px solid #6b7280 !important;
}

/* Body rows - bottom borders */
.lwd-dashboard table.lwd-table tbody tr {
    border-bottom: 1px solid #c0c0c0 !important;
}

/* Body cells - right borders */
.lwd-dashboard table.lwd-table tbody tr td {
    border-right: 1px solid #c0c0c0 !important;
    border-bottom: 1px solid #c0c0c0 !important;
}

/* Ensure all borders are visible (no overrides) */
.lwd-dashboard .practices-list .lwd-table tbody td,
.lwd-dashboard .practices-list .lwd-table thead th {
    border-color: #c0c0c0 !important;
   
}

/* Last cells should also have borders */
.lwd-dashboard table.lwd-table thead tr th:last-child,
.lwd-dashboard table.lwd-table tbody tr td:last-child {
    border-right: 1px solid #c0c0c0 !important;
}

/* Last row should have border */
.lwd-dashboard table.lwd-table tbody tr:last-child td {
    border-bottom: 1px solid #c0c0c0 !important;
}

/* === PAGINATION STYLES === */
.lwd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
    font-family: "Lato", sans-serif;
}

.lwd-pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 16px;
    background: linear-gradient(90deg, #73ab89 0%, #a877de 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.lwd-pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 171, 137, 0.3);
}

.lwd-pagination-btn.disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.lwd-pagination-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.lwd-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lwd-pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lwd-pagination-number:hover {
    background: #f3f4f6;
    border-color: #73ab89;
    color: #73ab89;
}

.lwd-pagination-number.active {
    background: linear-gradient(90deg, #73ab89 0%, #a877de 100%);
    color: #ffffff;
    border-color: transparent;
}


/* Responsive Pagination */
@media screen and (max-width: 768px) {
    .lwd-pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .lwd-pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .lwd-pagination-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
}
