/* Payment system styles for Momentum Tech Map */

/* Payment container */
.payment-container {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* Pricing tables */
.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}

.pricing-plan {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  width: 280px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-plan:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.pricing-plan.popular {
  border: 2px solid #3b82f6;
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -30px;
  background-color: #3b82f6;
  color: white;
  padding: 5px 40px;
  font-size: 0.8rem;
  transform: rotate(45deg);
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e293b;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 5px;
}

.pricing-price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 5px;
}

.pricing-price .period {
  font-size: 1rem;
  color: #64748b;
  font-weight: 400;
}

.pricing-description {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.pricing-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  margin-right: 10px;
  color: #3b82f6;
  font-size: 1rem;
}

.pricing-features li.unavailable {
  color: #94a3b8;
  text-decoration: line-through;
}

.pricing-features li.unavailable i {
  color: #cbd5e1;
}

.pricing-button {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.pricing-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

.pricing-button.outline {
  background-color: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.pricing-button.outline:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* Course pricing */
.course-pricing {
  margin: 40px 0;
}

.course-pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.course-pricing-header h2 {
  font-size: 2rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.course-pricing-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

.course-tier {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
}

.course-tier-info {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.course-tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.course-tier-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.course-tier-description {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 20px;
}

.course-tier-features {
  flex: 1;
  min-width: 300px;
}

.course-tier-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-tier-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #334155;
}

.course-tier-features li i {
  margin-right: 10px;
  color: #3b82f6;
  font-size: 1rem;
}

.course-tier-action {
  width: 100%;
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.course-tier-button {
  padding: 12px 30px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.course-tier-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
}

/* Payment success/error messages */
.payment-success,
.payment-error {
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.payment-success {
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.payment-error {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #b91c1c;
}

.payment-success i,
.payment-error i {
  font-size: 3rem;
  margin-bottom: 15px;
}

.payment-success i {
  color: #10b981;
}

.payment-error i {
  color: #ef4444;
}

.payment-success h3,
.payment-error h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Payment form */
.payment-form {
  max-width: 500px;
  margin: 0 auto;
}

.payment-form-row {
  margin-bottom: 20px;
}

.payment-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #334155;
}

.payment-element {
  background-color: #fff;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.payment-submit {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.payment-submit:hover {
  background-color: #2563eb;
}

.payment-submit:disabled {
  background-color: #94a3b8;
  cursor: not-allowed;
}

/* Payment success page */
.payment-success-page {
  text-align: center;
  padding: 50px 20px;
}

.payment-success-icon {
  font-size: 5rem;
  color: #10b981;
  margin-bottom: 20px;
}

.payment-success-title {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 15px;
}

.payment-success-message {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 30px;
}

.payment-success-details {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto 30px;
  text-align: left;
}

.payment-success-details h3 {
  font-size: 1.2rem;
  color: #334155;
  margin-bottom: 15px;
  text-align: center;
}

.payment-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
}

.payment-detail-row:last-child {
  border-bottom: none;
}

.payment-detail-label {
  font-weight: 500;
  color: #64748b;
}

.payment-detail-value {
  font-weight: 600;
  color: #334155;
}

.payment-success-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.payment-success-button {
  padding: 12px 25px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.payment-success-button.primary {
  background-color: #3b82f6;
  color: white;
}

.payment-success-button.primary:hover {
  background-color: #2563eb;
}

.payment-success-button.secondary {
  background-color: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.payment-success-button.secondary:hover {
  background-color: rgba(59, 130, 246, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-table {
    flex-direction: column;
    align-items: center;
  }
  
  .pricing-plan {
    width: 100%;
    max-width: 350px;
  }
  
  .course-tier {
    flex-direction: column;
  }
  
  .course-tier-info {
    padding-right: 0;
    padding-bottom: 20px;
  }
  
  .course-tier-action {
    justify-content: center;
  }
}
