/* IPTV Subscription Manager - Premium Card Style */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --iptv-primary: #667eea;
  --iptv-secondary: #764ba2;
  --iptv-button: #10b981;
  --iptv-text: #1a202c;
  --iptv-text-light: #718096;
  --iptv-border: #e2e8f0;
  --iptv-bg: #f7fafc;
}
.entry-content[ast-blocks-layout] > * {
  max-width: 800px !important;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0 !important;
}

.is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Override theme constraints */
.entry-content[ast-blocks-layout] > .iptv-subscription-wrapper,
.entry-content[ast-blocks-layout] > * > .iptv-subscription-wrapper {
  max-width: 800px !important;
}
.entry-content[ast-blocks-layout] > .iptv-subscription-wrapper {
  max-width: 800px !important;
}
.entry-content[ast-blocks-layout] > * > .iptv-subscription-wrapper {
  max-width: 800px !important;
}
.entry-content[ast-blocks-layout] {
  max-width: 800px !important;
}
/* Main Wrapper */
.iptv-subscription-wrapper {
  max-width: 800px !important;
  margin: 40px auto;
  padding: 20px;
  overflow-x: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Card Container */
.iptv-subscription-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--iptv-border);
}

/* Package Selector */
.iptv-package-selector-container {
  margin-bottom: 30px;
  animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.iptv-selector-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--iptv-text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.iptv-selector-label svg {
  stroke: var(--iptv-primary);
  flex-shrink: 0;
}

.iptv-package-select {
  width: 100%;
  padding: 18px 50px 18px 20px;
  font-size: 17px;
  font-weight: 700;
  color: var(--iptv-text);
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  border: 3px solid var(--iptv-primary);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  background-image:
    linear-gradient(135deg, #f0f4ff, #e0e7ff),
    url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L7 7.5L13 1.5' stroke='%23667eea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position:
    center,
    right 18px center;
  background-repeat: no-repeat, no-repeat;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
  height: auto;
}

.iptv-package-select:hover {
  border-color: var(--iptv-secondary);
  box-shadow: 0 6px 24px rgba(102, 126, 234, 0.25);
  transform: translateY(-2px);
}

.iptv-package-select:focus {
  outline: none;
  box-shadow: 0 0 0 5px rgba(102, 126, 234, 0.2);
  border-color: var(--iptv-secondary);
}

/* Card Header */
.iptv-card-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.iptv-badge-popular {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    var(--iptv-primary),
    var(--iptv-secondary)
  );
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.iptv-plan-name {
  font-size: 36px;
  font-weight: 800;
  color: var(--iptv-text);
  margin: 0 0 8px 0;
}

.iptv-plan-duration {
  font-size: 16px;
  color: var(--iptv-text-light);
  margin: 0;
}

/* Device Selector */
.iptv-device-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 32px;
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  border-radius: 20px;
  border: 3px solid var(--iptv-primary);
  margin-bottom: 25px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.iptv-device-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  border: 2px solid var(--iptv-primary);
  background: white;
  color: var(--iptv-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.iptv-device-btn svg {
  pointer-events: none;
  stroke: var(--iptv-primary);
  transition: all 0.3s ease;
}

.iptv-device-btn:hover {
  background: var(--iptv-primary);
  transform: scale(1.1);
  border-color: var(--iptv-primary);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.iptv-device-btn:hover svg {
  stroke: white;
}

.iptv-device-btn:active {
  transform: scale(0.95);
}

.iptv-device-display {
  text-align: center;
  min-width: 100px;
}

.iptv-device-icon {
  stroke: var(--iptv-primary);
  margin-bottom: 10px;
}

.iptv-device-count {
  font-size: 48px;
  font-weight: 800;
  color: var(--iptv-primary);
  margin: 10px 0;
  text-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.iptv-device-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--iptv-text);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Price Display */
.iptv-price-display {
  text-align: center;
  margin: 30px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f0f4ff, #e0e7ff);
  border-radius: 20px;
}

.iptv-price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.iptv-currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--iptv-primary);
}

.iptv-price-main span:nth-child(2) {
  font-size: 56px;
  font-weight: 800;
  color: var(--iptv-primary);
}

.iptv-price-period {
  font-size: 18px;
  color: var(--iptv-text-light);
}

.iptv-price-monthly {
  font-size: 15px;
  color: var(--iptv-text-light);
  margin: 10px 0 0 0;
}

/* Features Grid */
.iptv-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.iptv-feature-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--iptv-bg);
  border-radius: 12px;
  border: 1px solid var(--iptv-border);
  transition: all 0.3s;
}

