@media (max-width: 768px) {
  .sl-pt-wrapper {
    padding: 0 15px;
  }
}

.sl-pt-header {
  margin-bottom: 30px;
}
.sl-pt-header .sl-pt-title {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.sl-pt-header .sl-pt-breadcrumbs {
  font-size: 14px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sl-pt-header .sl-pt-breadcrumbs a {
  color: #555;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.sl-pt-header .sl-pt-breadcrumbs a:hover {
  color: #ff00a6;
}
.sl-pt-header .sl-pt-breadcrumbs a.sl-pt-back-to-summary {
  color: #888;
  pointer-events: none;
}
.sl-pt-header .sl-pt-breadcrumbs a.sl-pt-back-to-summary.is-active-link {
  color: #555;
  pointer-events: auto;
}
.sl-pt-header .sl-pt-breadcrumbs a.sl-pt-back-to-summary.is-active-link:hover {
  color: #ff00a6;
}
.sl-pt-header .sl-pt-breadcrumbs .sl-pt-sep {
  color: #ccc;
}

.sl-pt-status {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 5px;
}
@media (max-width: 768px) {
  .sl-pt-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.sl-pt-status h2 {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.sl-pt-status .sl-pt-status-badge {
  display: inline-block;
  background: #25d366;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.sl-pt-usage-period {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.sl-pt-summary-box {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 30px;
}
@media (max-width: 768px) {
  .sl-pt-summary-box {
    flex-direction: column;
    align-items: stretch;
  }
}

.sl-pt-summary-left {
  flex: 1;
}
.sl-pt-summary-left h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.sl-pt-summary-left p {
  font-size: 14px;
  color: #555;
  margin: 0 0 20px;
  line-height: 1.5;
}
.sl-pt-summary-left .sl-pt-view-history {
  background: #ffecf9;
  color: #ff00a6;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sl-pt-summary-left .sl-pt-view-history:hover {
  background: #ff00a6;
  color: #fff;
}

.sl-pt-summary-right {
  flex: 1;
  min-width: 300px;
}

.sl-pt-total-points {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.sl-pt-total-points .sl-pt-total-label {
  font-size: 15px;
  font-weight: 700;
  color: #111;
}
.sl-pt-total-points .sl-pt-total-value {
  font-size: 20px;
  font-weight: 700;
  color: #25d366;
}
.sl-pt-total-points .sl-pt-total-value::after {
  content: " pts";
  font-size: 14px;
  font-weight: 600;
  color: #25d366;
}

.sl-pt-progressbar-wrap {
  margin-bottom: 15px;
}
.sl-pt-progressbar-wrap:last-child {
  margin-bottom: 0;
}
.sl-pt-progressbar-wrap .sl-pt-progress-title {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}
.sl-pt-progressbar-wrap .sl-pt-progress-row {
  display: flex;
  align-items: center;
  gap: 15px;
}
.sl-pt-progressbar-wrap .sl-pt-progress-bar {
  flex: 1;
  height: 10px;
  background: #e9e9e9;
  border-radius: 5px;
  overflow: hidden;
}
.sl-pt-progressbar-wrap .sl-pt-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff00a6 0%, #ff5dcf 100%);
  border-radius: 5px;
  transition: width 0.5s ease;
}
.sl-pt-progressbar-wrap .sl-pt-progress-val {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  width: 65px;
  text-align: right;
  flex-shrink: 0;
}

/* History Tabs */
.sl-pt-history-tabs {
  display: flex;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 30px;
  gap: 30px;
}
.sl-pt-history-tabs button.sl-pt-tab {
  background: transparent;
  border: none;
  padding: 0 0 15px;
  font-size: 15px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.sl-pt-history-tabs button.sl-pt-tab:hover, .sl-pt-history-tabs button.sl-pt-tab:focus {
  color: #111;
  background: transparent;
}
.sl-pt-history-tabs button.sl-pt-tab.active, .sl-pt-history-tabs button.sl-pt-tab:active {
  color: #ff00a6;
  background: transparent;
}
.sl-pt-history-tabs button.sl-pt-tab.active::after, .sl-pt-history-tabs button.sl-pt-tab:active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ff00a6;
}

/* History List Container */
.sl-pt-history-container {
  position: relative;
}

.sl-pt-month-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.sl-pt-month-selector button {
  background: none;
  border: 1px solid #ddd;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #555;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}
.sl-pt-month-selector button:hover:not(.disabled) {
  background: #f5f5f5;
  color: #111;
}
.sl-pt-month-selector button.disabled {
  opacity: 0.3;
  cursor: default;
}
.sl-pt-month-selector .sl-pt-month-current {
  text-align: center;
}
.sl-pt-month-selector .sl-pt-month-current .sl-pt-month-title {
  display: block;
  font-size: 18px;
  color: #111;
  margin-bottom: 4px;
}
.sl-pt-month-selector .sl-pt-month-current .sl-pt-month-dates {
  font-size: 13px;
  color: #888;
}

.sl-pt-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #111;
  margin-bottom: 20px;
}
.sl-pt-list-header > span {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.sl-pt-list-header .sl-pt-list-header-right {
  text-align: right;
}
.sl-pt-list-header .sl-pt-list-total-label {
  font-size: 14px;
  color: #555;
  margin-bottom: 4px;
}
.sl-pt-list-header .sl-pt-list-sublabel {
  font-size: 12px;
  color: #888;
}

.sl-pt-level-title {
  background: #f5f5f5;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.sl-pt-cards {
  background: #f9f9f9;
  border-radius: 0 0 8px 8px;
  padding: 0 20px 20px;
}

.sl-pt-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
@media (max-width: 576px) {
  .sl-pt-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

.sl-pt-card-left .sl-pt-card-date {
  font-size: 12px;
  color: #888;
  margin-bottom: 6px;
}
.sl-pt-card-left .sl-pt-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}

.sl-pt-card-right {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 576px) {
  .sl-pt-card-right {
    width: 100%;
    justify-content: space-between;
  }
}
.sl-pt-card-right .sl-pt-card-total {
  font-size: 18px;
  font-weight: 700;
  color: #25d366;
}
.sl-pt-card-right .sl-pt-card-breakdown {
  text-align: right;
  font-size: 12px;
  color: #666;
  min-width: 140px;
}
.sl-pt-card-right .sl-pt-card-breakdown div {
  margin-bottom: 4px;
}
.sl-pt-card-right .sl-pt-card-breakdown div:last-child {
  margin-bottom: 0;
}

.sl-pt-loading,
.sl-pt-empty {
  text-align: center;
  padding: 40px 0;
  color: #888;
  font-size: 15px;
}