/* AI Content Page Styles */
.ai-content-form .form-page {
  max-width: 800px;
  margin: 0 auto;
}

.ai-content-form .form-container {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ai-content-form .form-container h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px 0;
}

.ai-content-form .form-description {
  color: #64748b;
  font-size: 1rem;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.ai-content-form .form-group {
  margin-bottom: 28px;
}

.ai-content-form .form-group label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 12px;
}

/* Content Type Selector */
.content-type-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.content-type-option {
  cursor: pointer;
  display: block;
}

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

.content-type-card {
  padding: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.2s ease;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content-type-option:hover .content-type-card {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.content-type-option input[type="radio"]:checked + .content-type-card {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.content-type-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.content-type-description {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* Form Inputs */
.ai-content-form .form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: white;
  font-family: inherit;
  box-sizing: border-box;
}

.ai-content-form .form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.ai-content-form .form-input::placeholder {
  color: #94a3b8;
}

.ai-content-form textarea.form-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.ai-content-form select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.ai-content-form .form-help {
  display: block;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Form Actions */
.ai-content-form .form-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}

.ai-content-form .form-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
}

.ai-content-form .form-actions .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}

.ai-content-form .form-actions .btn-link {
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
}

.ai-content-form .form-actions .btn-link:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1a1a2e;
  text-decoration: none;
}

/* AI Icon/Indicator */
.ai-content-form .form-container h1::before {
  content: '✨';
  display: inline-block;
  margin-right: 12px;
  font-size: 1.75rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .ai-content-form .form-container {
    padding: 24px;
  }

  .ai-content-form .form-container h1 {
    font-size: 1.5rem;
  }

  .ai-content-form .form-description {
    font-size: 0.9375rem;
  }

  .content-type-selector {
    grid-template-columns: 1fr;
  }

  .content-type-card {
    padding: 16px;
  }

  .content-type-title {
    font-size: 1rem;
  }

  .content-type-description {
    font-size: 0.8125rem;
  }

  .ai-content-form .form-actions {
    flex-direction: column;
  }

  .ai-content-form .form-actions .btn-primary,
  .ai-content-form .form-actions .btn-link {
    width: 100%;
    text-align: center;
  }

  .ai-content-form textarea.form-input {
    min-height: 100px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .content-type-selector {
    grid-template-columns: repeat(2, 1fr);
  }
}