.iptv-feature-box:hover {
  background: white;
  border-color: var(--iptv-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
}

.iptv-feature-icon {
  stroke: var(--iptv-primary);
  fill: var(--iptv-primary);
  flex-shrink: 0;
}

.iptv-feature-box span {
  font-size: 14px;
  font-weight: 500;
  color: var(--iptv-text);
}

/* Additional Options */
.iptv-additional-options {
  margin: 30px 0;
}

.iptv-options-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--iptv-text);
  text-align: center;
  margin: 0 0 20px 0;
  letter-spacing: 1px;
}

.iptv-option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: linear-gradient(135deg, #fafbff, #f5f7ff);
  border-radius: 16px;
  border: 2px solid transparent;
  margin-bottom: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.iptv-option-item:hover {
  border-color: var(--iptv-primary);
  background: linear-gradient(135deg, #f0f4ff, #e8ecff);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
}

.iptv-option-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.iptv-option-icon {
  stroke: var(--iptv-primary);
  fill: var(--iptv-primary);
}

.iptv-option-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--iptv-text);
  margin: 0 0 4px 0;
}

.iptv-option-info p {
  font-size: 13px;
  color: var(--iptv-text-light);
  margin: 0;
}

.iptv-option-price {
  display: flex;
  align-items: center;
  gap: 15px;
}

.iptv-option-price > span {
  font-size: 16px;
  font-weight: 700;
  color: var(--iptv-primary);
}

/* Toggle Switch */
.iptv-toggle {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 34px;
}

.iptv-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.iptv-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e5e7eb;
  border: 3px solid #d1d5db;
  transition: all 0.3s ease;
  border-radius: 34px;
}

.iptv-toggle-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.iptv-toggle input:checked + .iptv-toggle-slider {
  background: linear-gradient(
    135deg,
    var(--iptv-primary),
    var(--iptv-secondary)
  );
  border-color: var(--iptv-primary);
}

.iptv-toggle input:checked + .iptv-toggle-slider:before {
  transform: translateX(30px);
  box-shadow: 0 3px 8px rgba(102, 126, 234, 0.3);
}

.iptv-option-item:hover .iptv-toggle-slider {
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* CTA Button */
.iptv-cta-button {
  width: 100%;
  padding: 20px 30px;
  font-size: 18px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--iptv-button), #059669);
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s;
  item-align: center;
}

.iptv-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.iptv-cta-button:active {
  transform: translateY(0);
}

.iptv-guarantee {
  text-align: center;
  font-size: 14px;
  color: var(--iptv-text-light);
  margin: 20px 0 30px 0;
}

/* Payment Methods */
.iptv-payment-methods {
  border-top: 1px solid var(--iptv-border);
  padding-top: 25px;
  margin-top: 30px;
}

.iptv-payment-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--iptv-text-light);
  text-align: center;
  margin: 0 0 15px 0;
}

.iptv-payment-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.iptv-payment-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.iptv-payment-icon span {
  font-size: 11px;
  color: var(--iptv-text-light);
}

/* WhatsApp Button */
.iptv-whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: #25d366;
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  margin: 20px 0;
  transition: all 0.3s;
}

.iptv-whatsapp-button:hover {
  background: #128c7e;
  transform: scale(1.02);
  color: white;
}

/* Trust Badges */
.iptv-trust-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.iptv-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--iptv-text);
}

/* Modal */
.iptv-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 50%, #f5f0ff 100%);
  z-index: 9999;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  overflow-y: auto;
  margin: 0 !important;
}

.iptv-modal.active {
  display: flex;
}

.iptv-modal-content {
  background: white;
  border-radius: 0;
  padding: 50px 40px;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  position: relative;
  animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.iptv-modal-content > * {
  width: 100%;
  max-width: 480px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.iptv-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  color: var(--iptv-text-light);
  line-height: 1;
  transition: all 0.2s;
  border-radius: 10px;
  background: var(--iptv-bg);
}

.iptv-modal-close:hover {
  color: var(--iptv-text);
  background: var(--iptv-border);
}

/* Modal Header */
.iptv-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.iptv-modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1),
    rgba(118, 75, 162, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--iptv-primary);
}

