.tsubs-cp-section {
  background: #ffffff;
  width: 100%;
  max-width: 500px !important;
  border-radius: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  /* animation: tsubs-fade-in 0.2s ease-out; */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin: auto;
}

@media (max-width: 767px) {
  .tsubs-cp-section {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    /* animation: tsubs-slide-up 0.3s ease-out; */
    margin: 0;
  }
}

.tsubs-cp-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tsubs-cp-close-btn,
.tsubs-cp-back-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  padding: 4px;
  color: #121117;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tsubs-cp-content {
  padding: 20px 24px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tsubs-cp-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #121117;
}

.tsubs-cp-current-plan {
  font-size: 14px;
  color: #4d4c5c;
  margin-bottom: 24px;
  font-weight: 500;
}

.tsubs-cp-counter-card {
  /* border: 1.5px solid #dcdce5; */
  border-radius: 12px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.tsubs-cp-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.tsubs-cp-counter-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid #dcdce5;
  border-radius: 8px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tsubs-cp-counter-btn:hover {
  border-color: #121117;
  background: #f8f8fa;
}

.tsubs-cp-counter-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tsubs-cp-count {
  font-size: 48px;
  font-weight: 700;
  color: #121117;
  line-height: 1;
}

.tsubs-cp-count-label {
  font-size: 14px;
  color: #4d4c5c;
  margin-top: 4px;
}

.tsubs-cp-divider {
  width: 100%;
  height: 1.5px;
  background: lightgray;
}

.tsubs-cp-price-display {
  font-size: 14px;
  color: #4d4c5c;
  font-weight: 500;
}

.tsubs-cp-price {
  font-size: 18px;
  font-weight: 700;
  color: #121117;
}

.tsubs-cp-footer {
  padding: 0 24px 24px;
}

.tsubs-cp-continue-btn {
  width: 100%;
  padding: 14px;
  background: #ff2500;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid black;
}

.tsubs-cp-continue-btn:hover {
  background: #e02100;
}