/**
 * CubeWP Listings Dashboard Styles
 *
 * @package cubewp-listings/cube/assets/frontend/css
 * @version 1.0.0
 */

.logged-in .cwp-user-dashboard {
  width: 100% !important;
  max-width: 1920px !important;
}

/* Dashboard Container */
.cwp-lp-coupon-dashboard-container {
  position: relative;
}

/* Dashboard Content */
.cwp-lp-coupon-dashboard-content {
  display: block;
}

.cwp-lp-coupon-dashboard-content.hidden {
  display: none;
}

/* Submit Form Wrapper */
.cwp-lp-coupon-submit-form-wrapper {
  display: none;
}

.cwp-lp-coupon-submit-form-wrapper.show {
  display: block;
}

/* Submit Form Container */
.cwp-lp-coupon-submit-form-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

/* Back Button */
.cwp-lp-coupon-back-button {
  margin-bottom: 20px;
}

.cwp-lp-coupon-back-button .cwp-back-to-coupons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cwp-lp-coupon-back-button .cwp-back-to-coupons:hover {
  color: #333;
}

.cwp-lp-coupon-back-button .cwp-back-to-coupons svg {
  width: 16px;
  height: 16px;
}

/* Submit Header */
.cwp-lp-coupon-submit-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.cwp-lp-coupon-submit-title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.cwp-lp-coupon-submit-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.cwp-lp-coupon-preview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cwp-lp-coupon-preview-link:hover {
  color: #005177;
}

.cwp-lp-coupon-preview-link svg {
  width: 16px;
  height: 16px;
}

/* Submit Content */
.cwp-lp-coupon-submit-content {
  margin-top: 20px;
}

/* Preview Popup */
.cwp-lp-coupon-preview-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwp-lp-coupon-preview-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.cwp-lp-coupon-preview-popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.cwp-lp-coupon-preview-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  z-index: 2;
}

.cwp-lp-coupon-preview-close:hover {
  background: #f0f0f0;
}

.cwp-lp-coupon-preview-close svg {
  width: 20px;
  height: 20px;
  color: #333;
}

.cwp-lp-coupon-preview-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Empty State Button */
.cwp-empty-state-button-container {
  margin-top: 20px;
}

.cwp-add-coupon-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.cwp-add-coupon-button:hover {
  background: #005177;
  color: #fff;
}

/* Coupons Table Container */
.cwp-lp-coupons-header {
  margin-bottom: 20px;
}

.cwp-lp-coupons-tabs-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Coupons Tabs */
.cwp-lp-coupons-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.cwp-lp-coupons-tabs li {
  margin: 0;
  padding: 0;
}

.cwp-lp-coupons-tabs li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.cwp-lp-coupons-tabs li a:hover {
  color: var(--primary-color);
}

.cwp-lp-coupons-tabs li.cwp-active-tab a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.cwp-tab-count {
  color: #999;
  font-weight: 400;
}

/* Tab Contents */
.cwp-lp-coupons-tab-contents {
  position: relative;
}

.cwp-lp-coupons-tab-contents .cwp-tab-content {
  display: none;
}

.cwp-lp-coupons-tab-contents .cwp-tab-content.cwp-active-tab-content {
  display: block;
}

/* Coupons Table */
.cwp-lp-coupons-table-wrapper {
  overflow-x: auto;
}

.cwp-lp-coupons-table {
  width: 100%;
  border-collapse: collapse;
}

.cwp-lp-coupons-table thead {
  background: #f5f5f5;
}

.cwp-lp-coupons-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}

.cwp-lp-coupons-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.cwp-lp-coupons-table tbody tr:hover {
  background: #f9f9f9;
}

.cwp-coupon-code-text {
  font-family: monospace;
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.cwp-coupon-status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cwp-status-active {
  background: #d4edda;
  color: #155724;
}

.cwp-status-expired {
  background: #f8d7da;
  color: #721c24;
}

.cwp-coupon-stats {
  font-size: 14px;
}

.cwp-stat-item {
  display: flex;
  gap: 5px;
}

.cwp-stat-label {
  color: #666;
}

.cwp-stat-value {
  font-weight: 600;
  color: #333;
}

/* Actions Dropdown */
.cwp-coupon-actions {
  position: relative;
}

.cwp-coupon-actions-dropdown {
  position: relative;
}

.cwp-coupon-actions-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  transition: color 0.3s ease;
}

.cwp-coupon-actions-toggle:hover {
  color: #333;
}

.cwp-coupon-actions-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 100;
  display: none;
  margin-top: 5px;
}

.cwp-coupon-actions-menu li {
  list-style: none;
  margin: 0;
}

.cwp-coupon-actions-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.cwp-coupon-actions-menu a:hover {
  background: #f5f5f5;
}

.cwp-coupon-actions-menu a svg {
  width: 16px;
  height: 16px;
}

.cwp-coupon-edit {
  color: var(--primary-color);
}

.cwp-coupon-delete {
  color: #dc3545;
}

/* Edit Form Row */
.cwp-coupon-edit-form-row {
  background: #f9f9f9;
}

.cwp-coupon-edit-form-cell {
  padding: 0 !important;
  border-top: 2px solid #e0e0e0;
}

.cwp-coupon-edit-form-container {
  position: relative;
}

.cwp-lp-coupon-edit-form-inner {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  max-width: 675px;
  display: block;
  margin: auto;
  position: relative;
}

.cwp-lp-coupon-edit-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.cwp-lp-coupon-edit-close .cwp-close-edit-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.cwp-lp-coupon-edit-close .cwp-close-edit-form:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

.cwp-lp-coupon-edit-close .cwp-close-edit-form svg {
  width: 16px;
  height: 16px;
  color: #666;
}

.cwp-loading,
.cwp-error {
  padding: 20px;
  text-align: center;
}

.cwp-error {
  color: #dc3545;
}

.cwp-no-coupons {
  text-align: center;
  padding: 40px;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .cwp-lp-coupon-submit-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .cwp-lp-coupon-preview-popup-content {
    max-width: 95%;
    padding: 15px;
  }

  .cwp-lp-coupons-tabs {
    flex-wrap: wrap;
  }

  .cwp-lp-coupons-table {
    font-size: 14px;
  }

  .cwp-lp-coupons-table th,
  .cwp-lp-coupons-table td {
    padding: 8px;
  }
}

/* Toggle Switch for Announcement Status */
.cwp-announcement-toggle-status {
  text-align: center;
}

.cwp-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cwp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cwp-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.cwp-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

.cwp-switch input:checked+.cwp-slider {
  background-color: #28a745;
}

.cwp-switch input:checked+.cwp-slider:before {
  transform: translateX(26px);
}

.cwp-switch input:disabled+.cwp-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cwp-switch input:focus+.cwp-slider {
  box-shadow: 0 0 1px #28a745;
}

/* Status Badge Styles for Publish/Pending */
.cwp-status-publish {
  background: #d4edda;
  color: #155724;
}

.cwp-status-pending {
  background: #fff3cd;
  color: #856404;
}

/* Menu Form Wrapper with Main Area and Sidebar */
.cwp-lp-menu-form-wrapper {
  display: flex;
  gap: 0;
  background-color: #fafbfb;
  border: 1px solid #e9ebf2;
  margin-top: 20px;
  height: 77vh;
  overflow: auto;
}

.alert-field+span.select2,
.alert-field {
  border: 1px solid rgb(201, 4, 4) !important;
}

.cwp-lp-menu-form-sidebar .cwp-lp-menu-sidebar-tabs li {
  width: 50%;
  text-align: center;
}

.cwp-lp-menuss-tab-contents .cwp-tab-content {
  display: none;
}

.cwp-lp-menuss-tab-contents .cwp-active-tab-content {
  display: block;
}

.cwp-lp-menu-form-main {
  flex: 1;
  min-width: 0;
}

.cwp-lp-menu-form-sidebar h2 {
  margin: 0;
  color: #8697a8;
  font-size: 12px;
  background: #eef2f4;
  color: #8697a8;
  padding: 4px 20px;
  text-transform: uppercase;
  line-height: 24px !important;
  font-weight: 400;
}

/* Sidebar Tabs */
.cwp-lp-menu-sidebar-tabs {
  width: 100%;
  background-color: #fff;
}

.cwp-lp-menu-sidebar-tab-nav {
  display: flex;
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

.cwp-lp-menu-tab-nav-item {
  margin: 0;
  padding: 0;
}

.cwp-lp-menu-tab-nav-item.cwp-active-tab a {
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 1px solid var(--primary-color);
  z-index: 99;
}

.cwp-lp-menu-tab-nav-item a {
  display: inline-block;
  font-weight: bold;
  font-size: 12px;
  width: 91%;
  text-align: center;
  position: relative;
  cursor: pointer;
  color: var(--primary-color);
  padding: 12px 6px;
  margin-bottom: -2px;
}


.cwp-lp-menu-tab-nav-item.cwp-active-tab a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  font-weight: 600;
}

.cwp-lp-menu-sidebar-tab-contents {
  padding: 20px;
  border: 1px solid #e9ebf2;
  border-top: 0;
}

.cwp-lp-menu-tab-content {
  display: none;
}

.cwp-lp-menu-tab-content.cwp-active-tab-content {
  display: block;
}

/* Add Form */
.cwp-lp-menu-add-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.cwp-lp-menu-type-input,
.cwp-lp-menu-group-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #e3e3e3;
  height: 36px;
  border-radius: 4px;
  width: 186px;
  margin-right: 10px;
  padding: 0 10px;
}

.cwp-lp-menu-type-inpu::placeholder,
.cwp-lp-menu-group-input::placeholder {
  color: #999;
  font-weight: 400;
}

.cwp-lp-menu-add-button {
  padding: 8px 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.cwp-lp-menu-add-button:hover {
  background: var(--primary-color);
}

.cwp-lp-menu-add-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Items List */
.cwp-lp-menu-items-list {
  max-height: 400px;
  overflow-y: auto;
}

.cwp-lp-menu-item {
  margin-bottom: 10px;
  color: #3a3a3a;
  text-transform: uppercase;
  display: flex;
  font-size: 14px;
}


.cwp-lp-menu-item-name {
  flex: 1;
  color: #3a3a3a;
  text-transform: uppercase;
  font-size: 14px;
}

.cwp-lp-menu-delete-item {
  padding: 4px;
  background: transparent;
  border: none;
  color: #dc3545;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.cwp-lp-menu-delete-item:hover {
  background: #dc3545;
  color: #fff;
}

.cwp-lp-menu-delete-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cwp-lp-menu-empty-message {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 20px;
  margin: 0;
}

/* Services Management Styles */
.cwp-lp-services-management {
  padding: 20px;
  background-color: #fafbfb;
}

.cwp-lp-services-header {
  background: #f5f5f5;
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.cwp-lp-services-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.cwp-lp-services-add-form {
  padding: 0 18px;
}

.cwp-lp-services-form-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.cwp-lp-services-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cwp-lp-services-form-field label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.cwp-lp-services-image-field {
  flex: 0 0 200px;
}

.cwp-lp-services-image-upload {
  position: relative;
}



.cwp-lp-services-upload-image-btn {
  border: 0 !important;
  padding: 0;
  font-size: 14px;
  color: #3a3a3a;
  font-weight: 400;
  display: flex;
  background: unset;
  align-items: center;
  gap: 10px;
  box-shadow: none;
  color: #035ea1;
  height: 42px;
  width: 100%;
  justify-content: start;
  text-align: left;
}

.cwp-lp-services-image-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 0;
  border-radius: 4px;
}

.cwp-lp-services-selected-image-name {
  flex: 1;
  font-size: 14px;
  color: #333;
  word-break: break-word;
}

.cwp-lp-services-remove-image {
  border: none;
  border-radius: 50%;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  flex-shrink: 0;
  font-size: 12px;
  color: #e30b0b;
  background: unset;
  flex-shrink: 0;
}


.cwp-lp-services-name-input,
.cwp-lp-services-url-input {
  width: 100%;
  padding: 10px;
  line-height: 24px;
  -webkit-appearance: textfield;
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding: 0 12px !important;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dce0e2;
  border-radius: 4px;
  box-shadow: none;
}

.cwp-lp-services-name-input::placeholder,
.cwp-lp-services-url-input::placeholder {
  color: #999;
  font-weight: 400;
}

.cwp-lp-services-add-btn-field {
  flex: 0 0 50px;
}



.cwp-lp-services-add-button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.cwp-lp-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}