.iptv-modal-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--iptv-text);
  margin: 0 0 6px 0;
}

.iptv-modal-subtitle {
  font-size: 14px;
  color: var(--iptv-text-light);
  margin: 0;
}

/* Order Summary */
.iptv-form-summary {
  background: linear-gradient(135deg, #f8f9ff, #f0f4ff);
  border: 1px solid rgba(102, 126, 234, 0.12);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}

.iptv-summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--iptv-primary);
}

.iptv-summary-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--iptv-text);
  margin: 0;
}

.iptv-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--iptv-text);
}

.iptv-summary-row > span:first-child {
  color: var(--iptv-text-light);
}

.iptv-summary-total {
  border-top: 2px dashed var(--iptv-border);
  padding-top: 14px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
}

.iptv-summary-total-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--iptv-primary);
}

/* Form Fields Title */
.iptv-form-fields-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--iptv-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--iptv-border);
}

.iptv-form-fields-title svg {
  color: var(--iptv-primary);
}

/* Form Groups */
.iptv-form-group {
  margin-bottom: 16px;
}

.iptv-form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--iptv-text);
  margin-bottom: 6px;
}

.iptv-optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--iptv-text-light);
  background: var(--iptv-bg);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Input with icon */
.iptv-input-wrapper {
  position: relative;
}

.iptv-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--iptv-text-light);
  pointer-events: none;
  transition: color 0.3s;
}

.iptv-input-wrapper input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  font-size: 15px;
  border: 2px solid var(--iptv-border);
  border-radius: 12px;
  transition: all 0.3s;
  background: white;
  color: var(--iptv-text);
}

.iptv-input-wrapper input::placeholder {
  color: #c4cad4;
}

.iptv-input-wrapper input:focus {
  outline: none;
  border-color: var(--iptv-primary);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.08);
}

.iptv-input-wrapper input:focus ~ .iptv-input-icon,
.iptv-input-wrapper:focus-within .iptv-input-icon {
  color: var(--iptv-primary);
}

/* Submit Button */
.iptv-submit-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--iptv-button), #059669);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.iptv-btn-icon {
  flex-shrink: 0;
}

.iptv-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.iptv-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Secure Badge */
.iptv-modal-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--iptv-text-light);
}

