.cat-product-wrapper {
    display: flex;
    gap: 40px;
    padding: 20px;
}
.left-sidebar {
    width: 250px;
    position: sticky;
    top: 20px;
}
#product-search {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
}
#cat-links {
    list-style: none;
    padding: 0;
}
#cat-links li a {
    display: block;
    padding: 8px;
    background: #f1f1f1;
    margin-bottom: 5px;
    text-decoration: none;
    color: #000;
}
.right-products {
    flex: 1;
}
.category-section {
    margin-bottom: 60px;
}
.category-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.cat-desc {
    font-size: 14px;
    color: #666;
}
.product-grid {
    display: flex;
    gap: 20px;
}
.product-card {
    width: 30%;
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: center;
}
.product-card h4 {
    font-size: 16px;
    margin: 10px 0;
}
.product-card .price {
    font-weight: bold;
}
.details-btn {
    background: #8B3D3D;
    color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}



.skhidden{
    visibility: hidden;
}


.custom-addon-products {
  margin: 20px 0;
}
.addon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.addon-item {
  border: 1px solid #ddd;
  padding: 10px;
  width: 160px;
  text-align: center;
  display: block;
  background: #f9f9f9;
  border-radius: 5px;
}
.addon-thumb img {
  max-width: 100%;
}
.addon-price {
  color: #444;
  margin-top: 5px;
}


.woocommerce-billing-fields > h3, #order_review_heading {
    display: none;
}


.custom-popup-overlay {
  display: none; /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.custom-popup-overlay.active {
  display: flex; /* Show popup as flex center */
}

.custom-popup {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  position: relative;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 24px;
  color: #333;
}

.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
}
.custom-popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.custom-popup {
    background: #fff;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    border-radius: 5px;
    padding-bottom: 80px; /* Add padding to prevent content from being hidden behind fixed footer */
}
.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* Edit Attendees Popup Styles */
.edit-attendees-popup {
    width: 600px;
    max-width: 90%;
}

.edit-attendees-popup h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196ED;
    color: #2196ED;
    font-size: 20px;
}

.attendee-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.attendee-item h4 {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.attendee-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.field-row {
    display: flex;
    margin-bottom: 15px;
    gap: 15px;
}

.field-row.full-width {
    display: block;
}

.field-row .field-group {
    flex: 1;
    margin-bottom: 0;
}

.field-group {
    margin-bottom: 15px;
}

.field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}

.field-group input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-actions {
    margin-top: 20px;
    text-align: right;
}

.save-attendees-btn {
    background-color: #2ea3f2 !important;
    color: white !important;
    padding: 10px 20px !important;
    border: none !important;
    cursor: pointer !important;
    font-weight: bold !important;
}

.save-status {
    margin-top: 10px;
}


.custom-popup-overlay .custom-popup.edit-attendees-popup .save-status .success {
    color: #fff;
    background: #2196ed;
    padding: 10px !important;
}

.custom-popup-overlay .custom-popup.edit-attendees-popup .save-status .error {
    background-color: red;
    color: #fff;
    padding: 10px !important;
}

.custom-popup-overlay .custom-popup.edit-attendees-popup {
    padding: 20px !important;
    padding-bottom: 0 !important;
}

.custom-popup-overlay .custom-popup.edit-attendees-popup .attendee-fields .field-group input {
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    font-weight: 400;
    font-size: 15px !important;
    line-height: 16px;
    padding: 14px 20px !important;
    min-height: 50px !important;
    height: 50px !important;
    color: #333333;
    width: 100% !important;
    margin: 0 !important;
}

.webinar-date-selection {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.webinar-date-selection label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.webinar-date-selection select.webinar-date-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.add-attendee-section {
    margin: 20px 0;
    text-align: center;
}

.add-attendee-btn {
    background-color: #2ea3f2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.add-attendee-btn:hover {
    background-color: #0c71c3;
}

.remove-attendee-btn {
    background-color: #f44336;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.remove-attendee-btn:hover {
    background-color: #d32f2f;
}

.new-attendee {
    border: 2px dashed #2ea3f2;
    padding: 15px;
    margin-top: 15px;
    border-radius: 4px;
    background-color: #f9f9f9;
    position: relative;
}

.save-status p.notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 4px solid #ffeeba;
    margin: 10px 0;
    font-size: 14px;
}

.popup-footer {
    position: sticky;
    bottom: 0;
    background-color: #fff;
    padding: 15px;
    border-top: 1px solid #eee;
    margin-top: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 100;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.save-attendees-btn {
    background-color: #2ea3f2;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.save-attendees-btn:hover {
    background-color: #0c71c3;
}

.edit-attendees-form .attendee-item {
    position: relative;
}

.woocommerce-error p {
    padding-bottom: 0;
}

.single-product .webinar_attendee_list>.gfield_description.validation_message {
    padding: 12.992px 24px !important;
}

.ld-course-content .ld-course-status {
    padding: 5px 10px;
    max-width: max-content;
    margin-top: 10px;
    font-size: 13px;
    border-radius: 5px;
}

.ld-course-content .ld-course-status.not_started {
    background-color: red;
    color: #fff;
}

.ld-course-content .ld-course-status.completed {
    background-color: green;
    color: #fff;
}

.ld-course-cards .ld-course-card .ld-course-image .ld-status-badge.expired {
    background-color: red;
    backdrop-filter: blur(12px);
}

.sfwd-courses-template-default .ld-course-card .ld-course-image{line-height:0;}
.sfwd-courses-template-default .ld-course-card .ld-course-image .ld-status-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #FFF;
    font-size: 11px;
    line-height: 12px;
    letter-spacing: -0.11px;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 8px 10px;
    align-items: center;
    gap: 5px;
    display: flex;
    background-color: rgba(226, 99, 9, 0.70);
    backdrop-filter: blur(12px);
}

.ld-course-card .ld-course-content .ld-course-actions .learndash-wrapper #btn-join {
    flex: 1;
    text-align: center;
    border-radius: 6px !important;
    background: #7a2c2e !important;
    padding: 17px 10px !important;
    color: #FFF;
    font-size: 15px;
    line-height: 16px;
    font-weight: 400 !important;
    text-transform: capitalize !important;
}

.ld-course-card .ld-course-content p.short-description {
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

body.single .ld-course-card .ld-course-content .ld-course-actions .learndash-wrapper {
    width: 100%;
}

.ld-course-card .ld-course-content .ld-course-actions .learndash-wrapper {
    width: 50%;
}

.ld-course-card .ld-course-content .ld-course-actions .learndash-wrapper .btn-disabled#btn-join {
    background-color: #728188 !important;
}

.ld-course-cards .ld-course-card .ld-course-content {
    padding-bottom: 90px !important;
}

.ld-course-card .ld-course-content .ld-course-actions a {
    display: flex;
    justify-content: center;
    align-items: center;
}