/* Form Hero */
.form-hero {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  padding: 60px 20px;
  border-radius: 20px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.form-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.form-hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  backdrop-filter: blur(10px);
}

.form-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.form-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.95;
}

/* Form Card Wrapper */
.form-card-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.form-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Modern Form */
.modern-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-group-modern {
  display: flex;
  flex-direction: column;
}

.form-label-modern {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.form-input-modern,
.form-textarea-modern,
.form-select-modern {
  padding: 14px 18px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.form-input-modern:focus,
.form-textarea-modern:focus,
.form-select-modern:focus {
  outline: none;
  border-color: #4facfe;
  background: white;
  box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.1);
}

.form-textarea-modern {
  resize: vertical;
  font-family: inherit;
}

.code-input {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.form-hint {
  margin-top: 8px;
  color: #6c757d;
  font-size: 0.85rem;
}

/* Radio Group */
.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-content {
  padding: 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.radio-card-content i {
  color: #6c757d;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.radio-card-content span {
  display: block;
  font-weight: 600;
  color: #495057;
}

.radio-card input[type="radio"]:checked + .radio-card-content {
  border-color: #4facfe;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(0, 242, 254, 0.1));
}

.radio-card input[type="radio"]:checked + .radio-card-content i {
  color: #4facfe;
  transform: scale(1.2);
}

.radio-card-content:hover {
  border-color: #4facfe;
  transform: translateY(-2px);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 15px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.btn-form-primary,
.btn-form-secondary {
  flex: 1;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-form-primary {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-form-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn-form-secondary {
  background: #f8f9fa;
  color: #495057;
  border: 2px solid #e9ecef;
}

.btn-form-secondary:hover {
  background: #e9ecef;
  color: #495057;
}

/* Info Card */
.info-card {
  background: linear-gradient(135deg, #fff5e6, #ffe6cc);
  border-radius: 20px;
  padding: 30px;
  border-left: 4px solid #ffc107;
  height: fit-content;
}

.info-card-header {
  font-size: 1.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.info-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-card-body li {
  padding: 10px 0;
  color: #495057;
  line-height: 1.6;
}

.info-card-body li:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-card-body strong {
  color: #2c3e50;
}

/* Responsive */
@media (max-width: 1024px) {
  .form-card-wrapper {
    grid-template-columns: 1fr;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-hero-title {
    font-size: 2rem;
  }
  
  .form-card {
    padding: 25px;
  }
  
  .form-actions {
    flex-direction: column;
  }
}