.cwp-lp-service-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 0 16px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
  justify-content: space-between;
}



.cwp-lp-service-logo {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e087;
  border-radius: 6px;
  overflow: hidden;
  background: #f9f9f9;
}

.cwp-lp-service-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cwp-lp-service-no-image {
  color: #999;
  font-size: 8px;
  text-align: center;
  padding: 0;
  line-height: 10px;
}

.cwp-lp-service-info {
  flex: 1;
  min-width: 0;
}

.cwp-lp-service-name {
  margin-top: 0;
  color: #035ea1;
  margin-bottom: 0;
  display: inline-block;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 600;
  text-decoration: none;
}

.cwp-lp-service-url {
  font-size: 14px;
  color: #666;
}

.cwp-lp-service-url a {
  color: var(--primary-color);
  text-decoration: none;
  word-break: break-all;
}

.cwp-lp-service-url a:hover {
  text-decoration: underline;
}

.cwp-lp-service-actions {
  flex: 0 0 auto;
}

.cwp-lp-service-delete {
  padding: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 12px;
  color: #aeb6be;
  line-height: 20px;
}

.cwp-lp-service-delete:hover {
  color: #dc3545;
}

.cwp-lp-service-delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cwp-lp-services-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.cwp-lp-services-empty p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.cwp-lp-services-upload-progress {
  margin-top: 10px;
  padding: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

/* Menu Images Management Styles */
.cwp-lp-menu-images-management {
  padding: 20px;
  background-color: #fafbfb;
}

.cwp-lp-menu-images-header {
  margin: 0;
  padding: 7px 15px;
  padding-left: 35px;
  cursor: auto;
  background: #eef2f4;
}

.cwp-lp-menu-images-title {
  color: #8697a8;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.lp-cubewp-upload-wrapper {
  background: #fff;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 20px;
  margin-bottom: 20px;
}

.cwp-lp-menu-images-add-form {
  padding: 0 18px;
}

.cwp-lp-menu-images-form-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.cwp-lp-menu-images-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cwp-lp-menu-images-form-field label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.cwp-lp-menu-images-listing-select {
  width: 100%;
  padding: 10px;
  line-height: 24px;
  -webkit-appearance: textfield;
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding: 0 12px !important;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dce0e2;
  border-radius: 4px;
  box-shadow: none;
}

.cwp-lp-menu-images-listing-select:focus {
  outline: none;
}

.cwp-lp-menu-images-image-field {
  flex: 0 0 250px;
}

.cwp-lp-menu-images-image-upload {
  position: relative;
}

.cwp-lp-menu-images-upload-image-btn {
  border: 0 !important;
  padding: 0;
  font-size: 14px;
  color: #3a3a3a;
  font-weight: 400;
  display: flex;
  background: unset;
  align-items: center;
  gap: 10px;
  box-shadow: none;
  color: #035ea1;
  height: 42px;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.cwp-lp-menu-images-image-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0px;
  padding: 8px 12px;
  background: #fff0;
  border: 1px solid #fff0;
  border-radius: 4px;
  margin-bottom: 2px;
}

.cwp-lp-menu-images-selected-image-name {
  flex: 1;
  font-size: 14px;
  color: #333;
  word-break: break-word;
}

.cwp-lp-menu-images-remove-image {
  border: none;
  border-radius: 50%;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
  flex-shrink: 0;
  font-size: 12px;
  color: #e30b0b;
  background: unset;
}


.cwp-lp-menu-images-add-btn-field {
  flex: 0 0 50px;
}

.cwp-lp-services-add-button,
.cwp-lp-menu-images-add-button {
  font-size: 22px;
  color: var(--primary-color);
  cursor: pointer;
  margin-top: 10px;
  border: unset;
  background: unset;
}



.cwp-lp-services-add-button.disabled,
.cwp-lp-menu-images-add-button:disabled {
  cursor: not-allowed;
}

.cwp-lp-menu-images-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cwp-lp-menu-image-item {
  margin-bottom: 15px;
}

.cwp-lp-service-item:last-child,
.cwp-lp-menu-image-item:last-child {
  margin-bottom: 30px;
}

.cwp-lp-menu-image-listing a {
  margin-top: 10px;
  color: #035ea1;
  margin-bottom: 0;
  display: inline-block;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 600;
  text-decoration: none;
}

.cwp-lp-menu-image-listing a:hover {
  text-decoration: underline;
}

.cwp-lp-menu-image-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 16px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.3s ease;
  justify-content: space-between;
}



.cwp-lp-menu-image-listing {
  flex: 0 0 200px;
  font-size: 14px;
  color: #333;
}

.cwp-lp-menu-image-preview {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  background: #f9f9f9;
}

.cwp-lp-menu-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cwp-lp-menu-image-no-image {
  color: #999;
  font-size: 12px;
  text-align: center;
  padding: 10px;
}

.cwp-lp-menu-image-info {
  flex: 1;
  min-width: 0;
}

.cwp-lp-menu-image-name {
  font-size: 14px;
  color: #666;
  word-break: break-word;
}

.cwp-lp-menu-image-actions {
  flex: 0 0 auto;
}

.cwp-lp-menu-image-delete {
  padding: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 12px;
  color: #aeb6be;
  line-height: 20px;
}

.cwp-lp-menu-image-delete:hover {
  color: #dc3545;
}

.cwp-lp-menu-image-delete:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cwp-lp-menu-images-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.cwp-lp-menu-images-empty p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

/* ----------- Menus Repeater Styles ----------- */
.cwp-menu-type-content .cwp-menu-items-list {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  padding-bottom: 20px;
  margin-top: 10px;
}

