.pkt-lrd-menu-section {
  height: calc(100vh - 70px);
  overflow-y: auto;
  overflow-x: hidden;
  margin-inline-end: 1px !important;
  padding-inline-start: 20px;
}

/* width */
::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #757575;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}
input:not([type="button"]),
select,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e4ecef;
  padding-left: 10px;
  padding-right: 10px;
}
input:not([type="button"]),
select {
  height: 40px;
}

.rcp-input {
  font-size: 13px;
}
.pkt-lrd-acc-info {
  background: #ffffff;
  margin: 25px 0;
  border-radius: 10px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
  padding-bottom: 20px;
}

.pkt-lrd-acc-info header h3 {
  font-size: 15px;
  font-weight: 700;
  padding: 7px;
  margin: 0;
}

.pkt-lrd-acc-info ul {
  display: flex;
  flex-direction: column;
  color: var(--text);
  margin: 10px;
  padding-bottom: 10px;
}

.pkt-lrd-acc-info .detail_1 {
  width: 140px;
}

.pkt-lrd-acc-info li {
  display: inline-flex;
  justify-content: space-between;
}

.pkt-lrd-acc-info ul li span {
  background: var(--bg);
  font-size: 13px;
  padding: 10px;
  border-radius: 3px;
  margin: 5px;
}

.pkt-lrd-acc-info .detail_2 {
  width: calc(100% - 140px);
}
.panel_notfound {
  color: var(--text);
}

.panel_notfound img {
  max-width: 150px;
  max-height: 150px;
}
.dashboard_ticket__body {
  padding: 5px;
  overflow: auto;
  max-height: 267px;
  height: 267px;
}
.dashboard_section header {
  border-bottom: 1px solid #f5f0f0;
  padding: 10px;
}
.dashboard_section header h3 {
  font-size: 15px;
  font-weight: 700;
  padding: 7px;
  margin: 0;
}
.pkt-lrd-acc-info-body {
  padding: 10px;
}

form {
  display: block;
  margin-top: 0em;
  unicode-bidi: isolate;
}
.pkt-lrd-acc-info fieldset {
  margin: 0 10px !important;
}
.profile_avatar_wrap {
  text-align: center;
  display: inline-flex;
  flex-direction: column;
  padding-bottom: 20px;
}

