/* License Update Page Styles */

/* Page-specific styles */
.license-update-section {
  padding: 60px 0;
}

.license-update-header {
  text-align: center;
  margin-bottom: 24px;
}

.license-update-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}

.license-update-intro {
  color: var(--gray);
  max-width: 740px;
  margin: 10px auto 0 auto;
}

.license-update-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.license-update-form {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.license-update-form-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.license-update-form-field {
  margin-bottom: 14px;
}

.license-update-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.license-update-input,
.license-update-select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.license-update-price {
  margin: 10px 0;
  font-weight: 700;
  color: var(--dark);
}

.license-update-reseller {
  margin: 6px 0 0 0;
  color: #6B7280;
  font-size: 0.95rem;
  display: none;
}

.license-update-buttons {
  display: flex;
  gap: 10px;
}

.license-update-btn {
  border: none;
  cursor: pointer;
}

.license-update-btn-checkout {
  background: var(--dark);
}

.license-update-note {
  color: var(--gray);
  font-size: 14px;
  margin-top: 10px;
}

.license-update-aside {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e5e7eb;
}

.license-update-aside-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.license-update-aside-list {
  color: var(--gray);
  list-style: disc;
  padding-left: 18px;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  /* Change grid to single column on mobile */
  .license-update-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Adjust section padding for mobile */
  .license-update-section {
    padding: 40px 0 !important;
  }

  /* Header adjustments */
  .license-update-header {
    margin-bottom: 20px !important;
  }

  .license-update-title {
    font-size: 1.75rem !important;
  }

  .license-update-intro {
    font-size: 0.95rem !important;
    margin: 8px auto 0 auto !important;
  }

  /* Form container adjustments */
  .license-update-form {
    padding: 20px !important;
  }

  /* Form fields - ensure touch-friendly */
  .license-update-input,
  .license-update-select {
    padding: 14px 16px !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
  }

  /* Buttons - make touch-friendly */
  .license-update-btn {
    padding: 14px 20px !important;
    font-size: 1rem !important;
    min-height: 48px !important; /* Minimum touch target */
  }

  /* Button container - stack on very small screens */
  .license-update-buttons {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Price display */
  .license-update-price {
    font-size: 1.1rem !important;
    margin: 12px 0 !important;
  }

  /* Reseller note */
  .license-update-reseller {
    font-size: 0.9rem !important;
    margin: 8px 0 0 0 !important;
  }

  /* Note text */
  .license-update-note {
    font-size: 13px !important;
    margin-top: 12px !important;
  }

  /* Aside adjustments */
  .license-update-aside {
    padding: 20px !important;
  }

  .license-update-aside-title {
    font-size: 1rem !important;
    margin-bottom: 12px !important;
  }

  .license-update-aside-list {
    padding-left: 20px !important;
  }

  .license-update-aside li {
    margin-bottom: 8px !important;
  }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 480px) {
  .license-update-section {
    padding: 30px 0 !important;
  }

  .license-update-title {
    font-size: 1.5rem !important;
  }

  .license-update-form {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .license-update-aside {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .license-update-form-field {
    margin-bottom: 16px !important;
  }

  .license-update-label {
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
  }
}