body {
  font-family: "Inter", sans-serif;
  /*background: #133a7f;*/
  min-height: 100vh;
  background: linear-gradient(
          rgba(10, 50, 90, 0.55)
  ),
  url("../img/background/barbhuiya.jpg") center center fixed;
  background-size: cover;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in {
  animation: slideInRight 0.6s ease-out;
}

/* Container */
.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Plan Type Selector */
.plan-type-selector {
  margin-bottom: 2rem;
}

.plan-type-btn {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #64748b;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.plan-type-btn:hover {
  border-color: #1a52b2;
  color: #1a52b2;
  background: #f8fafc;
}

.plan-type-btn.active {
  background: #1e3a8a;
  color: white;
  border-color: #1e3a8a;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

/* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #93c5fd 0%, #1a52b2 100%);
  transition: 0.4s;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

input:checked + .slider:before {
  transform: translateX(28px);
}

/* Duration Buttons */
.btn-custom {
  background: white;
  color: #64748b;
  border: 2px solid #e2e8f0;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  margin: 0 5px;
  border-radius: 8px;
}

.btn-custom:hover {
  background: #f8fafc;
  border-color: #1a52b2;
  color: #1a52b2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-custom.active {
  background: #1a52b2;
  color: white;
  border-color: #1a52b2;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Pricing Cards */
.pricing-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  position: relative;
  height: 100%;
}

.pricing-card.show {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card.selected {
  border: 3px solid #10b981;
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.35);
}

.selected-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 8px 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  z-index: 10;
}

/* Plan Category Badge */
.plan-category-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-private {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

.badge-sharing {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

/* Card Header */
.card-header-custom {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  padding: 40px 30px 30px 30px;
  text-align: center;
  position: relative;
}

.pricing-card.selected .card-header-custom {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.pricing-card.selected .plan-name {
  color: white;
}

/* Price Section */
.price-wrapper {
  margin-bottom: 25px;
}

.price-label {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a52b2;
  margin: 0;
  line-height: 1.2;
}

.pricing-card.selected .price-label {
  color: white;
}

.billing-period {
  font-size: 0.9rem;
  color: #64748b;
  opacity: 0.8;
  margin-top: 5px;
}

.pricing-card.selected .billing-period {
  color: rgba(255, 255, 255, 0.9);
}

/* Subscribe Button */
.btn-subscribe {
  display: inline-block;
  background: #1a52b2;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-subscribe:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
  color: white;
  text-decoration: none;
}

.selected .btn-subscribe {
  background: white;
  color: #1a52b2;
}

.selected .btn-subscribe:hover {
  background: #f8fafc;
}

/* Card Body */
.card-body-custom {
  padding: 35px 30px;
}

.features-label {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.features-label i {
  margin-right: 10px;
  color: #1a52b2;
}

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

.features-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.4;
}

.features-list li i {
  color: #10b981;
  margin-right: 12px;
  margin-top: 3px;
  font-size: 1rem;
  flex-shrink: 0;
}

.features-list li span {
  flex: 1;
}

/* Payment Form Card */
.card-form {
  background: white;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  height: 100%;
}

.card-form-header {
  background: #1a52b2;
  color: white;
  border-radius: 12px 12px 0 0;
  margin: -35px -35px 30px -35px;
  padding: 40px 35px !important;
  border-bottom: none;
}

.card-form-title {
  color: white !important;
  margin-bottom: 10px;
}

.card-form-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Form Styles */
.form-section {
  margin-bottom: 30px;
}

.form-section-title {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.form-section-title i {
  color: #1a52b2;
  margin-right: 10px;
  font-size: 1.1rem;
}

.form-group label {
  font-weight: 600;
  color: #475569;
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: block;
}

.form-control {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
}

.form-control:focus {
  border-color: #1a52b2;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.form-control:disabled {
  background-color: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
}

/* Payment Method Options */
.payment-method-option {
  margin-bottom: 12px;
}

.payment-method-option input[type="radio"] {
  display: none;
}

.payment-method-label {
  display: flex;
  align-items: center;
  padding: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.payment-method-label:hover {
  border-color: #1a52b2;
  background: #f8fafc;
}

.payment-method-option input[type="radio"]:checked + .payment-method-label {
  border-color: #1a52b2;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.payment-method-info {
  flex: 1;
}

.payment-method-name {
  font-weight: 600;
  color: #1e3a8a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.payment-method-desc {
  font-size: 0.8rem;
  color: #64748b;
}

.payment-method-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  margin-left: 15px;
}

.payment-method-icon i {
  font-size: 1.5rem;
  color: #1a52b2;
}

/* Bank Details */
.bank-details {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
}

.bank-details ol {
  margin-bottom: 0;
  padding-left: 20px;
}

.bank-details li {
  margin-bottom: 8px;
  color: #475569;
  font-size: 0.9rem;
}

.bank-details strong {
  color: #1e3a8a;
}

/* File Upload */
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 0;
}

.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin: 0;
  opacity: 0;
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: #1a52b2;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.custom-file-input:disabled ~ .custom-file-label,
.custom-file-input[disabled] ~ .custom-file-label {
  background-color: #f8fafc;
}

/* Terms Checkbox */
.form-check {
  padding-left: 1.75rem;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  margin-left: -1.75rem;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: #1a52b2;
  border-color: #1a52b2;
}

.form-check-input:focus {
  border-color: #1a52b2;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-check-label {
  color: #475569;
  font-size: 0.9rem;
}

.form-check-label a {
  color: #1a52b2;
  text-decoration: none;
  font-weight: 600;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-secondary-action {
  width: 100%;
  background: white;
  color: #64748b;
  border: 2px solid #e2e8f0;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 15px;
}

.btn-secondary-action:hover {
  border-color: #1a52b2;
  color: #1a52b2;
  background: #f8fafc;
}

.btn-primary-action {
  width: 100%;
  background: #1a52b2;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  cursor: pointer;
}

.toggle-password-icon {
  position: absolute;
  right: 14px;
  top: 45px;
  cursor: pointer;
}

.register-footer-note {
  color: #999;
}

.btn-primary-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-primary-action:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Style untuk fitur yang tidak tersedia/disabled */
.features-list li.feature-disabled {
  opacity: 0.4;
  position: relative;
}

.features-list li.feature-disabled span {
  text-decoration: line-through;
  color: #9ca3af;
}

.features-list li.feature-disabled i.fa-times-circle {
  color: #ef4444;
}

/* Hover effect untuk fitur disabled */
.features-list li.feature-disabled:hover {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Optional: Tambahkan efek blur ringan */
.features-list li.feature-disabled span {
  filter: blur(0.3px);
}

/* Alert Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: none;
  margin-bottom: 1.5rem;
}

.alert-primary {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  border-left: 4px solid #1a52b2;
}

.alert-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0369a1;
  border-left: 4px solid #0ea5e9;
}

.alert-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #065f46;
  border-left: 4px solid #10b981;
}

/* Info Box */
.info-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #64748b;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e3a8a;
  padding-top: 15px;
  border-top: 2px solid #e2e8f0;
  margin-top: 15px;
  margin-bottom: 0;
}

/* Footer */
.footer-note {
  margin-top: 3rem;
}

.btn-logout {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-logout:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
  transform: translateY(-2px);
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.footer-text a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.footer-text a:hover {
  color: #dbeafe;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .pricing-col {
    transition: all 0.4s ease;
  }

  .card-form {
    margin-top: 30px;
  }

  .payment-method-icon {
    width: 40px;
    height: 40px;
  }

  .payment-method-icon i {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .plan-type-btn {
    display: block;
    width: 100%;
    margin: 5px 0;
  }

  #planTypeButtons {
    display: block;
  }

  .switch {
    transform: scale(0.9);
  }

  .btn-subscribe {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .form-control {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .btn-primary-action,
  .btn-secondary-action {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}

.pricing-card {
  position: relative;
}

/* Animation for form */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-in {
  animation: slideInRight 0.6s ease-out;
}

/* Form styles (sama dengan sebelumnya) */
.card-form {
  background: white;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  height: 100%;
}

.card-form-header {
  background: #1a52b2;
  color: white;
  border-radius: 12px 12px 0 0;
  margin: -35px -35px 30px -35px;
  padding: 40px 35px !important;
  border-bottom: none;
}

.card-form-title {
  color: white !important;
  margin-bottom: 5px;
}

.card-form-subtitle {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ... tambahkan semua style form lainnya ... */
/* UPDATED: Generic Option Items - was payment-method */
.option-item {
  margin-bottom: 12px;
}

.option-item input[type="radio"] {
  display: none;
}

.option-item-label {
  display: flex;
  align-items: center;
  padding: 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0;
}

.option-item-label:hover {
  border-color: #1a52b2;
  background: #f8fafc;
}

.option-item input[type="radio"]:checked + .option-item-label {
  border-color: #1a52b2;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.option-item-info {
  flex: 1;
}

.option-item-name {
  font-weight: 600;
  color: #1e3a8a;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.option-item-desc {
  font-size: 0.8rem;
  color: #64748b;
}

.option-item-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  margin-left: 15px;
}

.option-item-icon i {
  font-size: 1.5rem;
  color: #1a52b2;
}


/* UPDATED: Generic Input Group with Action - was voucher-group */
.input-group-action {
  display: flex;
  gap: 10px;
}

.input-group-action input {
  flex: 1;
}

/* UPDATED: Generic Status Message - was voucher-status */
.status-message {
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
  display: none;
}

.status-message.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.status-message.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* UPDATED: Generic Info Box - was summary-box */
.info-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 10px;
}

/* UPDATED: Generic Info Row - was summary-row */
.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #64748b;
}

.info-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e3a8a;
  padding-top: 15px;
  border-top: 2px solid #e2e8f0;
  margin-top: 15px;
  margin-bottom: 0;
}


@media (max-width: 768px) {
  h1 {
    font-size: 2rem !important;
  }

  .plan-type-btn {
    padding: 0.6rem 1.2rem;
    margin: 0.25rem;
    font-size: 0.9rem;
  }

  .btn-custom {
    padding: 10px 16px;
    font-size: 0.85rem;
    margin: 3px;
  }

  .card-header-custom {
    padding: 30px 20px 20px 20px;
  }

  .plan-name {
    font-size: 1.3rem;
  }

  .price-label {
    font-size: 2rem;
  }

  .card-body-custom {
    padding: 25px 20px;
  }

  .card-form {
    padding: 25px;
  }

  .card-form-header {
    margin: -25px -25px 25px -25px;
    padding: 30px 25px !important;
  }

  .card-form-title {
    font-size: 1.5rem;
  }

  .payment-method-label {
    padding: 15px;
  }
}