.profile_avatar {
  width: auto;
  text-align: center;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.profile_avatar img {
  border-radius: 50%;
}

.edit_avatar {
  position: absolute;
  bottom: -4px;
  left: -8px;
  width: 30px;
  height: 30px;
  display: flex;
  font-size: 13px;
  justify-content: center;
  align-items: center;
  background: var(--bg_lighter);
  border-radius: 50px;
  color: var(--text) !important;
  box-shadow: 0 0 10px #00000075;
  transition: all 0.3s;
}
.profile_edit_info {
  width: 100%;
  background: #f8f8db;
  border-radius: 5px;
  padding: 5px 10px;
  color: var(--text) !important;
  font-size: 14px;
}

.pkt-lrd-acc-info-body label {
  margin-bottom: 10px;
  width: 100%;
}

.pkt-lrd-button {
  background: var(--btn-send-bg);
  color: var(--bgLight);
  border: solid 1px #66ccaa !important;
  font-size: 15px;
  font-weight: bold;
  padding: 10px 20px;
  border: 0;
  border-radius: 4px;
  width: 100%;
  margin: 10px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
header.pkt-lrd-ticket-header {
  width: 100%;
  border-bottom: 1px solid #f5f0f0;
  padding: 10px 0;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding-inline-end: 10px;
}

header.pkt-lrd-ticket-header h2 {
  padding: 0 20px;
  position: relative;
  font-size: 16px;
  font-weight: bold;
  line-height: 40px;
}

.pkt-lrd-add-ticket {
  margin-top: 20px;
}
.ticket-content {
  padding-bottom: 20px;
}

.add-ticket-btn {
  width: 100%;
}

.add-ticket-btn button {
  background-color: var(--btn-send-bg);
  color: var(--bgLight);
  border-radius: 40px;
  border: 0;
  height: 40px;
  padding: 0 30px;
  cursor: pointer;
}

/* Start Tickets List */
.ticket-box .head {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}
.ticket-box .head .header-info {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}
.ticket-box .head .header-info span {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  line-height: 30px;
  padding: 5px 10px;
  font-size: 13px;
  background-color: #ecf3fc;
  margin: 4px 0 4px 10px;
  color: #5e728a;
  display: block;
}
.ticket-box .head span i {
  font-style: normal;
  font-weight: bold;
  color: #555967;
}
.ticket-box .head .ticket-close-icon {
  visibility: hidden;
  cursor: pointer;
  color: red;
  font-size: 16px;
  font-style: bold;
  font-weight: 700;
}

.ticket-box:hover .ticket-close-icon {
  visibility: visible;
}

.ticket-box .text {
  text-align: justify;
  padding: 0;
  margin: 0;
  line-height: 26px;
  margin-top: 10px;
  margin-inline-start: 10px;
}
.pkt-lrd-ticket-alternative {
  padding: 10px;
  min-height: 300px;
}
/* End Tickets List */

/* Start Ticket Info */

.ticket-box-details .details-head span {
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  line-height: 30px;
  padding: 5px 10px;
  font-size: 13px;
  background-color: #ecf3fc;
  margin: 4px 0 4px 10px;
  color: #5e728a;
  display: block;
}
.ticket-box-details .details-head {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}
.ticket-box-details .details-head span i {
  font-style: normal;
  font-weight: bold;
  color: #555967;
}
.ticket-box-details {
  border-bottom: 1px solid #f5f0f0;
}
.ticket-details-buttons {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}
.add-ticket-btn .ticket-details-buttons span {
  background-color: #337ab7;
  color: var(--bgLight);
  border-radius: 40px;
  border: 0;
  height: 40px;
  padding: 0 30px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
/* End Ticket Info */

/* Start Add Ticket */
.pkt-lrd-preserve-formatting {
  white-space: pre-line;
  line-height: 1.6;
  font-family: inherit;
  border: solid 1px #f5f0f0;
  border-radius: 0.25rem;
}
.pkt-lrd-preserve-formatting.add-ticket-first-description {
  border-bottom: 0;
  box-shadow: rgba(240, 46, 170, 0.4) -5px -5px,
    rgba(240, 46, 170, 0.3) -10px -10px, rgba(240, 46, 170, 0.2) -15px -15px,
    rgba(240, 46, 170, 0.1) -20px -20px, rgba(240, 46, 170, 0.05) -25px -25px;
}

.pkt-lrd-preserve-formatting.add-ticket-first-description-only {
  box-shadow: rgba(240, 46, 170, 0.4) -5px -5px,
    rgba(240, 46, 170, 0.3) -10px -10px, rgba(240, 46, 170, 0.2) -15px -15px,
    rgba(240, 46, 170, 0.1) -20px -20px, rgba(240, 46, 170, 0.05) -25px -25px;
}

.pkt-lrd-preserve-formatting.add-ticket-second-description {
  border-top: 0;
  box-shadow: rgba(240, 46, 170, 0.4) 5px 5px, rgba(240, 46, 170, 0.3) 10px 10px,
    rgba(240, 46, 170, 0.2) 15px 15px, rgba(240, 46, 170, 0.1) 20px 20px,
    rgba(240, 46, 170, 0.05) 25px 25px;
}
.pkt-lrd-preserve-formatting.add-ticket-second-description-only {
  box-shadow: rgba(240, 46, 170, 0.4) 5px 5px, rgba(240, 46, 170, 0.3) 10px 10px,
    rgba(240, 46, 170, 0.2) 15px 15px, rgba(240, 46, 170, 0.1) 20px 20px,
    rgba(240, 46, 170, 0.05) 25px 25px;
}

/* End Add Ticket */

/* Start Pagination */

.pkt-lrd-pagination {
  margin: 20px 0;
  text-align: center;
}

.pkt-lrd-pagination-list {
  width: 100%;
  display: inline-flex;
  flex-direction: row !important;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
  justify-content: center;
  align-items: center;
}

.pkt-lrd-pagination-list li a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.pkt-lrd-pagination-list li a.active {
  background-color: #007cba;
  color: white;
  border-color: #007cba;
  pointer-events: none;
  cursor: default;
}

.pkt-lrd-pagination-list li a:hover {
  background-color: #f8f9fa;
}

.pkt-lrd-pagination-info {
  text-align: center;
  margin-top: 10px;
  color: #666;
  font-size: 14px;
  padding-bottom: 10px;
}

/* End Pagination */
::after,
::before {
  box-sizing: border-box;
}
/* Start Ticket Details */
.supporter,
.you {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  position: relative;
}
.you {
  background-color: #edf3f9;
}
.supporter {
  margin-bottom: 35px;
  background-color: lightgoldenrodyellow;
}
.you span,
.supporter span {
  font-weight: bold;
}
.supporter p,
.you p {
  color: #5e7896;
  margin-top: 10px;
  margin-inline-start: 5px;
  text-align: justify;
}
.you:before {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #edf3f9;
  right: -10px;
  top: 15px;
  content: "";
}
.supporter:before {
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 10px 0;
  border-color: transparent lightgoldenrodyellow transparent transparent;
  left: -10px;
  top: 15px;
  content: "";
}
a[href="noLink"] {
  cursor: crosshair;
  pointer-events: none;
}
.details-back {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
}
.details-back i {
  margin-top: 10px;
  padding-inline-start: 5px;
}
/* End Ticket Details */

/* Start Dashboard Ticket Section */
.dashboard_ticket__item {
  padding: 15px;
  background: var(--bg);
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}
.dashboard_ticket__item--hover {
  position: absolute;
  width: 100%;
  background: #000000;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  height: 100%;
  top: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  display: flex;
}
.dashboard_ticket__item:hover .dashboard_ticket__item--hover {
  visibility: visible;
  opacity: 0.5;
}

.dashboard_ticket__item--hover a {
  display: block;
  margin: auto;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700;
}
.dashboard_ticket__item--hover a:hover {
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700;
}
.dashboard_ticket__item span {
  font-size: 14px;
  font-weight: 400;
}
.dashboard_ticket__item .table_badge {
  font-size: 12px;
  padding: 5px;
  border-radius: 8px;
}
.table_badge.answered {
  border: 1.5px solid #07c462;
  color: #07c462;
}
.table_badge.waiting {
  border: 1.5px solid #ffc107;
  color: #ffc107;
}
.table_badge.review {
  border: 1.5px solid #49a3f1;
  color: #49a3f1;
}
.table_badge.closed {
  border: 1.5px solid #ec407a;
  color: #ec407a;
}
.dashboard_ticket__item strong {
  font-size: 14px;
  font-weight: 400;
}
/* End Dashboard Ticket Section */

/* Start Confirm Modal */
.modal .modal-dialog .modal-content .modal-footer {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.modal .modal-dialog .modal-content .modal-footer .btn-secondary {
  margin-inline-end: 10px;
}
/* End Confirm Modal */

/* Start Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 0;
  height: 100%;
  background: var(--pkt-lrd-user-acc-sidebar-bg);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow-y: auto;
}

.mobile-drawer.open {
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  right: 0;
}

.drawer-header {
  padding: 10px 15px;
  display: flex;
  justify-content: flex-end;
  background-color: var(--pkt-lrd-user-acc-sidebar-bg);
}

.drawer-close {
  cursor: pointer;
  font-size: 10px;
}

.menu-toggle {
  cursor: pointer;
  font-size: 20px;
  padding: 10px;
}

/* Adjust the z-index of your header if needed */
.plugin-header {
  position: relative;
  z-index: 100;
}

/* End Mobile Drawer */

/* Start Products */
.pkt-lrd-products-header-info {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  background-color: #eeeee4;
  padding: 10px;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}
.pkt-lrd-products-header-info .products-header-info-label {
  color: #000000;
  font-size: 16px;
}
.pkt-lrd-products-header-info .products-header-info-value {
  display: inline-flex;
  width: 25px;
  height: 25px;
  background-color: blue;
  color: #ffffff;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 16px;
}
.pkt-lrd-acc-info.products,
.pkt-lrd-acc-info.transactions {
  min-height: 200px;
}
.pkt-lrd-acc-info p {
  width: 100%;
}
.pkt-responsive-table {
  width: 100%;
  overflow-x: auto;
}
.no-products {
  width: 100%;
  height: 300px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
}
.purchased-product {
  position: relative;
  border-left: 4px solid #28a745;
}

.purchase-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #28a745;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.repeat-purchase-badge {
  position: absolute;
  top: 40px;
  right: 10px;
  background: #ffc107;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
}

.purchase-info {
  margin: 10px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 4px;
  font-size: 14px;
}

.purchase-date,
.purchase-count {
  margin: 5px 0;
}

.products-summary {
  background: #e9ecef;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-item .label {
  font-weight: bold;
}

.summary-item .value {
  background: #007cba;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: bold;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.no-products-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.no-products h3 {
  color: #6c757d;
  margin-bottom: 10px;
}

.no-products p {
  color: #6c757d;
  margin-bottom: 20px;
}

.download-links {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0e0e0;
}

.download-link {
  display: block;
  padding: 5px;
  color: #007cba;
  text-decoration: none;
  font-size: 14px;
}

.download-link:hover {
  background: #f8f9fa;
  border-radius: 4px;
}

.product-actions .button {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
  padding: 8px;
}

.button.view-product {
  background: #007cba;
  color: white;
}

.button.view-order {
  background: #6c757d;
  color: white;
}

.button.primary {
  background: #007cba;
  color: white;
  border: none;
}

.button.secondary {
  background: #6c757d;
  color: white;
  border: none;
}
.product-card.purchased-product {
  width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;

  align-items: center;
}
.product-info.pkt-lrd-products-name {
  min-width: 150px;
}
.product-image {
  width: 200px;
  height: 200px;
  position: relative;
}

.product-image img {
  width: 200px;
  height: 200px;
}
.purchase-date {
  border-bottom: solid 1px gray;
}

.repeat-purchase-badge {
  position: absolute;
  top: 80%;
  right: 10px;
  background: #ffc107;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
}
.product-actions {
  margin-inline-end: 10px;
}

/* Purchase Dates Styles */
.all-purchase-dates {
  margin: 10px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  border-right: 3px solid #007cba;
}

.dates-list {
  margin-top: 8px;
  max-height: 120px;
  overflow-y: auto;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid #e9ecef;
}

.date-item:last-child {
  border-bottom: none;
}

.date-number {
  background: #007cba;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.date-value {
  flex: 1;
  font-size: 13px;
  color: #495057;
}

.order-link {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  padding: 2px 4px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.order-link:hover {
  color: #007cba;
  background: #e9ecef;
}

/* Purchase Info Improvements */
.purchase-info {
  margin: 10px 0;
}

.purchase-date,
.purchase-count {
  margin: 6px 0;
  font-size: 13px;
  color: #495057;
}

.purchase-date strong,
.purchase-count strong {
  color: #333;
}

/* Scrollbar for dates list */
.dates-list::-webkit-scrollbar {
  width: 4px;
}

.dates-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.dates-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.dates-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* End Products */

/* Start Transactions */
.transactions-table {
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  background: #f8f9fa;
  padding: 15px 12px;
  text-align: right;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
}

.orders-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #e9ecef;
  text-align: right;
  vertical-align: middle;
}

.orders-table tr:last-child td {
  border-bottom: none;
}

.orders-table tr:hover {
  background: #f8f9fa;
}

/* Order Status Badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
}

.status-completed {
  background: #d4edda;
  color: #155724;
}

.status-processing {
  background: #fff3cd;
  color: #856404;
}

.status-pending {
  background: #cce5ff;
  color: #004085;
}

.status-on-hold {
  background: #e2e3e5;
  color: #383d41;
}

.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}

.status-refunded {
  background: #e8f4f8;
  color: #0c5460;
}

/* Order Actions */
.order-actions .button {
  padding: 6px 12px;
  font-size: 12px;
  background: #007cba;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
}

.order-actions .button:hover {
  background: #005a87;
}

/* Order Items Preview */
.items-preview {
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

/* Filters */
.transactions-filters {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.transactions-filters .filter-form {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.transactions-filters input,
.transactions-filters select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 200px;
}

.transactions-filters .button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.transactions-filters .button.primary {
  background: #007cba;
  color: white;
}

.transactions-filters .button.secondary {
  background: #6c757d;
  color: white;
}

/* Summary */
.transactions-summary {
  background: #e9ecef;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-item .label {
  font-weight: 600;
}

.summary-item .value {
  background: #007cba;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
}

/* No Orders State */
.no-orders {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.no-orders-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.no-orders h3 {
  color: #6c757d;
  margin-bottom: 10px;
}

.no-orders p {
  color: #6c757d;
  margin-bottom: 20px;
}

/* Pagination */
.pagination-info {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
}
/* End Transactions */

/* Start Addresses */
.addresses {
  position: relative;
  padding-top: 15px;
  padding-bottom: 40px;
}
.address-title {
  text-align: start;
  background-color: #eeeee4;
  padding: 10px;
}

.address-header {
  border-bottom: 1px solid #f5f0f0;
  padding: 10px 0;
  margin-bottom: 20px;
}

.pkt-lrd-woocommerce-address-fields__field-wrapper p label,
.pkt-lrd-woocommerce-address-fields__field-wrapper p input {
  display: block;
}
.pkt-lrd-woocommerce-address-fields__field-wrapper p input::placeholder {
  color: #aaa9a9;
}
.pkt-lrd-woocommerce-address-fields__field-wrapper p label {
  width: 100%;
}
.pkt-lrd-address-form div {
  padding: 10px 0;
}
.pkt-lrd-addresses-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  text-align: center;
}
.pkt-lrd-billing-btn,
.pkt-lrd-shipping-btn {
  width: 90%;
  padding: 5px 0;
  border-radius: 8px;
  cursor: pointer;
  color: #ffffff;
  border: 0;
}
.pkt-lrd-billing-btn {
  background-color: green;
}
.pkt-lrd-address-form div input,
.pkt-lrd-address-form div select {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}
.pkt-lrd-shipping-btn {
  background-color: #427ed1;
}
/* End Addresses */

/* Start Personalization */
table.pkt-lrd-personalization-table {
  width: 100%;
}
table.pkt-lrd-personalization-table tr:not(:last-child) {
  border-bottom: solid 1px rgba(0, 0, 0, 0.08);
}
.form-table td span {
  display: inline-block;
}
.pkt-lrd-personalization-table-th {
  width: 30% !important;
}
.pkt-lrd-personalization-table-td {
  width: 70% !important;
  text-align: center;
}
.pkt-lrd-personalization-table-sub-title {
  font-size: 13px;
  color: gray;
  text-align: justify;
}
.pkt-lrd-personalization-table-sub-title-desc {
  font-size: 13px;
  color: #7f4f24;
  text-align: justify;
  background-color: #f7fee7;
  padding: 10px;
  border-radius: 8px;
  border: dashed 1px #ffa1ad;
}
/* End Personalization */

body.admin-bar.pkt-lrd-body {
  margin-top: 32px !important;
}

/* Start Orders */
.pkt-lrd-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.pkt-lrd-orders-table th,
.pkt-lrd-orders-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.pkt-lrd-orders-table th,
.pkt-lrd-orders-table td:not(:last-child) {
  text-align: center;
}
.pkt-lrd-orders-table th {
  background-color: #f8f8f8;
  font-weight: 600;
}
.pkt-lrd-orders-table .pkt-btn {
  background: #0073aa;
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
}
.pkt-lrd-orders-table .pkt-btn.cancel {
  background: #cc0000;
}
.pkt-lrd-orders-table .pkt-btn.view {
  background: #555;
}
.pkt-lrd-orders-table .pkt-btn.pay {
  background: #2ea44f;
}

@media screen and (max-width: 768px) {
  .pkt-lrd-orders-table,
  .pkt-lrd-orders-table thead,
  .pkt-lrd-orders-table tbody,
  .pkt-lrd-orders-table tr,
  .pkt-lrd-orders-table th,
  .pkt-lrd-orders-table td {
    display: block;
    width: 100%;
  }

  .pkt-lrd-orders-table thead tr {
    display: none;
  }

  .pkt-lrd-orders-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
  }

  .pkt-lrd-orders-table td {
    text-align: left;
    padding-right: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
    white-space: normal;
    word-wrap: break-word;
  }

  .pkt-lrd-orders-table td::before {
    content: attr(data-label);
    position: absolute;
    right: 10px;
    width: 45%;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
  }

  .pkt-lrd-orders-table td span.value {
    display: block;
  }

  .pkt-btn.download {
    display: block;
    width: 100%;
    margin-top: 5px;
    text-align: center;
  }
}

@media screen and (max-width: 500px) {
  /* Make the whole action cell full width */
  .pkt-lrd-orders-table td {
    padding-right: 0; /* remove header space */
    text-align: center; /* center button */
  }

  /* Move header (عملیات) above the button */
  .pkt-lrd-orders-table td::before {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 5px;
    width: 100%;
  }
}

@media screen and (max-width: 265px) {
  .pkt-lrd-orders-table td[data-label="عملیات"] .pkt-btn.view,
  .pkt-lrd-orders-table td[data-label="عملیات"] .pkt-btn.cancel,
  .pkt-lrd-orders-table td[data-label="عملیات"] .pkt-btn.pay {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
  }
}

.woocommerce-info {
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.pkt-lrd-shop-link {
  color: #515151;
  background-color: #e9e6ed;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
.pkt-lrd-woocommerce-info {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em 1em 2em;
  border-top: 3px solid #1e85be;
  background-color: #f6f5f8;
}
/* End Orders */

/* Start Downloads */
.pkt-lrd-downloads-wrapper {
  width: 100%;
  overflow-x: auto;
}

.pkt-lrd-downloads-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.pkt-lrd-downloads-table th,
.pkt-lrd-downloads-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.pkt-btn.download {
  background: #2ea44f;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
}

/* Start Comments */
.pkt_lrd_info_body {
  padding: 10px;
}

ul.pkt-lrd-comment-timeline {
  list-style-type: none;
  position: relative;
}

ul.pkt-lrd-comment-timeline li {
  display: block;
  margin: 20px 0;
  padding-right: 40px;
}
ul.pkt-lrd-comment-timeline li p {
  margin-top: 20px;
}

ul.pkt-lrd-comment-timeline:before {
  content: " ";
  background: #eee;
  display: inline-block;
  position: absolute;
  width: 2px;
  height: 100%;
  z-index: 400;
}
ul.pkt-lrd-comment-timeline > li:before {
  content: "";
  display: inline-block;
  position: absolute;
  border-radius: 50%;
  margin-top: 5px;
  width: 20px;
  height: 20px;
  z-index: 600;
}

ul.pkt-lrd-comment-timeline.pkt-lrd-rtl:before {
  right: 29px;
}
ul.pkt-lrd-comment-timeline.pkt-lrd-rtl > li:before {
  right: 20px;
}
ul.pkt-lrd-comment-timeline.pkt-lrd-ltr:before {
  left: -8px;
}

ul.pkt-lrd-comment-timeline.pkt-lrd-ltr > li:before {
  left: -16px; 
}
.pkt-lrd-comment-body {
  width: 100%;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.timeline__date {
  color: #4050b5;
  background: #4050b53d;
  padding: 5px;
  border-radius: 5px;
}
.pkt-lrd-timeline-status {
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
  min-width: 90px;
  text-align: center;
  color: #ffffff;
}
.timeline__status-1,
ul.pkt-lrd-comment-timeline > li.pkt-lrd-comment-li-1:before{
  background: #198754 !important;
}
.timeline__status-0,
ul.pkt-lrd-comment-timeline > li.pkt-lrd-comment-li-0:before {
  background: #0dcaf0 !important;
}
.timeline__status-spam,
ul.pkt-lrd-comment-timeline > li.pkt-lrd-comment-li-spam:before {
  background: #ffc107 !important;
}
.timeline__status-trash,
ul.pkt-lrd-comment-timeline > li.pkt-lrd-comment-li-trash:before {
  background: #dc3545 !important;
}
.comment-actions {
  width: 100%;
  display: inline-flex;
  align-items: center;
}
.comment-actions button {
  padding: 2px 5px;
  border-radius: 4px;
  border: 0;
  outline: 0;
  box-shadow: 0;
  background-color: transparent;
}
.comment-actions button.comment-delete {
  color: red;
}
.comment-actions button.comment-delete:hover {
  color: #ffffff;
  background-color: red;
}
.comment-actions button.comment-edit {
  color: blue;
}
.comment-actions button.comment-edit:hover {
  color: #ffffff;
  background-color: blue;
}
.pkt-lrd-btn-primary {
  background: #0073aa;
  border-color: #0073aa;
  color: #fff;
}

.pkt-lrd-btn-primary:hover {
  background: #005a87;
  border-color: #005a87;
}
.pkt-lrd-btn-cancel {
  background: #cea630;
  border-color: #cea630;
  color: #fff;
}

.pkt-lrd-btn-cancel:hover {
  background: #c49f30;
  border-color: #c49f30;
}
.pkt-lrd-edit-form {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 4px;
}

.pkt-lrd-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
}

.pkt-lrd-form-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}
/* Alerts */
.pkt-lrd-alert {
  position: relative;
  padding: 12px 40px 12px 15px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pkt-lrd-alert-success {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.pkt-lrd-alert-error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.pkt-lrd-alert-warning {
  background: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.pkt-lrd-alert-info {
  background: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}
/* Dismissible alerts */
.pkt-lrd-alert-dismissible {
  padding-right: 15px;
}

.pkt-lrd-alert-close {
  position: absolute;
  top: 12px;
  left: 15px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
  color: inherit;
}

.pkt-lrd-alert-close:hover {
  opacity: 1;
}

/* Alert group for multiple messages */
.pkt-lrd-alert-group {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
}

.pkt-lrd-alert-group .pkt-lrd-alert {
  margin-bottom: 10px;
}
/* No Comments */
.pkt-lrd-no-comments {
  text-align: center;
  padding: 40px 20px;
  color: #666;
}
/* End Comments */

/* Responsive */
@media screen and (max-width: 768px) {
  .pkt-lrd-downloads-table,
  .pkt-lrd-downloads-table thead,
  .pkt-lrd-downloads-table tbody,
  .pkt-lrd-downloads-table tr,
  .pkt-lrd-downloads-table th,
  .pkt-lrd-downloads-table td {
    display: block;
    width: 100%;
  }

  .pkt-lrd-downloads-table thead tr {
    display: none;
  }

  .pkt-lrd-downloads-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
  }

  .pkt-lrd-downloads-table td {
    text-align: left;
    padding-right: 50%;
    position: relative;
    border: none;
    border-bottom: 1px solid #eee;
    white-space: normal;
    word-wrap: break-word;
  }

  .pkt-lrd-downloads-table td::before {
    content: attr(data-label);
    position: absolute;
    right: 10px;
    width: 45%;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
  }

  .pkt-lrd-downloads-table td span.value {
    display: block;
  }

  .pkt-btn.download {
    display: block;
    width: 100%;
    margin-top: 5px;
    text-align: center;
  }
}
@media screen and (max-width: 500px) {
  /* Make the whole action cell full width */
  .pkt-lrd-downloads-table td {
    padding-right: 0; /* remove header space */
    text-align: center; /* center button */
  }

  /* Move header (عملیات) above the button */
  .pkt-lrd-downloads-table td::before {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 5px;
    width: 100%;
  }

  /* Make download button 100% width */
  .pkt-lrd-downloads-table td .pkt-btn.download {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .transactions-table {
    overflow-x: auto;
  }

  .orders-table {
    min-width: 800px;
  }

  .transactions-filters .filter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .transactions-filters input,
  .transactions-filters select {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 570px) {
  .product-image {
    width: 100%;
    height: 150px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
  }

  .product-image img {
    width: 100%;
    height: 150px;
  }
}
