@charset "UTF-8";
.janda-loyalty-widget {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0 0 0;
}
.janda-loyalty-widget .loyalty-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.janda-loyalty-widget .loyalty-content .loyalty-heart {
  flex-shrink: 0;
}
.janda-loyalty-widget .loyalty-content .loyalty-heart img {
  display: block;
  width: 40px;
  height: 40px;
}
.janda-loyalty-widget .loyalty-content.janda-loyalty-login-prompt .loyalty-login-link {
  color: #E20A19;
  text-decoration: none;
  font-weight: 600;
}
.janda-loyalty-widget .loyalty-content.janda-loyalty-login-prompt .loyalty-login-link:hover {
  text-decoration: underline;
}
.janda-loyalty-widget .loyalty-content .loyalty-info {
  flex: 1;
}
.janda-loyalty-widget .loyalty-content .loyalty-info .loyalty-balance {
  font-size: 20px;
  line-height: 1.4;
  color: #141414;
  margin-bottom: 8px;
  font-weight: 600;
}
.janda-loyalty-widget .loyalty-content .loyalty-info .loyalty-balance .points-count {
  color: #E20A19;
  font-weight: 600;
}
.janda-loyalty-widget .loyalty-content .loyalty-info .loyalty-balance strong {
  font-weight: 600;
}
.janda-loyalty-widget .loyalty-content .loyalty-info .loyalty-earn-info {
  font-size: 16px;
  font-weight: 600;
  color: #434343;
}
.janda-loyalty-widget .loyalty-content .loyalty-action {
  flex-shrink: 0;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-form .loyalty-points-input {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #DEDEDE;
  border-radius: 50px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  text-align: center;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-form .loyalty-points-input:focus {
  outline: none;
  border-color: #E20A19;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-btn {
  background: #141414;
  color: #FFFFFF;
  border: 1px solid #141414;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-align: center;
  gap: 8px;
  justify-content: center;
  white-space: nowrap;
  width: 100%;
  border-radius: 50px;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-btn:hover {
  background: #2e2e2e;
  color: #FFFFFF;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-btn:disabled, .janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-btn.loyalty-btn-remove {
  background: transparent;
  color: #141414;
  border: 1px solid #A3A3A3;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-btn.loyalty-btn-remove:hover {
  background: #F8F8F8;
  border-color: #434343;
}
.janda-loyalty-widget .loyalty-message {
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
}
.janda-loyalty-widget .loyalty-message.success {
  background: rgba(40, 167, 69, 0.1);
  color: #1e7e34;
  border: 1px solid rgba(40, 167, 69, 0.3);
}
.janda-loyalty-widget .loyalty-message.error {
  background: rgba(220, 53, 69, 0.1);
  color: #bd2130;
  border: 1px solid rgba(220, 53, 69, 0.3);
}
.janda-loyalty-widget .loyalty-message p {
  margin: 0;
}

.loyalty-points-info th {
  font-weight: 500;
  color: #434343;
}
.loyalty-points-info td {
  color: #434343;
}
.loyalty-points-info td strong {
  color: #E20A19;
  font-weight: 600;
}
.loyalty-points-info td small {
  color: #A3A3A3;
  display: block;
}

.loyalty-product-points {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #F8F8F8;
  border: 1px solid rgba(222, 222, 222, 0.2);
  border-radius: 50px;
  font-size: 16px;
  color: #141414;
  font-weight: 600;
  margin: 12px 0;
}
.loyalty-product-points img {
  width: 16px;
  height: 16px;
}

.janda-loyalty-account .loyalty-summary {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  text-align: left;
  background-color: #FFFFFF;
}
.janda-loyalty-account .loyalty-summary .loyalty-heart img {
  width: 60px;
  height: 60px;
}
.janda-loyalty-account .loyalty-summary .loyalty-balance-info h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 600;
  color: #141414;
}
.janda-loyalty-account .loyalty-summary .loyalty-balance-info .current-balance {
  margin-bottom: 8px;
}
.janda-loyalty-account .loyalty-summary .loyalty-balance-info .current-balance .points-number {
  font-size: 32px;
  font-weight: 700;
  color: #E20A19;
  line-height: 1;
}
.janda-loyalty-account .loyalty-summary .loyalty-balance-info .current-balance .points-label {
  font-size: 18px;
  color: #A3A3A3;
  margin-left: 8px;
}
.janda-loyalty-account .loyalty-summary .loyalty-balance-info .balance-value {
  font-size: 16px;
  color: #434343;
  font-weight: 500;
}
.janda-loyalty-account .loyalty-info-box {
  background-color: #FFFFFF !important;
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
}
.janda-loyalty-account .loyalty-info-box h4 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: #141414;
}
.janda-loyalty-account .loyalty-info-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.janda-loyalty-account .loyalty-info-box ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: #434343;
}
.janda-loyalty-account .loyalty-info-box ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #28a745;
  font-weight: 600;
}
.janda-loyalty-account .loyalty-info-box ul li:last-child {
  margin-bottom: 0;
}
.janda-loyalty-account .loyalty-history {
  background-color: #FFFFFF !important;
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
}
.janda-loyalty-account .loyalty-history h4 {
  margin: 0 0 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: #141414;
}
.janda-loyalty-account .loyalty-history .history-table {
  margin-bottom: 24px;
}
.janda-loyalty-account .loyalty-history .history-table .history-row {
  display: grid;
  grid-template-columns: 120px 80px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #DEDEDE;
  align-items: center;
}
.janda-loyalty-account .loyalty-history .history-table .history-row:last-child {
  border-bottom: none;
}
.janda-loyalty-account .loyalty-history .history-table .history-row .history-date {
  font-size: 14px;
  color: #A3A3A3;
  white-space: nowrap;
}
.janda-loyalty-account .loyalty-history .history-table .history-row .history-points {
  font-weight: 600;
  font-size: 14px;
}
.janda-loyalty-account .loyalty-history .history-table .history-row .history-points.positive {
  color: #28a745;
}
.janda-loyalty-account .loyalty-history .history-table .history-row .history-points.negative {
  color: #dc3545;
}
.janda-loyalty-account .loyalty-history .history-table .history-row .history-desc {
  font-size: 14px;
  color: #434343;
}
.janda-loyalty-account .loyalty-history .loyalty-load-more {
  background: transparent;
  color: #141414;
  border: 1px solid #A3A3A3;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  display: block;
  margin: 0 auto;
}
.janda-loyalty-account .loyalty-history .loyalty-load-more:hover {
  background: #F8F8F8;
  border-color: #434343;
}
.janda-loyalty-account .loyalty-no-history {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  color: #A3A3A3;
}
.janda-loyalty-account .loyalty-no-history p {
  margin: 0;
  font-size: 16px;
}