.cwp-menu-type-content .cwp-menu-items-list li {
  list-style: none;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.cwp-menu-type-content .cwp-menu-items-list li.active {
  color: var(--primary-color);
}

.cwp-lp-menus-submit-content [data-name="the_title"] {
  display: none;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .cwp-repeating-single-field-actions {
  box-shadow: none !important;
  border: 1px solid #dedede;
  background-color: #eef2f4;
  padding: 10px 20px;
  border-radius: 5px;
  height: auto;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .cwp-repeating-single-field-actions h2 {
  color: #8a8a8a;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .cwp-repeating-single-field-actions p {
  color: #333;
  font-size: 12px;
  text-transform: uppercase;
  display: inline-block;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .cubewp-menus-groups-list {
  border: 1px solid #dedede !important;
  box-shadow: none;
  margin-top: 22px;
  margin-bottom: 14px;
  background-color: #fff;
  padding: 15px !important;
  border-radius: 5px;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .cubewp-menus-groups-list span.select2-selection.select2-selection--multiple {
  background-color: unset;
  border: unset !important;
  border-radius: 4px;
  cursor: text;
  border-color: unset !important;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #999;
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  margin-right: 2px;
  font-size: 12px;
  border: unset;
  background: unset;
  width: 14px;
  padding: 0;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  background-color: #f9f9f9 !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 3px;
  cursor: default;
  color: #7f7f7f !important;
  padding: 3px 5px !important;
  float: left;
  margin: 0 !important;
  margin-right: 5px !important;
  position: relative;
  font-size: 12px;
  top: 8px;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  height: auto !important;
  overflow: initial;
}


.select2-container {  
  cursor: text; 
  resize: unset; 
  width: auto;
}


.cubewp-elementor-submit-form .cubewp-elementor-form-field .cubewp-menus-groups-list label {
  color: #7c758d;
  font-weight: 400;
  margin-bottom: 7px;
  text-transform: capitalize !important;
  font-size: 14px !important;
}



.cwp-repeating-field-container.cwp-menu-repeater-container .cwp-add-new-repeating-field {
  display: block;
  margin: 5px auto;
  max-width: 50%;
  margin-bottom: 35px;
  border: 1px solid #DFBA69;
  color: #DFBA69;
  background: transparent;
  box-shadow: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  padding: 14px 25px;
  width: 100%;
  border-radius: 5px;
  margin-top: 30px;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .cwp-add-new-repeating-field:hover {
  color: #fff;
  background-color: #DFBA69;
}

.cwp-repeating-single-field-contents {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  overflow: hidden;
  -webkit-box-shadow: 0 0 9px -5px rgba(0, 0, 0, .75);
  -moz-box-shadow: 0 0 9px -5px rgba(0, 0, 0, .75);
  box-shadow: 0 0 9px -5px rgba(0, 0, 0, .75);
  border: 1px solid #fafbfb;
  border: 1px solid #dedede;
  box-shadow: none;
}

.cwp-field-container.form-group[data-name="group"],
.cwp-field-container.form-group[data-name="type"] {
  display: none !important;
}



[data-name="menu_button_name"],
[data-name="menu_button_url"] {
  display: none;
}

.cwp-lp-menuss-table-wrapper .cwp-lp-menu-images-list {
  background-color: #fff;
  padding: 5px 0;
}

.cwp-lp-coupon-submit-form-container.cwp-lp-menus-submit-form-container {
  background: #fafbfb;
  padding: 0;
}

.cwp-lp-menu-form-main-inner {
  width: calc(100% - 314px);
  padding: 15px;
}

.cwp-lp-menu-form-sidebar {
  width: 314px;
}

.cwp-lp-menu-form-main-inner {
  width: calc(100% - 314px);
  padding: 15px;
}

.cwp-lp-menu-form-main-inner .cwp-back-to-coupons {
  font-size: 14px;
  color: #9b9b9b;
  margin-bottom: 0;
  display: inline-block;
  font-weight: 400 !important;
}


.cwp-lp-menus-submit-title-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px !important;
}

.cwp-lp-menus-submit-title-section .cwp-lp-menus-submit-title {
  font-weight: 700;
  color: #333;
  font-size: 17px;
}

.cwp-lp-menus-submit-title-section .cwp-lp-menus-preview-link {
  font-size: 14px;
  color: #9b9b9b;
  display: inline-block;
  font-weight: 400 !important;
}

.cwp-lp-menu-form-main-inner .cwp-field-container[data-name="select_lisitng"] {
  border: 1px solid #dedede;
  box-shadow: none;
  margin-bottom: 14px;
  background-color: #fff;
  border: 1px solid #dedede;
  padding: 15px !important;
  border-radius: 5px;
}

.cwp-lp-menu-form-main-inner .cwp-field-container[data-name="select_lisitng"] label {
  margin: 0 !important;
  text-transform: capitalize !important;
  color: #000000 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 10px !important;
}

.cwp-lp-menu-form-main-inner .cwp-field-container[data-name="select_lisitng"] select {
  display: block;
  width: 100%;
  height: 46px;
  line-height: 46px;
  padding: 0 12px !important;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #dce0e2;
  border-radius: 4px;
  box-shadow: none;
}

.cwp-repeating-single-field-contents {
  background-color: #fff;
  border: 1px solid #dedede;
  box-shadow: none;
  border-radius: 5px;
  padding: 20px;
  margin-top: 24px;
}

.cwp-lp-coupon-submit-form-wrapper.cwp-lp-menus-submit-form-wrapper {
  height: 100vh;
  overflow: auto;
}

/* ============================================
Events Dashboard Styles
============================================ */

/* Events Dashboard Container */
.cwp-lp-events-dashboard-container {
  position: relative;
}

/* Events Dashboard Content */
.cwp-lp-events-dashboard-content {
  display: block;
}

.cwp-lp-events-dashboard-content.hidden {
  display: none;
}

/* Events Submit Form Wrapper */
.cwp-lp-events-submit-form-wrapper {
  display: none;
}

.cwp-lp-events-submit-form-wrapper.show {
  display: block;
}

/* Events Submit Form Container */
.cwp-lp-event-submit-form-container {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
}

/* Events Back Button */
.cwp-lp-event-back-button {
  margin-bottom: 20px;
}

.cwp-lp-event-back-button .cwp-back-to-events {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cwp-lp-event-back-button .cwp-back-to-events:hover {
  color: #333;
}

.cwp-lp-event-back-button .cwp-back-to-events svg {
  width: 16px;
  height: 16px;
}

/* Events Submit Header */
.cwp-lp-event-submit-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.cwp-lp-event-submit-title-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.cwp-lp-event-submit-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

/* Events Submit Content */
.cwp-lp-event-submit-content {
  margin-top: 20px;
}

/* Events Table Container */

.cwp-lp-events-header {
  margin-bottom: 20px;
}

.cwp-lp-events-tabs-container .cwp-lp-events-tabs-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

/* Events Tabs */
.cwp-lp-events-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.cwp-lp-events-tabs li {
  margin: 0;
  padding: 0;
}

.cwp-lp-events-tabs li a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.cwp-lp-events-tabs li a:hover {
  color: var(--primary-color);
}

.cwp-lp-events-tabs li.cwp-active-tab a {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Tab Contents */
.cwp-lp-events-tab-contents {
  position: relative;
}

.cwp-lp-events-tab-contents .cwp-tab-content {
  display: none;
}

.cwp-lp-events-tab-contents .cwp-tab-content.cwp-active-tab-content {
  display: block;
}

/* Events Table */
.cwp-lp-events-table-wrapper {
  overflow-x: auto;
}

.cwp-lp-events-table {
  width: 100%;
  border-collapse: collapse;
}

.cwp-lp-events-table thead {
  background: #f5f5f5;
}

.cwp-lp-events-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}

.cwp-lp-events-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.cwp-lp-events-table tbody tr:hover {
  background: #f9f9f9;
}

.cwp-event-title strong {
  display: block;
  margin-bottom: 8px;
}

.cwp-event-actions-inline {
  margin-top: 8px;
}

.cwp-view-attendees {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

.cwp-view-attendees:hover {
  text-decoration: underline;
}

.cwp-event-status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.cwp-event-status-badge.cwp-status-upcoming {
  background: #fff3cd;
  color: #856404;
}

.cwp-event-status-badge.cwp-status-active {
  background: #d4edda;
  color: #155724;
}

.cwp-event-status-badge.cwp-status-inactive {
  background: #f8d7da;
  color: #721c24;
}

/* Events Actions Dropdown */
.cwp-event-actions {
  position: relative;
}

.cwp-event-actions-dropdown {
  position: relative;
}

.cwp-event-actions-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  transition: color 0.3s ease;
}

.cwp-event-actions-toggle:hover {
  color: #333;
}

.cwp-event-actions-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 100;
  display: none;
  margin-top: 5px;
}

.cwp-event-actions-menu li {
  list-style: none;
  margin: 0;
}

.cwp-event-actions-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.cwp-event-actions-menu a:hover {
  background: #f5f5f5;
}

.cwp-event-actions-menu a svg {
  width: 16px;
  height: 16px;
}

.cwp-event-edit {
  color: var(--primary-color);
}

.cwp-event-delete {
  color: #dc3545;
}

/* Edit Form Row */
.cwp-event-edit-form-row {
  background: #f9f9f9;
}

.cwp-event-edit-form-cell {
  padding: 0 !important;
  border-top: 2px solid #e0e0e0;
}

.cwp-event-edit-form-container {
  position: relative;
}

.cwp-lp-event-edit-form-inner {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  max-width: 675px;
  display: block;
  margin: auto;
  position: relative;
}

.cwp-lp-event-edit-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.cwp-lp-event-edit-close .cwp-close-edit-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.cwp-lp-event-edit-close .cwp-close-edit-form:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

.cwp-lp-event-edit-close .cwp-close-edit-form svg {
  width: 16px;
  height: 16px;
  color: #666;
}

.cwp-no-events {
  text-align: center;
  padding: 40px;
  color: #666;
}

/* Attendees View Styles */
.cwp-lp-events-attendees-wrapper {
  display: none;
}

.cwp-lp-events-attendees-container {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cwp-lp-events-attendees-back {
  margin-bottom: 20px;
}

.cwp-lp-events-attendees-back .cwp-back-to-events {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cwp-lp-events-attendees-back .cwp-back-to-events:hover {
  color: #333;
}

.cwp-lp-events-attendees-back .cwp-back-to-events svg {
  width: 16px;
  height: 16px;
}

.cwp-lp-events-attendees-title {
  margin-bottom: 20px;
}

.cwp-attendees-event-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.cwp-lp-events-attendees-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.cwp-send-message-btn,
.cwp-download-csv-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.cwp-dashboard-button-filled {
  background: var(--primary-color);
  color: #fff;
}

.cwp-dashboard-button-filled:hover {
  background: #005177;
  color: #fff;
}

.cwp-dashboard-button-outlined {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.cwp-dashboard-button-outlined:hover {
  background: var(--primary-color);
  color: #fff;
}

.cwp-lp-events-attendees-table-wrapper {
  overflow-x: auto;
}

.cwp-lp-events-attendees-table {
  width: 100%;
  border-collapse: collapse;
}

.cwp-lp-events-attendees-table thead {
  background: #f5f5f5;
}

.cwp-lp-events-attendees-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
}

.cwp-lp-events-attendees-table th label {
  margin-left: 8px;
  font-weight: 600;
  cursor: pointer;
}

.cwp-lp-events-attendees-table td {
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.cwp-attendee-checkbox,
.cwp-attendee-check-all {
  cursor: pointer;
}

.cwp-no-attendees,
.cwp-loading-message {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}

.cwp-error-message {
  text-align: center;
  padding: 40px 20px;
  color: #dc3545;
}

/* Empty State Button for Events */
.cwp-add-event-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.cwp-add-event-button:hover {
  background: #005177;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .cwp-lp-event-submit-title-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .cwp-lp-events-tabs {
    flex-wrap: wrap;
  }

  .cwp-lp-events-table {
    font-size: 14px;
  }

  .cwp-lp-events-table th,
  .cwp-lp-events-table td {
    padding: 8px;
  }
}

/* Message Modal Styles */
.cwp-lp-events-message-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.cwp-lp-events-message-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.cwp-lp-events-message-modal-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  margin: 5vh auto;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
}

.cwp-lp-events-message-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.cwp-lp-events-message-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.cwp-lp-events-message-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #666;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cwp-lp-events-message-modal-close:hover {
  color: #333;
}

.cwp-lp-events-message-modal-body {
  padding: 20px;
}

.cwp-lp-events-message-selected-attendees {
  margin-bottom: 20px;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 4px;
}

.cwp-lp-events-message-selected-count {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.cwp-lp-events-message-selected-count .cwp-selected-count {
  font-weight: 600;
  color: var(--primary-color);
}

.cwp-lp-events-message-field {
  margin-bottom: 20px;
}

.cwp-lp-events-message-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.cwp-lp-events-message-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
}

.cwp-lp-events-message-field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.cwp-lp-events-message-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.cwp-lp-events-message-modal-submit.cubewp-processing-ajax {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .cwp-lp-events-message-modal-content {
    width: 95%;
    margin: 2vh auto;
    max-height: 96vh;
  }

  .cwp-lp-events-message-modal-header {
    padding: 15px;
  }

  .cwp-lp-events-message-modal-body {
    padding: 15px;
  }

  .cwp-lp-events-message-modal-actions {
    flex-direction: column;
  }

  .cwp-lp-events-message-modal-actions button {
    width: 100%;
  }
}

/* -------- Customizer CSS -------- */
.cwp-user-dashboard-tab-content-container {
  background: #fafbfb !important;
}

/* Coupon Empty */
.cwp-user-dashboard .cwp-user-dashboard-tabs {
  margin-bottom: 0px !important;
}

.cwp-dashboard-posts-container {
  margin-top: 0px !important;
  padding-top: 0px;
}

.cwp-empty-posts {
  background-color: transparent !important;
}

.cwp-empty-posts.cwp-lp-coupon-empty-state,
.cwp-lp-events-empty-state,
.cwp-empty-posts.cwp-packages-empty,
.cwp-empty-posts.cwp-lp-saved-empty-state {
  padding-top: 100px;
}

.cwp-empty-posts h2 {
  margin: 20px 0px 10px !important;
  font-size: 26px !important;
  color: #44566c !important;
  font-weight: 700 !important;
  line-height: 1.1em !important;
}

.cwp-empty-posts p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  color: #8996a6 !important;
  max-width: 365px;
  margin: 0 auto !important;
  margin-bottom: 13px !important;
}

.cwp-empty-state-button-container {
  margin-top: 0px !important;
}

.cwp-empty-state-button-container a {
  color: #fff;
  background: #b3c0ce;
  text-transform: uppercase;
  box-shadow: none;
  border: 0;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 37px;
  border-radius: 5px;
  margin-left: 5px !important;
  padding: 0 25px 0 30px !important;
  height: 37px !important;
  display: inline-block;
}

.cwp-lp-event-ticket-row a {
  color: var(--primary-color);
}

.cwp-empty-state-button-container a:hover {
  color: #fff !important;
  background: #b3c0ce !important;
}

/* Coupon form */
.cwp-lp-coupon-submit-form-wrapper.cwp-lp-menus-submit-form-wrapper {
  height: auto !important;
  overflow: unset !important;
}

.cwp-lp-coupon-submit-form-wrapper,
.cwp-lp-event-submit-form-container {
  max-width: 675px;
  margin: 0 auto !important;
  margin-top: 20px !important;
  padding: 0 !important;
  background: #fafbfb !important;
}

.cwp-lp-coupon-submit-form-container {
  padding: 0px !important;
  background: transparent !important;
}

.cwp-lp-coupon-back-button,
.cwp-lp-menu-form-main-inner .cwp-lp-menus-edit-close .cwp-close-edit-form {
  margin-bottom: 20px !important;
  padding: 0 !important;
  border: none;
  font-size: 14px !important;
  color: #9b9b9b !important;
  display: inline-block;
  font-weight: 400 !important;
  background: unset !important;
  text-decoration: none;
  line-height: 1.43em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cwp-lp-coupon-back-button svg,
.cwp-lp-menu-form-main-inner .cwp-lp-menus-edit-close .cwp-close-edit-form svg {
  color: #818181 !important;
}

.cwp-lp-menu-form-main-inner .cwp-lp-menus-edit-close .cwp-close-edit-form:hover,
.cwp-lp-menu-form-main-inner .cwp-lp-menus-edit-close .cwp-close-edit-form:focus {
  color: #9b9b9b !important;
  background-color: transparent;
}

.cwp-coupon-edit-form-container.cwp-menus-edit-form-container {
  top: -35px !important;
}

.cwp-lp-coupon-submit-header,
.cwp-lp-event-submit-header {
  padding: 0px !important;
  border-width: 0px !important;
  margin-bottom: 30px !important;
}

.cwp-lp-coupon-submit-title-section {
  margin: 0px !important;
  padding: 0px !important;
}

.cwp-lp-coupon-submit-title,
.cwp-lp-event-submit-title {
  color: #333 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.1em;
}

.cwp-lp-coupon-preview-link {
  gap: 4px !important;
  font-size: 14px !important;
  color: #9b9b9b !important;
  font-weight: 400 !important;
  text-decoration: none;
  line-height: 1.1em;
  justify-content: flex-end;
}

/* coupons table */
.cwp-lp-coupons-header,
.cwp-lp-events-header,
.cwp-packages-section-title,
.cwp-lp-orders-title {
  margin: 10px 0 20px !important;
}

.cwp-lp-coupons-title,
.cwp-lp-events-title,
.cwp-packages-section-title,
.cwp-lp-bookings-panel-title,
.cwp-lp-orders-title {
  color: #333 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.1em !important;
}

.cwp-user-dashboard-tab-content {
  padding: 0px 15px 0px 15px !important;
  margin: 0px auto !important;
  margin-top: 30px !important;
  background: #fafbfb !important;
  width: 91.67% !important;
}

.cwp-lp-coupons-tabs-container,
.cwp-lp-events-tabs-container,
.cwp-packages-tabs-nav,
.cwp-lp-orders-tabs-container {
  margin-bottom: 30px !important;
  border-bottom: 1px solid #e9ebf2 !important;
}

.cwp-lp-coupons-tabs,
.cwp-lp-events-tabs {
  border-width: 0px !important;
}

.cwp-lp-coupons-tabs,
.cwp-lp-events-tabs {
  gap: 0px !important;
}

.cwp-lp-coupons-tabs li a,
.cwp-lp-events-tabs li a {
  margin-right: 30px;
  padding: 0px 15px 22px 15px !important;
  margin-bottom: 0px !important;
  border-bottom: 2px solid transparent !important;
  font-size: 12px;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  line-height: 1.43em !important;
  color:#000000b3 !important;
}

.cwp-lp-events-tabs,
.cwp-lp-coupons-tabs li a .cwp-tab-count {
  color: var(--primary-color) !important;
}

.cwp-lp-events-tabs li.cwp-active-tab a,
.cwp-lp-coupons-tabs li.cwp-active-tab a {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color)!important;
}

.cwp-add-coupon-button,
.cwp-add-event-button {
  margin-top: -7px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 37px !important;
  padding: 0 25px 0 25px !important;
}

.cwp-lp-coupons-tab-contents,
.cwp-lp-events-tab-contents,
.cwp-lp-events-attendees-table-wrapper,
.cwp-table-responsive {
  border-radius: 5px !important;
  overflow: hidden !important;
  overflow-x: auto !important;
  border-width: 0px !important;
}

.cwp-lp-coupons-table-wrapper,
.cwp-lp-events-table-wrapper {
  height: auto;
  padding-bottom: 86px;
}

.cwp-lp-coupons-table,
.cwp-lp-events-table {
  margin-bottom: 0px !important;
  border-width: 0px !important;
}

.cwp-lp-events-table thead,
.cwp-lp-coupons-table thead,
.cwp-lp-events-attendees-table thead,
.cwp-dashboard-content-table thead {
  background: #eef2f4 !important;

}

.cwp-lp-coupons-table thead th,
.cwp-lp-events-table th,
.cwp-lp-events-attendees-table thead th,
.cwp-dashboard-content-table thead th {
  border-width: 0px !important;
  padding: 0 15px !important;
  text-align: center !important;
  color: #8697a8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 30px !important;
}

.cwp-lp-events-attendees-table thead th {
  text-align: left !important;
}

.cwp-lp-coupons-table thead th:first-child,
.cwp-lp-events-table th:first-child,
.cwp-lp-events-attendees-table thead th:first-child {
  text-align: left !important;
  padding-left: 30px !important;
}

.cwp-lp-events-attendees-table thead th .cwp-lp-events-attendees-check-all-container {
  display: flex;
  align-items: center;
}

.cwp-lp-events-attendees-table thead th .cwp-attendee-check-all {
  width: 13px !important;
  height: 13px !important;
  margin-right: 4px !important;
}

.cwp-lp-events-attendees-table thead th .cwp-lp-events-attendees-check-all-container label {
  color: #8697a8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 30px !important;
}

.cwp-lp-coupons-table thead th:last-child,
.cwp-lp-events-table th:last-child,
.cwp-lp-events-attendees-table thead th:last-child {
  padding-right: 30px !important;
}

.cwp-lp-coupons-table thead th,
.cwp-lp-events-table th,
.cwp-lp-events-attendees-table thead th {
  width: 16.67% !important;
}

.cwp-lp-coupons-table tbody tr,
.cwp-lp-events-table tbody tr,
.cwp-attendees-table-body tr,
.cwp-lp-bookings-table tbody tr {
  border-top: 1px solid #e9ebf2 !important;
}

.cwp-lp-coupons-table tbody tr:first-child,
.cwp-lp-events-table tbody tr:first-child,
.cwp-attendees-table-body tr:first-child,
.cwp-lp-bookings-table tbody tr:first-child {
  border-top: 0;
}

.cwp-lp-bookings-table tbody td {
  border: none !important;
  border-width: 0 !important;
  border-bottom: 0 !important;
}

/* Booking schedule badges (Happening now / Past) — uses WP timezone for date-range expiry */
.cwp-lp-booking-schedule-badges {
  display: block;
  margin-top: 6px;
}

.cwp-lp-booking-schedule-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cwp-lp-booking-schedule-badge.cwp-lp-booking-live {
  color: #0d5c2e;
  background: #e6f7ec;
}

.cwp-lp-booking-schedule-badge.cwp-lp-booking-past {
  color: #6b5b4b;
  background: #f2ede6;
}

.cwp-lp-booking-detail-schedule {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.45;
}

.cwp-lp-booking-detail-schedule.cwp-lp-booking-live {
  background: #e6f7ec;
  color: #0d3d22;
}

.cwp-lp-booking-detail-schedule.cwp-lp-booking-past {
  background: #f5f0ea;
  color: #4a4038;
}

.cwp-lp-coupons-table tbody tr td,
.cwp-lp-events-table tbody tr td,
.cwp-attendees-table-body tr td {
  width: 16.67% !important;
}

.cwp-lp-events-attendees-table thead th:nth-last-child(1),
.cwp-lp-events-attendees-table thead th:nth-last-child(2),
.cwp-attendees-table-body tr td:nth-last-child(1),
.cwp-attendees-table-body tr td:nth-last-child(2) {
  width: 25% !important;
}

.cwp-lp-coupons-table tbody,
.cwp-lp-events-table tbody,
.cwp-attendees-table-body {
  background: #fff !important;
}

.cwp-lp-coupons-table tbody tr,
.cwp-lp-events-table tbody tr,
.cwp-attendees-table-body tr {
  background: #ffffff !important;
  border-width: 0px;
}

.cwp-lp-coupons-table tbody tr:hover,
.cwp-lp-events-table tbody tr:hover,
.cwp-attendees-table-body tr:hover {
  background: #ffffff !important;
}

.cwp-lp-coupons-table tbody tr td,
.cwp-lp-events-table tbody tr td {
  border-width: 0px !important;
  background: #fff !important;
  padding: 15px 0 !important;
  text-align: center;
}

.cwp-attendees-table-body tr td {
  border-width: 0px !important;
  background: #fff !important;
  padding: 25px 15PX 15px !important;
  text-align: left !important;
}

.cwp-attendees-table-body tr td:first-child {
  padding-left: 30px !important;
}

.cwp-attendees-table-body tr td:first-child input {
  width: 13px;
  height: 13px;
}

.cwp-attendees-table-body tr td:last-child {
  padding-right: 30px !important;
}

.cwp-lp-coupons-table tbody tr td.cwp-coupon-deal,
.cwp-lp-events-table td.cwp-event-title {
  padding: 15px 15px 15px 30px !important;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}

.cwp-lp-coupons-table tbody tr td.cwp-coupon-deal strong,
.cwp-lp-events-table td.cwp-event-title strong {
  margin-top: 8px !important;
  color: #44566c !important;
  font-size: 13px !important;
  line-height: 26px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cwp-lp-coupons-table tbody tr td.cwp-coupon-code {
  padding: 15px 15px !important;
}

.cwp-lp-events-table td.cwp-event-title .cwp-event-actions-inline a .cwp-event-listing {
  font-weight: 400;
  line-height: 1.2em;
  font-size: 13px;
  color: rgb(51, 122, 183) !important;
}

.cwp-lp-events-table td.cwp-event-title .cwp-event-actions-inline a:hover,
.cwp-event-listing {
  color: rgb(35, 82, 124) !important;
  text-decoration: none !important;

}

.cwp-lp-coupons-table tbody tr td.cwp-coupon-actions {
  padding-right: 15px !important;
}

.cwp-lp-coupons-table tbody tr td.cwp-coupon-code .cwp-coupon-code-text {
  color: #44566c !important;
  background-color: rgb(255, 251, 203) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 26px !important;
  text-transform: uppercase !important;
  border: 1px dotted #b8b8b8 !important;
  margin: 0 auto !important;
  border-radius: 25px !important;
  padding: 0px 20px;
  text-align: center;
  width: fit-content !important;
  display: block !important;
}

.cwp-lp-coupons-table tbody tr td.cwp-coupon-discount,
.cwp-lp-coupons-table tbody tr td.cwp-coupon-start-date,
.cwp-lp-coupons-table tbody tr td.cwp-coupon-end-date,
.cwp-event-start-date,
.cwp-event-end-date {
  margin-top: 10px !important;
  line-height: 1.43em !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #44566c !important;
}

.cwp-coupon-status-badge,
.cwp-event-status-badge {
  color: #818181 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-top: 0px !important;
  margin-right: -5px !important;
  line-height: 32px;
  width: fit-content !important;
  background: transparent !important;
  padding: 0px !important;
  padding-left: 20px !important;
  position: relative;
}

.cwp-coupon-status-badge:before,
.cwp-event-status-badge:before {
  content: '';
  position: absolute;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50px;
  top: 50%;
  transform: translateY(-50%);
}

.cwp-coupon-status-badge.cwp-status-upcoming:before,
.cwp-event-status-badge.cwp-status-upcoming:before {
  background-color: #ff8a00 !important;
}

.cwp-coupon-status-badge.cwp-status-active:before,
.cwp-event-status-badge.cwp-status-active:before {
  background-color: #73d500 !important;
}

.cwp-coupon-status-badge.cwp-status-expired:before,
.cwp-event-status-badge.cwp-status-inactive:before {
  background-color: #d70404;
}

.cwp-coupon-actions-toggle,
.cwp-event-actions-toggle {
  rotate: 90deg;
  width: 36px;
  height: 36px;
  position: relative;
  text-align: center;
  line-height: 32px;
  background: #fafbfb !important;
  color: #333 !important;
  border-radius: 100%;
  margin: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.cwp-coupon-actions-toggle:hover,
.cwp-event-actions-toggle:hover {
  background: #fafbfb !important;
  color: #333 !important;
}


/* dashboard action dropdown */
.cwp-coupon-actions-dropdown,
.cwp-event-actions-dropdown {
  width: fit-content !important;
  justify-self: center !important;
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu {
  bottom: auto !important;
  top: 100% !important;
  right: -3px;
  margin-top: 10px !important;
  border: 1px solid #e9ebf2;
  box-shadow: 3px 2px 7px 1px rgba(0, 0, 0, .08);
  border-radius: 3px !important;
  min-width: 100px !important;
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu:before,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 0, 0, 0.4);
  position: absolute;
  top: -10px;
  right: 10px;
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu:after,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  position: absolute;
  top: -10px;
  right: 10px
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu li,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu li {
  padding-top: 10px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #fff;
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu li:last-child,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu li:last-child {
  padding-top: 0px !important;
  padding-bottom: 10px !important;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu li a,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu li a {
  font-size: 12px !important;
  line-height: 24px !important;
  font-weight: 500 !important;
  color: var(--primary-color) !important;
  border-left: solid 2px transparent;
  padding: 1px 20px !important;
  background-color: #fff !important;
  gap: 0px !important;
  align-items: center;
}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu li a:hover,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu li a:hover {
  background-color: #fff !important;
  border-color: #222 !important;

}

.cwp-coupon-actions-dropdown ul.cwp-coupon-actions-menu li a svg,
.cwp-event-actions-dropdown ul.cwp-event-actions-menu li a svg {
  margin-right: 5px;
  width: 12px;
  font-size: 12px;
  line-height: 20px;
}

/* Announcment header */
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table-container {
  position: relative;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table-container .cwp-lp-coupons-header,
.cwp-dashboard-saved-heading {
  padding: 10px 0 30px !important;
  margin: 0 !important;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table-container .cwp-lp-coupons-tabs-container {
  display: block;
  width: fit-content;
  margin: 0 !important;
  position: absolute;
  top: 0;
  right: 15px;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table-container .cwp-lp-coupons-tabs-container a {
  margin: 0 !important;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr th,
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td {
  text-align: left !important;
  vertical-align: top;
}

/* Announcement table width setting */
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr th:first-child,
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td:first-child {
  width: 25% !important;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr th:nth-child(2),
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td:nth-child(2) {
  width: 58.33% !important;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr th:nth-child(3),
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td:nth-child(3) {
  width: 16.66% !important;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr th {
  text-transform: uppercase;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr th:last-child,
.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td:last-child {
  text-align: center !important;
  vertical-align: top !important;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td.cwp-coupon-deal p {
  margin: 10px 0 0 !important;
  color: #44566c;
  line-height: 26px;
  font-size: 13px;
  font-weight: 700;
}

.cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table tr td.cwp-coupon-status p {
  margin: 10px 0 0 !important;
  font-size: 13px;
  line-height: 26px;
  font-weight: 400;
  color: #44566c;
}

.cwp-lp-announcement-dashboard-container .cwp-switch {
  display: inline-block !important;
  width: 40px;
  height: 18px;
  margin-right: 10px;
}

.cwp-lp-announcement-dashboard-container .cwp-slider {
  background-color: #e7edf3;
}

.cwp-lp-announcement-dashboard-container .cwp-slider:before {

  height: 13px;
  width: 13px;
  bottom: 2px;
}

.cwp-lp-announcement-dashboard-container .cwp-switch input:checked+.cwp-slider {
  background-color: var(--primary-color);
}

.cwp-lp-announcement-dashboard-container .cwp-switch input:checked+.cwp-slider:before {
  transform: translateX(20px) !important;
}

.cwp-lp-announcement-dashboard-container .cwp-coupon-actions-dropdown {
  display: inline-block !important;
}

/* Announcement end here */

/* All Menuss */
.cwp-lp-menuss-table-container .cwp-lp-menuss-header h2 {
  display: none;
}


.cwp-lp-menuss-table-container .cwp-lp-coupons-tabs-container {
  margin-top: 35px;
}

/* Menus table */
.cwp-lp-menuss-table-wrapper {
  padding-bottom: 50px;
}

.cwp-lp-menuss-table-wrapper .cwp-lp-menu-images-management {
  padding: 0px !important
}

.cwp-lp-menuss-table-wrapper .cwp-lp-menu-images-header {
  padding: 0 35px !important;
  border-radius: 5px 5px 0 0 !important;
  background: #eef2f4 !important;
}

.cwp-lp-menuss-table-wrapper .cwp-lp-menu-images-header h3 {
  margin: 0px !important;
  color: #8697a8;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
}

.cwp-lp-menuss-table-wrapper .cwp-lp-menu-images-list {
  padding: 15px 0 !important;
  background: #fff !important;
  border-radius: 0 0 5px 5px !important;
  gap: 10px;
}

.cwp-lp-menuss-table-wrapper .cwp-lp-menu-images-list .cwp-no-menuss {
  margin-left: 35px !important;
  color: #7c758d;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.43em;
}

.cwp-lp-menu-image-item {
  padding: 0 30px 0 35px !important;
  margin: 0px !important
}

.cwp-lp-menu-image-item .cwp-lp-menu-image-listing a {
  margin: 0px !important;
}

.cwp-lp-menu-images-management {
  padding: 0px !important;
}

.cwp-lp-menu-images-management .cwp-lp-menu-images-header,
.cwp-lp-services-management .cwp-lp-menu-images-header {
  padding: 0 20px 0 35px !important;
  background: #eef2f4 !important;
  border-radius: 5px 5px 0 0;
}

.cwp-lp-menu-images-management .cwp-lp-menu-images-header .cwp-lp-menu-images-title,
.cwp-lp-services-management .cwp-lp-menu-images-header .cwp-lp-menu-images-title {
  line-height: 32px;
  color: #8697a8 !important;
  font-weight: 700;
  font-size: 12px !important;
  text-transform: uppercase;
  margin-bottom: 0px !important;
}

.lp-cubewp-upload-wrapper {
  padding: 20px 15px !important;
  margin-bottom: 15px !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-image-item {
  padding: 0 20px 20px 20px !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-image-item .cwp-lp-menu-image-listing a {
  margin: 10px 0px !important;
  color: #035ea1;
  font-size: 15px !important;
  text-transform: capitalize;
  font-weight: 600;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-image-delete,
.cwp-lp-services-list .cwp-lp-service-item .cwp-lp-service-delete {
  padding: 0px !important;
  background: #fff0;
  color: #aeb6be !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-image-delete:hover,
.cwp-lp-services-list .cwp-lp-service-item .cwp-lp-service-delete:hover {
  background: #fff0;
  color: #dc3545 !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-add-form {
  padding: 0px !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-row {
  gap: 0 !important;
  padding-right: 15px !important;
  align-items: center;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field {
  padding: 0 20px !important;
  width: calc(100% - 222px) !important;
  margin: 0 !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-image-field {
  width: 151px !important;
  padding: 0 0px !important;
  margin: 5px 10px 0px 20px !important;
  flex: unset;

}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-image-field .cwp-lp-menu-images-upload-image-btn {
  font-family: FontAwesome;
  font-size: 14px;
  font-weight: 500;
  gap: 5px !important;
  line-height: 26px !important;
  color: #035ea1 !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-image-field .cwp-lp-menu-images-upload-image-btn:hover {
  color: #008BFF !important;
  background: transparent !important;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-add-btn-field {
  width: 22px !important;
  padding: 0 0px !important;
  margin: 0px !important;
  flex: unset;

}

.cwp-lp-services-form-row {
  align-items: center;
  justify-content: space-between;
}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-add-btn-field .cwp-lp-menu-images-add-button {
  padding: 0px !important;
  margin: 0px !important;

}

.lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-add-btn-field .cwp-lp-menu-images-add-button:hover {
  background: #fff0;
  color: var(--primary-color);
}

.cwp-lp-services-image-field {
  flex: 0 0 150px !important;
}

.cwp-lp-services-upload-image-btn:hover,
.cwp-lp-services-upload-image-btn:focus {
  color: #008BFF !important;
  background: transparent !important;
}

.cwp-lp-services-form-field .cwp-lp-services-add-btn-field {
  flex: unset;
  width: fit-content;
}

.cwp-lp-services-add-button .cwp-lp-services-add-button {
  margin: 0 !important;
  padding: 0px !important;
  width: fit-content;
}

.cwp-lp-services-add-button:hover {
  color: #008BFF !important;
  background: transparent !important;
}


/* CSS for event head */
.cwp-lp-events-attendees-container {
  background: #fafbfb !important;
  box-shadow: none !important;
  border-radius: 0px;
  padding: 20px 10px !important;
}

.cwp-lp-events-attendees-back .cwp-back-to-events {

  color: #337ab7 !important;
  font-size: 13px !important;

}


.cwp-lp-events-attendees-event-title-container {
  display: flex !important;
  border-bottom: 1px solid rgb(221, 221, 221) !important;
  margin-bottom: 30px !important;
}

.cwp-lp-events-attendees-title {
  align-content: center !important;
  width: 73.5% !important;
  margin-bottom: 0px !important;
}

.cwp-attendees-event-title {
  color: #3e3e3e !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  padding-bottom: 20px !important;
  margin-right: 30px !important;
  padding-top: 0px !important;
}

.cwp-send-message-btn.cwp-dashboard-button-filled,
.cwp-download-csv-btn.cwp-dashboard-button-outlined {
  text-transform: uppercase;
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  line-height: 37px;
  margin-top: -5px;
  padding: 0px 25px;
  border-radius: 4px;
  border: 1px solid #0093ff;
  background-color: #fff;
  color: #0093ff;
  transition: 0.3s ease !important;

}

.cwp-download-csv-btn.cwp-dashboard-button-outlined:hover {
  border-color: transparent;
  background-color: #0093ff;
  color: #fff;
}

.cwp-send-message-btn.cwp-dashboard-button-filled {
  border-color: transparent;
  background-color: #0093ff;
  color: #fff;
}

.cwp-send-message-btn.cwp-dashboard-button-filled:hover {
  border-color: #0093ff;
  background-color: #fff;
  color: #0093ff;
}


.cwp-lp-events-attendees-actions {
  flex-direction: row-reverse;
  align-items: end;
  margin-bottom: 20px;
}

.cwp-lp-events-attendees-search {
  margin-bottom: 16px;
}

.cwp-lp-events-attendees-search .cwp-attendees-search-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #3e3e3e;
  margin-bottom: 8px;
}

.cwp-lp-events-attendees-search .cwp-attendees-search-input {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}

.cwp-lp-events-attendees-search .cwp-attendees-search-input:focus {
  outline: none;
  border-color: #0093ff;
  box-shadow: 0 0 0 1px rgba(0, 147, 255, 0.2);
}

/* Menu Sidebar Content */

.cwp-lp-menu-form-wrapper .cwp-lp-menu-form-sidebar {
  width: 315px !important;
  border-left: 1px solid #e9ebf2;
  position: relative;
}

.cwp-lp-menu-form-wrapper .cwp-lp-menu-form-sidebar:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  min-height: 100vh;
  z-index: 1;
}

.cwp-lp-menu-form-wrapper .cwp-lp-menu-form-sidebar h2 {
  position: relative;
  z-index: 99;
}

.cwp-lp-menu-form-wrapper .cwp-lp-menu-form-sidebar .cwp-lp-menu-sidebar-tabs {
  position: relative;
  z-index: 99;
}

.cwp-lp-menu-sidebar-tab-nav {
  border-bottom: 1px solid #dce0e2 !important;
  padding: 0 20px !important;
  gap: 5px !important;
}

.cwp-lp-menu-sidebar-tab-nav .cwp-lp-menu-tab-nav-item li {
  width: 48% !important;
  justify-content: space-around;
}

.cwp-lp-menu-sidebar-tab-nav .cwp-lp-menu-tab-nav-item a {
  padding: 10px 0px !important;
  margin-bottom: -1px !important;
  width: 100% !important;
}

.cwp-lp-menu-sidebar-tab-contents {
  border: none !important;
  padding: 30px 20px 20px !important;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px !important;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-items-list .cwp-lp-menu-item {
  margin: 0 !important;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-items-list .cwp-lp-menu-item-name {
  color: #3a3a3a !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.42em;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-items-list .cwp-lp-menu-delete-item {
  padding: 0 0 0 8px !important;


}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-items-list .cwp-lp-menu-delete-item i {
  color: #aab5bf !important;
  font-size: 14px;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-items-list .cwp-lp-menu-delete-item:hover {
  color: #aab5bf !important;
  background-color: #fff0;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-add-form {
  margin-bottom: 15px !important;
  gap: 10px;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-add-form .cwp-lp-menu-type-input,
.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-add-form .cwp-lp-menu-group-input {
  border: 1px solid #e3e3e3;
  color: #7f7f7f !important;
  height: 36px;
  border-radius: 4px;
  width: calc(100% - 33px);
  margin-right: 0px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  line-height: 1.43em;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-add-button {
  padding: 0 !important;
  background: transparent;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-add-button i {
  font-size: 21px;
  color: var(--primary-color) !important;
}

.cwp-lp-menu-sidebar-tab-contents .cwp-lp-menu-add-button:hover {
  background: transparent;
  color: var(--primary-color) !important;
}

.cwp-lp-services-management {
  padding: 0 !important;
}

/* packages section */
.cwp-packages-tabs-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.cwp-packages-tabs-nav .cwp-packages-tab-link {
  padding: 0px 15px 22px 15px;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.43em;
  color: var(--primary-color);
  background-color: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.cwp-packages-tabs-nav .cwp-packages-tab-link.active {
  color: var(--primary-color);
  border-bottom: 2px solid #007fd0;
}

.cwp-packages-tabs-nav .cwp-packages-tab-link:hover {
  color: var(--primary-color);
  background-color: transparent;
  border-color: transparent;
}

/* Packages table */
.cwp-table-responsive {
  margin-bottom: 40px;
}

.cwp-packages-table {
  margin: 0 !important;
}

.cwp-dashboard-list-head th {
  border-width: 0px;
  padding: 0 15px;
  text-align: center;
  color: #8697a8;
  background-color: #eef2f4 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
  text-align: left;
}


.cwp-package-row {
  border-bottom: 1px solid #e9ebf2 !important;
}

.cwp-package-row:last-child {
  border: none !important;
}

.cwp-package-row td {
  border-width: 0px;
  padding: 15px 15px;
  text-align: center;
  color: #44566c;
  background: #fff !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 36px;
  text-align: left;
}

.cwp-dashboard-list-head th:first-child,
.cwp-package-row td:first-child {
  padding-left: 30px;
}

.cwp-dashboard-list-head th:last-child,
.cwp-package-row td:last-child {
  padding-right: 30px;
  text-align: center;
}

.cwp-dashboard-list-head th:nth-last-child(2),
.cwp-package-row td:nth-last-child(2) {
  text-align: center;
}

.cwp-packages-table tr:hover th {
  background-color: #eef2f4;
}

.cwp-packages-table tr:hover td {
  background-color: #fff;
}

.cwp-packages-table .cwp-package-status {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 7px;
}

.cwp-packages-table .cwp-package-status .cwp-status-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50px;
  background-color: #73d500;
}

.cwp-packages-table .cwp-package-status .cwp-status-dot.cwp-status-dot-inactive {
  background-color: #d70404;
}



/* Saved Listings tab */
.cwp-dashboard-content-table-container {
  border-radius: 5px !important;
  margin-bottom: 40px;
}

.cwp-dashboard-content-table thead th:first-child,
.cwp-dashboard-content-table tbody td:first-child {
  text-align: left !important;
  padding-left: 30px !important;
}

.cwp-dashboard-content-table thead th:last-child,
.cwp-dashboard-content-table tbody td:last-child {
  text-align: right !important;
  padding-right: 30px !important;
}

.cwp-dashboard-content-table tbody tr:hover td {
  background-color: #fff !important;
}

.cwp-dashboard-content-table tbody td {
  background-color: #fff !important;
  padding: 15px !important;
  vertical-align: middle;
}

.cwp-dashboard-content-table tbody tr {
  border-top: 1px solid #e9ebf2;
}

.cwp-dashboard-content-table tbody tr:first-child {
  border-top: none;
}

.cwp-listings-saved-post {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.cwp-listings-saved-thumb {
  flex-shrink: 0;
  display: block;
}

.cwp-listings-saved-thumb img {
  width: 62px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.cwp-listings-saved-info {
  width: fit-content;
}

.cwp-listings-saved-title,
.cwp-listings-saved-category {
  display: block;
  width: 100%;
  text-transform: capitalize;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  text-decoration: none;
  color: #44566c;
}

.cwp-listings-saved-category {
  font-weight: 400;
  font-size: 12px;
}

.cwp-listings-saved-title:hover,
.cwp-listings-saved-category:hover {
  color: var(--primary-color) !important;
}


.cwp-listings-saved-category {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: flex-start;
  width: 100%;
}

.cwp-listings-category-icon {
  width: 15px !important;
  height: 15px !important;
  object-fit: contain;
  vertical-align: middle;
}

.cwp-dashboard-content-table .cwp-dashboard-posts-action-buttons {
  width: fit-content;
  justify-self: flex-end;
}

.cwp-listings-saved-remove {
  display: flex;
  width: 36px;
  height: 36px;
  flex-wrap: wrap;
  text-align: center;
  align-content: center;
  justify-content: center;
  background: #fafbfb;
  border: none !important;
  border-radius: 100%;
  margin-top: 6px;
  padding: 0 !important;
  padding-bottom: 5px !important;
}

.cwp-listings-saved-remove:hover {
  background: #fafbfb;
  color: #4a5b6d;
}

.cwp-listings-icon-times {
  font-size: 18px;
  line-height: 12px;
  font-weight: 700;
  color: #4a5b6d;
  color: var(--button-text-color);
}

.cwp-listings-icon-times:hover {
  color: var(--button-hover-text-color);
}

/* Orders Dashboard Override */
.cwp-lp-orders-dashboard-container {
  position: relative;
}

.cwp-tabs.cwp-lp-orders-tabs.invoices-tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.cwp-tabs.cwp-lp-orders-tabs.invoices-tabs li a {
  display: inline-block;
  padding: 0px 15px 22px 15px;
  margin: 0px;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.43em;
  color: var(--primary-color);
}

.cwp-tabs.cwp-lp-orders-tabs.invoices-tabs li.cwp-active-tab a {
  color: #007fd0;
  border-bottom: 2px solid #007fd0;
}

.cwp-lp-orders-tab-contents {
  border-radius: 5px !important;
  border-width: 0px !important;
  overflow: hidden;
  margin-bottom: 40px;
}

.cwp-lp-orders-tab-contents .cwp-tab-content {
  display: none;
}

.cwp-lp-orders-tab-contents .cwp-tab-content.cwp-active-tab-content {
  display: block;
}

.cwp-lp-orders-table {
  margin: 0;
}

.cwp-lp-orders-table thead {
  background: #eef2f4 !important;
}

.cwp-lp-orders-table th {
  border-width: 0px !important;
  padding: 0 15px !important;
  text-align: left !important;
  color: #8697a8 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 30px !important;
}


.cwp-lp-orders-table tbody {
  background: #fff !important;
}

.cwp-lp-orders-table tbody tr {
  background: #ffffff !important;
  border-width: 0px !important;
}

.cwp-lp-orders-table tbody tr:hover {
  background: #ffffff !important;
}

.cwp-lp-orders-table>tbody>tr {
  border-top: 1px solid #e9ebf2 !important;
}

.cwp-lp-orders-table tbody>tr:first-child {
  border-top: 0 !important;
}

.cwp-lp-orders-table tr td {
  border-width: 0px !important;
  background: #fff !important;
  padding: 15px 15px !important;
  text-align: left;
  vertical-align: middle;
}

.cwp-lp-orders-table td:first-child,
.cwp-lp-orders-table th:first-child {
  padding-left: 30px !important;
}

.cwp-lp-orders-table td:last-child,
.cwp-lp-orders-table th:last-child {
  padding-right: 30px !important;
}

.cwp-lp-orders-table td.cwp-order-invoice {
  text-transform: capitalize;
  color: #44566c;
  font-size: 13px;
  line-height: 36px;
  font-weight: 600;
}

.cwp-lp-orders-table td.cwp-order-date,
.cwp-lp-orders-table td.lp-invoice-price {
  color: #44566c;
  font-size: 13px;
  line-height: 36px;
  font-weight: 400;
}

.cwp-lp-orders-table .cwp-order-amount.cwp-order-view {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cwp-lp-orders-table td.cwp-order-status .cwp-order-status-badge {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.43em;
  color: #7f7f7f;
}

.cwp-order-status-badge.cwp-status-completed,
.cwp-order-status-badge.cwp-status-processing,
.cwp-order-status-badge.cwp-status-active {
  color: #7f7f7f;
}

.cwp-order-status-badge.cwp-status-pending,
.cwp-order-status-badge.cwp-status-on-hold {
  color: #7f7f7f;
}

.cwp-order-status-badge.cwp-status-refunded,
.cwp-order-status-badge.cwp-status-disputed {
  color: #7f7f7f;
}

.cwp-order-view-btn {
  display: inline-flex;
  text-transform: uppercase;
  font-size: 12px;
  padding: 0 25px;
  border-radius: 5px;
  font-weight: 500;
  line-height: 36px;
  align-items: center;
  gap: 5px;
  border: none;
  color: #44566c;
  background: #eef2f4;
}

.cwp-order-view-btn:hover,
.cwp-order-view-btn:focus {
  color: #fff;
  background: #333;
}

.cwp-order-view-btn svg {
  flex-shrink: 0;
}

.cwp-lp-order-invoice-detail {
  position: relative;
  background: #fff;
  border-radius: 0;
  width: 100%;
  margin: 0 auto;
  box-shadow: 1px 0 8px 0 #dedede;
}

.cwp-order-invoice-detail-close-container {
  background: #fafbfb;
  padding: 15px 15px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.cwp-order-detail-close {
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: -2px;
  color: var(--primary-color);
  height: 25px;
  border-radius: 100%;
  width: 25px;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.cwp-order-detail-close:hover,
.cwp-order-detail-close:focus {
  background: #fff;
  color: var(--primary-color);
}

.cwp-order-detail-close svg {
  width: 13px;
  height: 13px;
  color: var(--primary-color);
}

.cwp-lp-invoice-header {
  text-align: center;
  padding: 15px 30px 40px;
}

.cwp-lp-invoice-header .cwp-lp-invoice-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.cwp-lp-invoice-header .cwp-lp-invoice-row.cwp-lp-invoice-logo-status {
  margin-bottom: 20px;
}

.cwp-lp-invoice-logo img {
  max-height: 60px;
  width: auto;
}

.cwp-lp-invoice-status {
  display: inline-block;
  border: solid 1px #c8f3bf;
  padding: 5px 25px;
  color: #2ab50f;
  font-size: 18px;
  font-weight: bold;
}

.cwp-lp-invoice-status.cwp-status-completed,
.cwp-lp-invoice-status.cwp-status-processing {
  color: #2ab50f;
}

.cwp-lp-invoice-id {
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  color: #333;
}

.cwp-lp-invoice-date {
  color: #8996a6;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
}

.cwp-lp-invoice-parties {
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 30px;
  margin-bottom: 20px;
}

.cwp-lp-invoice-parties p {
  margin-bottom: 0;
}

.cwp-lp-invoice-details {
  padding: 0 30px;
  margin-bottom: 30px;
}

.cwp-lp-invoice-details-heading {
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #e9ebf2;
  color: #8697a8;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.1em;
}

.cwp-lp-invoice-details-table-wrapper {
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ebf2;
}

.cwp-lp-invoice-details-table {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}

.cwp-lp-invoice-details-table .cwp-lp-invoice-left {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.cwp-lp-invoice-details-table .cwp-lp-invoice-label {
  color: #44566c;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
}

.cwp-lp-invoice-details-table .cwp-lp-invoice-value {
  color: #8996a6;
  font-size: 12px;
  font-weight: 400;
  line-height: 26px;
  text-transform: capitalize;
}

.cwp-lp-invoice-actions {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 0px 25px 15px;
}

.cwp-lp-invoice-actions .cwp-dashboard-button-outlined {
  border: none;
  background: none;
  font-size: 15px;
  line-height: 24px;
  padding: 0;
  color: #7f7f7f;
  cursor: pointer;
}


.cwp-lp-orders-empty-state {
  padding: 40px 20px;
  text-align: center;
}

.cwp-no-orders {
  text-align: center;
  padding: 30px;
  color: #666;
}

@media print {

  .cwp-order-detail-close,
  .cwp-order-view-btn,
  .cwp-lp-orders-tabs-container,
  .cwp-user-dashboard-tabs {
    display: none !important;
  }
}

/* Groups Css */
.cwp-lp-groups-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 7px;
  border-bottom: 1px solid #e9ebf2;
  margin: 10px 0 30px;
}

.cwp-lp-groups-header .cwp-lp-groups-title {
  color: #333;
  font-weight: 700;
  font-size: 17px;
  line-height: 20px;
  margin-bottom: 0;
}

.cwp-lp-groups-header .cwp-add-group-button {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
  line-height: 37px;
  padding: 0 25px 0 25px;
  display: inline-block;
  transition: background 0.3s ease;
}

.cwp-lp-groups-table-wrapper {
  border-radius: 5px;
  overflow: hidden;
}

.cwp-lp-groups-table {
  border-width: 0px;
  margin-bottom: 0px;
  margin-bottom: 70px;
}

.cwp-lp-groups-table thead,
.cwp-lp-groups-table thead tr {
  background: #eef2f4;
}

.cwp-lp-groups-table thead th {
  border-width: 0px !important;
  padding: 0 15px;
  text-align: center;
  color: #8697a8;
  font-size: 12px;
  font-weight: 700;
  line-height: 30px;
}

.cwp-lp-groups-table thead th:first-child {
  text-align: left;
  padding-left: 30px;
}

.cwp-lp-groups-table thead th:last-child {
  padding-right: 30px;
}


.cwp-lp-groups-table tbody tr:nth-last-child(2) .cwp-group-name {
  border-bottom-left-radius: 5px;
}

.cwp-lp-groups-table tbody tr:nth-last-child(2) .cwp-group-actions {
  border-bottom-right-radius: 5px;
}


.cwp-lp-groups-table tbody,
.cwp-lp-groups-table tbody tr,
.cwp-lp-groups-table tbody tr td {
  background-color: transparent !important;
  border: 0;
}

.cwp-lp-groups-table tbody tr td {
  background-color: #fff !important;
}

.cwp-lp-groups-table tbody tr {
  border-top: 1px solid #e9ebf2;
}

.cwp-lp-groups-table tbody tr:first-child {
  border-top: 0;
}

.cwp-lp-groups-table tbody td {
  padding: 15px;
  text-align: center;
  vertical-align: middle;
  line-height: 20px;
  font-size: 13px;
  font-weight: 400;
  color: #44566c;
}

.cwp-lp-groups-table tbody td:first-child {
  text-align: left;
  padding-left: 30px;
}

.cwp-lp-groups-table tbody td:last-child {
  padding-right: 30px;
}

.cwp-lp-groups-table .cwp-group-actions-dropdown {
  width: fit-content;
  justify-self: center;
  position: relative;
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-toggle {
  rotate: 90deg;
  width: 36px;
  height: 36px;
  position: relative;
  text-align: center;
  line-height: 32px;
  background: #fafbfb;
  color: #333;
  border-radius: 100%;
  border: none;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;

}
.cwp-group-actions-menu{
  display: none;
}
.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu {
  position: absolute;
  bottom: auto;
  top: 100%;
  right: -3px;
  z-index: 100;
  margin-top: 10px;
  border: 1px solid #e9ebf2;
  box-shadow: 3px 2px 7px 1px rgba(0, 0, 0, .08);
  border-radius: 3px;
  min-width: 100px;
}
.cwp-lp-groups-table .cwp-group-name a{
  color: #333;
  text-decoration: none;
}
.cwp-lp-groups-table .cwp-group-name a:hover{
  color: var(--primary-color);
  text-decoration: none;
}
.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 0, 0, 0.4);
  position: absolute;
  top: -10px;
  right: 10px;
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  position: absolute;
  top: -10px;
  right: 10px
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu li {
  padding-top: 10px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #fff;
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu li:last-child {
  padding-top: 0px;
  padding-bottom: 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu li a {
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  color: #4c4c4c;
  border-left: solid 2px transparent;
  padding: 1px 20px;
  background-color: #fff;
  display: flex;
  gap: 0px;
  align-items: center;
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu li a:hover {
  background-color: #fff;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.cwp-lp-groups-table .cwp-group-actions-dropdown .cwp-group-actions-menu li a svg {
  margin-right: 5px;
  width: 12px;
  font-size: 12px;
  line-height: 20px;
}

/* Group form */
.cwp-lp-group-submit-form-container {
  max-width: 675px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 0;
  background: #fafbfb;
}

.cwp-lp-group-submit-form-container .cwp-lp-group-back-button {
  margin-bottom: 20px;
}

.cwp-lp-group-submit-form-container .cwp-lp-group-back-button .cwp-back-to-groups {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.cwp-lp-group-submit-form-container .cwp-lp-group-back-button .cwp-back-to-groups:hover {
  color: #333;
}

.cwp-lp-group-submit-form-container .cwp-lp-group-back-button .cwp-back-to-groups svg {
  width: 16px;
  height: 16px;
}

.cwp-lp-group-submit-form-container .cwp-lp-group-submit-header {
  margin-bottom: 30px;
}

.cwp-lp-group-submit-form-container .cwp-lp-group-submit-header .cwp-lp-group-submit-title {
  color: #333;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1em;
}

/* Group Editing */
.cwp-group-edit-form-cell {
  padding: 15px 0 !important;
}

.cwp-group-edit-form-cell .cwp-group-edit-form-container {
  position: relative;
}

.cwp-group-edit-form-cell .cwp-lp-group-edit-form-inner {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  max-width: 675px;
  display: block;
  margin: auto;
  position: relative;

}

.cwp-group-edit-form-cell .cwp-lp-group-edit-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}

.cwp-group-edit-form-cell .cwp-lp-group-submit-title {
  color: #333;
  font-weight: 700;
  font-size: 17px;
  line-height: 19px;
  margin-bottom: 20px;
}

.cwp-group-edit-form-cell .cwp-lp-group-edit-close .cwp-close-edit-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.cwp-group-edit-form-cell .cwp-lp-group-edit-close .cwp-close-edit-form:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

.cwp-group-edit-form-cell .cwp-lp-group-edit-close .cwp-close-edit-form svg {
  width: 16px;
  height: 16px;
  color: #666;
}

.cwp-group-edit-form-cell {}

.cwp-group-edit-form-cell {}



/* Responsive table */
@media (max-width: 1300px) {

  .cwp-lp-coupons-table-container,
  .cwp-lp-events-table-container,
  .cwp-user-dashboard-tab-content {
    width: 100% !important;
  }

  .cwp-user-dashboard-tab-content {
    padding: 0 !important;
  }

  .cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table-container .cwp-lp-coupons-tabs-container a,
  .cwp-add-coupon-button,
  .cwp-add-event-button {
    padding: 0 10px !important;
    line-height: 28px !important;
    font-size: 10px !important;
    height: 30px !important;
  }

  .cwp-lp-announcement-dashboard-container .cwp-lp-coupons-table-container {
    padding: 0 !important;
    margin-top: 20px !important;
  }

  .cwp-lp-coupons-table,
  .cwp-lp-events-table,
  .cwp-lp-events-attendees-table,
  .cwp-lp-bookings-table,
  .cwp-lp-groups-table {
    width: 1200px !important;
  }

  .cwp-lp-coupons-table-wrapper::-webkit-scrollbar,
  .cwp-lp-events-table-wrapper::-webkit-scrollbar,
  .cwp-lp-events-table-wrapper::-webkit-scrollbar,
  .cwp-lp-bookings-table-wrapper::-webkit-scrollbar,
  .cwp-lp-groups-table-wrapper::-webkit-scrollbar {
    height: 5px;
  }

  .cwp-lp-coupons-table-wrapper::-webkit-scrollbar-track,
  .cwp-lp-events-table-wrapper::-webkit-scrollbar-track,
  .cwp-lp-events-attendees-table-wrapper::-webkit-scrollbar-track,
  .cwp-lp-bookings-table-wrapper::-webkit-scrollbar-track,
  .cwp-lp-groups-table-wrapper::-webkit-scrollbar-track {
    background: #e9e4e4;
  }

  .cwp-lp-coupons-table-wrapper::-webkit-scrollbar-thumb,
  .cwp-lp-events-table-wrapper::-webkit-scrollbar-thumb,
  .cwp-lp-events-attendees-table-wrapper::-webkit-scrollbar-thumb,
  .cwp-lp-bookings-table-wrapper::-webkit-scrollbar-thumb,
  .cwp-lp-groups-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #e9e4e4;
    border-radius: 10px;
  }

  .cwp-lp-coupons-table-wrapper,
  .cwp-lp-events-table-wrapper,
  .cwp-lp-events-attendees-table-wrapper,
  .cwp-lp-bookings-table-wrapper,
  .cwp-lp-groups-table-wrapper {
    scrollbar-color: #cfcaca #e9e4e4;
    scrollbar-width: thin;
    padding-bottom: 40px;
    overflow-x: auto;
  }

  .cwp-lp-orders-tab-contents {
    overflow: hidden !important;
    overflow-x: auto !important;
  }

  .cwp-lp-orders-tab-contents .cwp-tab-content {
    width: 1100px;
  }

}

@media (max-width: 1000px) {
  .cwp-lp-menu-form-wrapper {
    flex-direction: column;
  }

  .cwp-lp-menu-form-wrapper .cwp-lp-menu-form-main-inner,
  .cwp-lp-menu-form-wrapper .cwp-lp-menu-form-sidebar {
    width: 100% !important;
    padding: 0 !important;
  }

  .cwp-lp-menu-form-wrapper .cwp-lp-menu-form-sidebar {
    margin-top: 30px;
  }

  .cwp-field-container.cwp-field-text.form-group[data-name="item_name"] {
    width: 100% !important;
    padding: 0 !important;
  }

  .cwp-field-container.cwp-field-text.form-group[data-name="reg_price"],
  .cwp-field-container.cwp-field-text.form-group[data-name="sale_price"] {
    width: calc(50% - 7px) !important;
    padding: 0 !important;
  }
}

@media (max-width: 768px) {

  .cwp-tabs.cwp-lp-events-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% - 90px);
  }


  .cwp-tabs.cwp-lp-events-tabs li a {
    width: max-content;
    margin-right: 10px;

  }

  .cwp-lp-bookings-status-tabs-list {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    width: 100%;
    gap: 10px !important;
  }

  .cwp-lp-bookings-status-tabs-list li a {
    width: max-content;

  }

  .cwp-lp-coupons-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    width: calc(100% - 90px);
  }

  .cwp-lp-coupons-tabs li a {
    width: max-content;
    margin-right: 10px;
  }

  .cwp-lp-coupons-tabs li.cwp-active-tab a,
  .cwp-tabs.cwp-lp-events-tabs li.cwp-active-tab a,
  .cwp-lp-bookings-status-tabs-list li.cwp-active-status a {
    color: var(--primary-color)!important;
  }

  .cwp-lp-events-dashboard-container .cwp-add-event-button {
    margin: 0 !important;
  }

  .cwp-lp-events-attendees-event-title-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .cwp-lp-events-attendees-title {
    width: fit-content !important;
  }

  .cwp-send-message-btn.cwp-dashboard-button-filled,
  .cwp-download-csv-btn.cwp-dashboard-button-outlined {
    margin: 0 !important;
    padding: 0 15px !important;
    gap: 10px;
  }

  .cwp-tabs.cwp-lp-orders-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% - 90px);
  }

  .cwp-tabs.cwp-lp-orders-tabs li a {
    width: max-content;
    margin-right: 10px;
  }

  .cwp-tabs.cwp-lp-orders-tabs li.cwp-active-tab a {
    color: var(--primary-color)!important;
  }

  .lp-cubewp-upload-wrapper .cwp-lp-menu-images-form-field.cwp-lp-menu-images-image-field {
    width: 100px !important;
    margin: 0px 10px 0px 0px !important;
  }

  .cwp-lp-services-form-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cwp-lp-services-form-field {
    flex: unset !important;
    width: 100%;
  }

  .cwp-lp-services-upload-image-btn {
    justify-content: center !important;
    text-align: center !important;
  }

  .cwp-lp-services-add-button,
  .cwp-lp-menu-images-add-button {
    margin-top: 0 !important;
  }

  .cwp-lp-coupon-submit-title-section {
    flex-direction: row !important;
    flex-wrap: wrap !important;
  }

  .cwp-lp-coupon-submit-title-section {
    justify-content: flex-end;

  }
}

@media (max-width: 500px) {
  .cwp-lp-events-attendees-actions {
    width: 100%;
  }

  .cwp-send-message-btn.cwp-dashboard-button-filled,
  .cwp-download-csv-btn.cwp-dashboard-button-outlined {
    width: calc(50% - 6px);
  }

  .cwp-field-container.cwp-field-text.form-group[data-name="menu_button_name"],
  .cwp-field-container.cwp-field-text.form-group[data-name="menu_button_url"] {
    width: 100% !important;
  }

  .cwp-field-container.cwp-field-file.form-group.cubewp-have-image-field[data-name="upload_menu_image"] .cwp-file-field {
    height: 140px;
  }

  .cwp-file-field-container .cwp-file-field>span {
    height: 20px;
  }

  .cwp-file-field-container .cwp-file-field>span>svg {
    height: 24px;
    width: 24px;
  }

  .cwp-field-container.cwp-field-file.form-group.cubewp-have-image-field[data-name="upload_menu_image"] .cwp-file-field .cwp-file-field-trigger::before {
    font-size: 16px;
    top: 46px;
  }



  .cwp-repeating-field-container.cwp-menu-repeater-container .cwp-add-new-repeating-field,
  #cubewp-submit-form-3b0f38e5 .cubewp-elementor-form-submit.cwp-from-submit {
    padding: 12px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cwp-repeating-single-field-actions {
    overflow-x: auto;
    width: 100%;
  }

  .menu-item-name,
  .menu-item-name h2,
  .menu-item-name p {
    width: max-content !important;
  }
}

/* Event Tickets tab */
.cwp-lp-event-tickets-container .cwp-lp-event-tickets-empty {
  margin: 20px 0;
  color: #666;
}

.cwp-lp-event-tickets-title {
  color: #333 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 1.1em !important;
  margin: 0 0 30px;
  padding: 20px 0;
  border-bottom: 1px solid #e9ebf2;
}

.cwp-lp-event-tickets-table-wrapper {
  border-radius: 5px !important;
  overflow: hidden !important;
  overflow-x: auto !important;
  border-width: 0px !important;
  padding-bottom: 110px;
}

.cwp-lp-event-tickets-table-container .cwp-dashboard-content-table {
  overflow: unset;
  min-width: 1040px;
}

.cwp-dashboard-content-table tbody td {
  text-align: center;
}

.cwp-dashboard-content-table tbody td:last-child,
.cwp-dashboard-content-table thead th:last-child {
  text-align: center !important;
}

.cwp-lp-event-ticket-action-cell {
  position: relative;
  white-space: nowrap;
}

.cwp-lp-ticket-no-action {
  color: #999;
}

.cwp-lp-ticket-status {
  display: inline-block;
  padding: 0 0 0 20px;
  border-radius: 4px;
  font-size: 0.9em;
  position: relative;
}

.cwp-lp-ticket-status:before {
  content: '';
  position: absolute;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: gray;
}

.cwp-lp-ticket-status.cwp-lp-ticket-status-on-hold:before {
  background-color: #ff8a00;
}

.cwp-lp-ticket-status.cwp-lp-ticket-status-completed:before {
  background-color: #73d500;
}

.cwp-lp-ticket-actions-dropdown {
  width: fit-content !important;
  justify-self: center !important;
  position: relative;
  display: block;
  margin: auto;
}

.cwp-lp-ticket-actions-toggle {
  rotate: 90deg;
  width: 36px;
  height: 36px;
  position: relative;
  text-align: center;
  line-height: 32px;
  background: #fafbfb !important;
  color: #333 !important;
  border-radius: 100%;
  margin: 0px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: none;
  padding: 5px;
  transition: color 0.3s ease;
}

.cwp-lp-ticket-actions-toggle:hover {
  background: #fafbfb !important;
  color: #333 !important;
}

.cwp-lp-ticket-actions-menu {
  display: none;
}

.cwp-lp-ticket-actions-menu.cwp-lp-ticket-actions-menu-open {
  display: block;
  position: absolute;
  bottom: auto;
  top: 100%;
  right: -3px;
  z-index: 100;
  margin-top: 10px;
  border: 1px solid #e9ebf2;
  box-shadow: 3px 2px 7px 1px rgba(0, 0, 0, .08);
  border-radius: 3px;
  min-width: 100px;
  background: #fff;
}

.cwp-lp-ticket-actions-menu.cwp-lp-ticket-actions-menu-open:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 0, 0, 0.4);
  position: absolute;
  top: -10px;
  right: 10px;
}

.cwp-lp-ticket-actions-menu.cwp-lp-ticket-actions-menu-open:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  position: absolute;
  top: -10px;
  right: 10px
}


.cwp-lp-ticket-actions-menu li {
  margin: 0;
  padding-top: 10px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #fff;
}

.cwp-lp-ticket-actions-menu li:last-child {
  padding-top: 0px;
  padding-bottom: 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.cwp-lp-ticket-actions-menu li a {
  font-size: 12px;
  line-height: 24px;
  font-weight: 500;
  color: var(--primary-color);
  border-left: solid 2px transparent;
  padding: 1px 20px;
  background-color: #fff;
  display: flex;
  gap: 0px;
  align-items: center;
  transition: background 0.3s ease;
}

.cwp-lp-ticket-actions-menu li a:hover {
  background-color: #fff;
  border-color: #222;
}

.cwp-lp-ticket-actions-menu li a svg {
  margin-right: 5px;
  width: 12px;
  font-size: 12px;
  line-height: 20px;
}

.cwp-lp-et-spinner {
  margin-left: 6px;
  color: #666;
}

.cwp-lp-ticket-action-required.cwp-dashboard-button-filled:hover,
.cwp-lp-ticket-action-required.cwp-dashboard-button-filled:focus {
  background: #005177;
  color: #fff;
}

/* Event Tickets inline edit form (like coupons) */
.cwp-dashboard-content-table tbody tr.cwp-lp-event-ticket-edit-form-row {
  background: #fafafa;
  border: none !important;
}

.cwp-dashboard-content-table tbody td.cwp-lp-event-ticket-edit-form-cell {
  border: none !important;
  padding: 0 20px 15px !important;
}

.cwp-lp-event-ticket-edit-form-inner {
  border: 1px solid #dedede;
  padding: 20px !important;
  margin: 5px 0 20px 0;
  border-radius: 4px;
}

.cwp-lp-event-ticket-edit-form-head {
  margin-bottom: 10px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 20px;
}

.cwp-lp-event-ticket-edit-form-title {
  color: #333;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.1em;
  margin-bottom: 10px;
}

.cwp-lp-event-ticket-close-edit-form {
  border: none;
  padding: 0px;
  cursor: pointer;
  font-size: 14px;
  background: none;
  color: #9b9b9b;
  line-height: 20px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;

}

.cwp-lp-event-ticket-close-edit-form:hover,
.cwp-lp-event-ticket-close-edit-form:focus {
  background: none;
  color: #9b9b9b;
}


/* First attendee: read-only (no input, cannot be enabled via CSS) */

.cwp-lp-et-attendee-block {
  margin-bottom: 14px;
  background-color: #fff;
  border: 1px solid #dedede;
  padding: 15px;
  border-radius: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: space-between;
}


.cwp-lp-et-attendee-title {
  color: #000;
  line-height: 15px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: capitalize;
  width: 100%;
  text-align: left;
}

.cwp-lp-et-attendee-block .cwp-lp-et-attendee-name,
.cwp-lp-et-attendee-block .cwp-lp-et-attendee-email,
.cwp-lp-et-attendee-block .cwp-lp-et-attendee-readonly {
  width: calc(50% - 15px);
  margin-bottom: 15px;
}

.cwp-lp-et-attendee-block label {
  display: none;
}

.cwp-lp-et-readonly-label {
  display: none;
}

.cwp-lp-et-readonly-value {
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  height: 46px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  color: #818181;
  background-color: transparent;
  border: 1px solid #dedede;
  background-color: #eee;
  padding: 6px 12px;
  border-radius: 5px;
  text-align: left;
  cursor: not-allowed;
}


.cwp-lp-et-input {
  font-size: 13px;
  font-weight: 400;
  height: 46px;
  width: 100%;
  color: #818181;
  background-color: transparent;
  border: 1px solid #dedede !important;
  line-height: 46px;
  padding: 6px 12px !important;
  border-radius: 5px !important;
}

.cwp-lp-event-ticket-edit-form-actions {
  margin-bottom: 14px;
  background-color: #fff;
  border: 1px solid #dedede;
  padding: 15px !important;
  border-radius: 5px;
}

.cwp-lp-event-ticket-edit-form-actions .cwp-lp-event-tickets-save-attendees {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.423em;
  height: 45px;
  padding: 6px 12px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #73d500;
  border: 1px solid #73d500;
  transition: 0.3s ease !important;

}

.cwp-lp-event-ticket-edit-form-actions .cwp-lp-event-tickets-save-attendees:hover {
  background-color: #fff;
  color: #73d500;
}

.cwp-lp-event-tickets-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

.cwp-lp-et-loading,
.cwp-lp-et-error {
  margin: 0;
  padding: 12px 0;
  color: #666;
}

.cwp-lp-et-error {
  color: #c00;
}

.cwp-dashboard-button-outline {
  padding: 8px 16px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.cwp-dashboard-button-outline:hover {
  background: #f5f5f5;
}

.cwp-user-dashboard-tab-content-post-action.cwp-post-action-view {
  margin-left: 10px;
}

.cwp-lp-coupons-table tbody tr .cwp-coupon-listing {
  text-align: left;
}

.cwp-lp-coupons-table tbody tr .cwp-coupon-listing a {
  padding: 0 32px;
  color: #035ea1;
  margin-bottom: 0;
  display: inline-block;
  font-size: 15px;
  text-transform: capitalize;
  font-weight: 600;
  text-decoration: none;
}

.cwp-packages-load-more-wrap,
.cwp-lp-orders-load-more-wrap {
  text-align: center;
  margin-top: 20px;
}

.cwp-packages-load-more-btn,
.cwp-lp-orders-load-more-btn.cwp-dashboard-button-outlined {
  display: inline-flex;
  text-transform: uppercase;
  font-size: 12px;
  padding: 0 25px;
  border-radius: 5px;
  font-weight: 500;
  line-height: 36px;
  align-items: center;
  gap: 5px;
  border: none;
  color: #44566c;
  background: #eef2f4;
}

.cwp-menu-empty-message {
  width: 100%;
  border: 1px solid #e80000;
  padding: 12px 18px;
  background-color: #ffeaea;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
}

.cwp-repeating-field-container.cwp-menu-repeater-container .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  background: unset !important;
  padding: 9px 13px !important;
  max-width: 100% !important;
}

.cwp-repeating-single-field-content .cwp-menu-empty-message {
  margin-top: 20px;
}

.cwp-user-dashboard .cwp-pagination ul li.active a {
  background: var(--primary-color);
}

.cubewp-processing-ajax,
.cubewp-processing-ajax:hover,
.cwp-frontend-form-container [type=submit].cubewp-processing-ajax,
.cwp-frontend-form-container [type=submit].cubewp-processing-ajax:hover {
  border-color: var(--primaery-color) !important;
}


/* listing dashboard  */
body.logged-in .cwp-user-dashboard,
.cwp-user-dashboard {
  max-width: 100% !important;
  width: 100% !important;
  display: flex;
}

body .cwp-user-dashboard .cwp-user-dashboard-tabs {
  flex-direction: column;
  transition: 0.3s;
  padding: 0;
  gap: 2px;
  border-radius: unset;
  width: 240px;
}

.dashboard-hide-navigations {
  cursor: pointer;
}

body .cwp-user-dashboard .cwp-user-dashboard-tab-content-container {
  width: calc(100% - 240px);
  transition: 0.3s;
}

.cwp-user-dashboard .cwp-user-dashboard-tabs li a {
  transition: 0.3s;
}

.cwp-user-dashboard.hide-nav .cwp-user-dashboard-tabs {
  width: 50px;
}

.cwp-user-dashboard.hide-nav .cwp-user-dashboard-tab-content-container {
  width: calc(100% - 50px);
}

.cwp-user-dashboard.hide-nav .cwp-user-dashboard-tabs li a {
  font-size: 0;
  white-space: nowrap !important;
}

.cwp-user-dashboard .cwp-user-dashboard-tabs li.cwp-active-tab a {
  border-radius: 0;
}

.cwp-user-dashboard .cwp-user-dashboard-tabs li a {
  position: relative;
}

.cwp-user-dashboard .cwp-user-dashboard-tabs li a::before {
  content: '';
  width: 3px;
  height: 100%;
  top: 0;
  bottom: 0;
  background-color: #fff0;
  position: absolute;
  left: 0;
}

.cwp-user-dashboard .cwp-user-dashboard-tabs li.cwp-active-tab a::before {
  background-color: var(--primary-color);
}

.dashboard-main-navigation .dashboard-left-navigation {
  margin-left: 0;
  transition: 0.3s;
}

.dashboard-main-navigation.hide-nav .dashboard-left-navigation {
  margin-left: -190px;
}

.dashboard-main-navigation .dashboard-right-navigation {
  transition: 0.3s;
}

.dashboard-main-navigation.hide-nav .dashboard-right-navigation {
  width: calc(100% - 50px)
}

.cwp-user-dashboard .cwp-user-dashboard-tabs li a {
  padding: 14px 15px !important;
}
@media (max-width: 1152px) {
  .dashboard-main-navigation .dashboard-right-navigation {
    width: calc(100% - 50px)
  }

  .dashboard-main-navigation .dashboard-left-navigation {
    margin-left: -190px !important;
    width: 240px !important;
  }

  .cwp-user-dashboard .cwp-user-dashboard-tabs {
    width: 50px !important;
  }

  .cwp-user-dashboard .cwp-user-dashboard-tab-content-container {
    width: calc(100% - 50px) !important;
  }

  .cwp-user-dashboard .cwp-user-dashboard-tabs li a {
    font-size: 0;
  }

  .cwp-user-dashboard.hide-nav .cwp-user-dashboard-tabs {
    margin-left: -50px !important;
  }

  .cwp-user-dashboard.hide-nav .cwp-user-dashboard-tab-content-container {
    width: 100% !important;
  }
}

/* Shared helper classes for events dashboard AJAX pagination */
.cwp-shared-pagination {
  display: block;
  float: left;
  margin: 30px 0;
}

.cwp-shared-pagination-list {
  align-items: center;
  display: flex;
  justify-content: center;
}

.cwp-shared-pagination-item {
  list-style: none;
  line-height: 12px;
}

.cwp-shared-pagination-link {
  color: #7e84a3;
  margin: 0 10px;
  padding: 5px;
  font-size: 16px;
  font-weight: 500;
}

.cwp-shared-pagination-item.active .cwp-shared-pagination-link {
  background: var(--primary-color);
  border-radius: 5px;
  color: #fff;
  padding: 10px 18px;
}

/* Events tab loader */
.cwp-lp-events-loader {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  min-height: 140px;
}

.cwp-lp-events-loader-spinner {
  animation: cwpLpEventsSpin 0.8s linear infinite;
  border: 2px solid #d9dde8;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  width: 22px;
  height: 22px;
}

.cwp-lp-events-loader-text {
  color: #7e84a3;
  font-size: 14px;
  font-weight: 500;
}

@keyframes cwpLpEventsSpin {
  to {
    transform: rotate(360deg);
  }
}