/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: linear-gradient(to bottom, #f0f4f8, #ffffff);
  color: #333;
  line-height: 1.6;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Page Header */
/*.page-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 2px solid #e2e8f0;
}

.page-header h1 {
  font-size: 32px;
  color: #6c5ce7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
*/


/* Main Content Layout */
.main-content {
  display: flex;
  flex-direction: row;
  gap: 30px;
}

@media (max-width: 992px) {
  .main-content {
    flex-direction: column-reverse;
  }
}

/* Form Container */
.form-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 50px;
  flex: 1;
}

/* Form Header */
.form-header {
  background-color: #3b82f6;
  color: white;
  padding: 20px 30px;
  text-align: center;
}

.form-header h1 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

/* Form Sections */
.form-section {
  padding: 25px 30px;
  border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
  border-bottom: none;
}

.section-title {
  color: #2563eb;
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background-color: #3b82f6;
}

/* Form Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Form Groups & Controls */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #1f2937;
}

input, select, textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input::placeholder, select::placeholder, textarea::placeholder {
  color: #9ca3af;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 40px;
  appearance: none;
}

.required {
  color: #ef4444;
  font-weight: bold;
}

.conditional-field {
  margin-top: 15px;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #f9fafb;
}

/* Captcha Section */
.captcha-section {
  display: flex;
  justify-content: center;
}

.captcha-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.captcha-field {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-image {
  height: 40px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
}

.captcha-section input {
  width: 120px;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: center;
  padding: 20px 30px 30px;
}

.submit-button {
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submit-button:hover {
  background-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

/* Error Styles */
.error-border {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px #ef4444 !important;
}

/* Sidebar & Package Info */
.sidebar {
  width: 380px;
}

@media (max-width: 992px) {
  .sidebar {
    width: 100%;
  }
}

/* Package Info Section */
.package-info {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.package-info h2 {
  color: #2563eb;
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.package-info h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  width: 100px;
  height: 2px;
  background-color: #3b82f6;
}

.package-description {
  margin-bottom: 20px;
}

.package-description p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #4b5563;
}

.feature-list {
  display: inline-block;
  text-align: left;
  list-style: none;
  margin: 0 auto;
  padding: 15px 25px;
  background-color: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
}

.feature-list li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list li i {
  color: #22c55e;
  margin-right: 10px;
  font-size: 18px;
}

/* Price Box */
.price-box {
  background-color: #2563eb;
  border-radius: 10px;
  color: white;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.price-box h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
}

.price {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.payment-info {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
}

.payment-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

.payment-select {
  background-color: rgba(255, 255, 255, 0.9);
  color: #1e40af;
  border-radius: 6px;
  padding: 10px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.payment-details {
  font-size: 14px;
  line-height: 1.4;
}

.payment-details p:nth-child(1),
.payment-details p:nth-child(4) {
  margin-top: 12px;
  opacity: 0.8;
}

.payment-details p:nth-child(2),
.payment-details p:nth-child(5) {
  font-weight: 600;
}

/* Pricing Table */
.pricing-table {
  margin: 20px auto;
  max-width: 600px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pricing-table thead th {
  background-color: #3b82f6;
  color: white;
  padding: 15px;
  font-weight: 600;
  text-align: center;
}

.pricing-table tbody td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background-color: #f0f9ff;
  transition: background-color 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-section {
    padding: 20px;
  }
  
  .form-header h1 {
    font-size: 20px;
  }
  
  .captcha-field {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .package-info {
    padding: 20px 15px;
  }
  
  .package-info h2 {
    font-size: 22px;
  }
  
  .feature-list {
    padding: 10px 15px;
  }
  
  .pricing-table table {
    font-size: 14px;
  }
  
  .pricing-table thead th,
  .pricing-table tbody td {
    padding: 10px 5px;
  }
}