.loyalty-admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.loyalty-admin-stats .stat-card {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.loyalty-admin-stats .stat-card h3 {
  margin: 0 0 16px 0;
  font-size: 17px;
  font-weight: 500;
  color: #141414;
  letter-spacing: 0.5px;
}
.loyalty-admin-stats .stat-card .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #E20A19;
  line-height: 1;
  margin-bottom: 8px;
}
.loyalty-admin-stats .stat-card .stat-value {
  font-size: 14px;
  color: #434343;
}

.loyalty-top-users {
  margin: 32px 0;
}
.loyalty-top-users h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 600;
  color: #141414;
}
.loyalty-top-users .wp-list-table th, .loyalty-top-users .wp-list-table td {
  font-size: 14px;
}
.loyalty-top-users .wp-list-table .adjust-points {
  background: transparent;
  color: #141414;
  border: 1px solid #A3A3A3;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 6px 17px;
}
.loyalty-top-users .wp-list-table .adjust-points:hover {
  background: #F8F8F8;
  border-color: #434343;
}

.loyalty-filters {
  background: #F8F8F8;
  border: 1px solid #DEDEDE;
  border-radius: 8px;
  padding: 24px;
  margin: 24px 0;
}
.loyalty-filters p {
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.loyalty-filters input, .loyalty-filters select {
  padding: 8px 12px;
  border: 1px solid #DEDEDE;
  border-radius: 16px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  min-width: 150px;
}
.loyalty-filters input:focus, .loyalty-filters select:focus {
  outline: none;
  border-color: #E20A19;
}
.loyalty-filters .button {
  background: #141414;
  color: #FFFFFF;
  border: 1px solid #141414;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-align: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  padding: 8px 24px !important;
}
.loyalty-filters .button:hover {
  background: #2e2e2e;
  color: #FFFFFF;
}
.loyalty-filters .button:disabled, .loyalty-filters .button.loading {
  opacity: 0.6;
  cursor: not-allowed;
}
.loyalty-filters .button:not(.button-primary) {
  background: transparent;
  color: #141414;
  border: 1px solid #A3A3A3;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.loyalty-filters .button:not(.button-primary):hover {
  background: #F8F8F8;
  border-color: #434343;
}

#adjust-points-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#adjust-points-modal .modal-content {
  background: #F8F8F8;
  border-radius: 16px;
  padding: 32px;
  width: 90%;
  max-width: 400px;
}
#adjust-points-modal .modal-content h3 {
  margin: 0 0 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: #141414;
}
#adjust-points-modal .modal-content label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #141414;
  font-size: 14px;
}
#adjust-points-modal .modal-content input[type=number],
#adjust-points-modal .modal-content input[type=text] {
  width: 100%;
  padding: 12px;
  border: 1px solid #DEDEDE;
  border-radius: 6px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
}
#adjust-points-modal .modal-content input[type=number]:focus,
#adjust-points-modal .modal-content input[type=text]:focus {
  outline: none;
  border-color: #E20A19;
}
#adjust-points-modal .modal-content .button {
  background: #141414;
  color: #FFFFFF;
  border: 1px solid #141414;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  text-align: center;
  gap: 8px;
  justify-content: center;
  margin-right: 12px;
}
#adjust-points-modal .modal-content .button:hover {
  background: #2e2e2e;
  color: #FFFFFF;
}
#adjust-points-modal .modal-content .button:disabled, #adjust-points-modal .modal-content .button.loading {
  opacity: 0.6;
  cursor: not-allowed;
}
#adjust-points-modal .modal-content .button:not(.button-primary) {
  background: transparent;
  color: #141414;
  border: 1px solid #A3A3A3;
  border-radius: 16px;
  padding: 12px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#adjust-points-modal .modal-content .button:not(.button-primary):hover {
  background: #F8F8F8;
  border-color: #434343;
}

.loyalty-type-earn,
.points-positive {
  color: #28a745 !important;
  font-weight: 600;
}

.loyalty-type-redeem,
.loyalty-type-revoke,
.points-negative {
  color: #dc3545 !important;
  font-weight: 600;
}

.loyalty-type-manual {
  color: #E20A19 !important;
  font-weight: 600;
}

@media (max-width: 768px) {
  .janda-loyalty-widget .loyalty-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .janda-loyalty-widget .loyalty-content .loyalty-action {
    width: 100%;
  }
  .janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-form {
    width: 100%;
  }
  .janda-loyalty-widget .loyalty-content .loyalty-action .loyalty-form .loyalty-points-input {
    flex: 1;
  }
  .janda-loyalty-account .loyalty-summary {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .janda-loyalty-account .loyalty-history .history-table .history-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .janda-loyalty-account .loyalty-history .history-table .history-row .history-date {
    font-size: 12px;
  }
  .loyalty-admin-stats {
    grid-template-columns: 1fr;
  }
}
.loyalty-loading {
  opacity: 0.6;
  pointer-events: none;
}

.loyalty-hidden {
  display: none !important;
}/*# sourceMappingURL=loyalty.css.map */