/* Responsive - Tablet */
@media (max-width: 768px) {
  .iptv-subscription-wrapper {
    padding: 15px;
    margin: 20px auto;
  }

  .iptv-subscription-card {
    padding: 30px;
    border-radius: 20px;
  }

  .iptv-plan-name {
    font-size: 30px;
  }

  .iptv-price-main span:nth-child(2) {
    font-size: 48px;
  }

  .iptv-currency {
    font-size: 24px;
  }

  .iptv-price-display {
    padding: 25px 20px;
  }

  .iptv-option-item {
    padding: 18px 20px;
  }

  .iptv-modal-content {
    padding: 40px 24px;
  }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
  .iptv-subscription-wrapper {
    padding: 10px;
    margin: 10px auto;
  }

  .iptv-subscription-card {
    padding: 20px 16px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  }

  /* Package Selector */
  .iptv-package-selector-container {
    margin-bottom: 20px;
  }

  .iptv-selector-label {
    font-size: 13px;
    gap: 8px;
    margin-bottom: 10px;
  }

  .iptv-package-select {
    padding: 14px 40px 14px 14px;
    font-size: 14px;
    border-radius: 12px;
    border-width: 2px;
    background-position:
      center,
      right 12px center;
  }

  /* Header */
  .iptv-card-header {
    margin-bottom: 20px;
  }

  .iptv-badge-popular {
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 16px;
    margin-bottom: 10px;
  }

  .iptv-plan-name {
    font-size: 24px;
  }

  .iptv-plan-duration {
    font-size: 14px;
  }

  /* Device Selector */
  .iptv-device-selector {
    padding: 16px 20px;
    gap: 15px;
    border-radius: 14px;
    border-width: 2px;
    margin-bottom: 20px;
  }

  .iptv-device-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .iptv-device-display {
    min-width: 80px;
  }

  .iptv-device-icon {
    width: 26px;
    height: 26px;
  }

  .iptv-device-count {
    font-size: 36px;
    margin: 6px 0;
  }

  .iptv-device-label {
    font-size: 12px;
  }

  /* Price Display */
  .iptv-price-display {
    margin: 20px 0;
    padding: 20px 15px;
    border-radius: 14px;
  }

  .iptv-currency {
    font-size: 22px;
  }

  .iptv-price-main span:nth-child(2) {
    font-size: 40px;
  }

  .iptv-price-period {
    font-size: 15px;
  }

  .iptv-price-monthly {
    font-size: 13px;
  }

  /* Features Grid */
  .iptv-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .iptv-feature-box {
    padding: 12px 14px;
    gap: 10px;
    border-radius: 10px;
  }

  .iptv-feature-box span {
    font-size: 13px;
  }

  .iptv-feature-icon {
    width: 20px;
    height: 20px;
  }

  /* Additional Options */
  .iptv-additional-options {
    margin: 20px 0;
  }

  .iptv-options-title {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .iptv-option-item {
    padding: 16px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .iptv-option-info {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }

  .iptv-option-info h4 {
    font-size: 14px;
  }

  .iptv-option-info p {
    font-size: 12px;
  }

  .iptv-option-price > span {
    font-size: 14px;
  }

  .iptv-toggle {
    width: 52px;
    height: 28px;
  }

  .iptv-toggle-slider:before {
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 1px;
  }

  .iptv-toggle input:checked + .iptv-toggle-slider:before {
    transform: translateX(24px);
  }

  /* CTA Button */
  .iptv-cta-button {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 12px;
  }

  .iptv-guarantee {
    font-size: 12px;
    margin: 15px 0 20px 0;
  }

  /* Payment Methods */
  .iptv-payment-methods {
    padding-top: 20px;
    margin-top: 20px;
  }

  .iptv-payment-title {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .iptv-payment-icons {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .iptv-payment-icon span {
    font-size: 10px;
  }

  /* Trust Badges */
  .iptv-trust-badges {
    gap: 12px;
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
  }

  .iptv-trust-badge {
    font-size: 12px;
    gap: 6px;
  }

  /* WhatsApp Button */
  .iptv-whatsapp-button {
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 12px;
  }

  /* Modal */
  .iptv-modal-content {
    padding: 24px 16px;
  }

  .iptv-modal-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .iptv-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 12px;
  }

  .iptv-modal-icon svg {
    width: 24px;
    height: 24px;
  }

  .iptv-modal-content h2 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .iptv-modal-subtitle {
    font-size: 13px;
  }

  .iptv-modal-header {
    margin-bottom: 18px;
  }

  .iptv-form-summary {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  .iptv-summary-header h3 {
    font-size: 13px;
  }

  .iptv-summary-row {
    font-size: 13px;
    padding: 6px 0;
  }

  .iptv-summary-total {
    font-size: 14px;
  }

  .iptv-summary-total-price {
    font-size: 18px;
  }

  .iptv-form-fields-title {
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .iptv-form-group {
    margin-bottom: 14px;
  }

  .iptv-form-group label {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .iptv-input-wrapper input {
    padding: 12px 12px 12px 38px;
    font-size: 16px; /* Prevents iOS zoom on focus */
    border-radius: 10px;
  }

  .iptv-input-icon {
    left: 12px;
    width: 16px;
    height: 16px;
  }

  .iptv-submit-btn {
    padding: 15px 20px;
    font-size: 15px;
    border-radius: 12px;
  }

  .iptv-modal-secure {
    font-size: 11px;
    margin-top: 12px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .iptv-subscription-card {
    padding: 16px 12px;
  }

  .iptv-plan-name {
    font-size: 22px;
  }

  .iptv-price-main span:nth-child(2) {
    font-size: 34px;
  }

  .iptv-device-selector {
    padding: 14px 16px;
    gap: 10px;
  }

  .iptv-device-count {
    font-size: 30px;
  }

  .iptv-device-btn {
    width: 40px;
    height: 40px;
  }

  .iptv-payment-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .iptv-cta-button {
    padding: 14px 16px;
    font-size: 15px;
  }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  .iptv-device-btn,
  .iptv-cta-button,
  .iptv-submit-btn,
  .iptv-option-item,
  .iptv-package-select {
    -webkit-tap-highlight-color: transparent;
  }

  .iptv-device-btn:hover,
  .iptv-feature-box:hover,
  .iptv-option-item:hover,
  .iptv-package-select:hover {
    transform: none;
    box-shadow: inherit;
  }
}
