:root {
  --primary-gradient: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
  --secondary-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --info-gradient: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
  --card-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

* {
  font-family: 'Kanit', sans-serif;
}

body {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 25%, #ffffff 50%, #fff3e0 75%, #ffcc80 100%);
  min-height: 100vh;
  padding-bottom: 50px;
}

.navbar-custom {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-gradient-primary {
  background: var(--primary-gradient);
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn-gradient-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 152, 0, 0.5);
  color: white;
}

.btn-gradient-success {
  background: var(--success-gradient);
  border: none;
  color: white;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn-gradient-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 152, 0, 0.5);
  color: white;
}

.btn-gradient-secondary {
  background: linear-gradient(135deg, #c3cfe2 0%, #c3cfe2 100%);
  border: none;
  color: #333;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-gradient-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  color: #333;
}

.main-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}

.card-header-gradient {
  background: var(--primary-gradient);
  color: white;
  padding: 25px 30px;
}

.card-header-gradient h2 {
  margin: 0;
  font-weight: 600;
}

.section-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 20px;
  border: none;
}

.section-card-camfeed {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.section-card-imagetarget {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.section-card-bundle {
  background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
}

.section-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title .material-icons {
  font-size: 1.5rem;
  color: #ff9800;
}

.form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.form-control, .form-select {
  border-radius: 12px;
  border: 2px solid #e0e0e0;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #4facfe;
  box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.15);
}

.form-check-input {
  width: 1.3em;
  height: 1.3em;
  margin-top: 0.1em;
}

.form-check-input:checked {
  background-color: #4facfe;
  border-color: #4facfe;
}

.form-check-label {
  margin-left: 5px;
  font-weight: 500;
}

.xyz-input-group {
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}

.xyz-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4facfe;
  margin-bottom: 10px;
}

.input-group-text {
  background: var(--primary-gradient);
  color: white;
  border: none;
  font-weight: 600;
  min-width: 45px;
  justify-content: center;
}

.radio-group {
  display: flex;
  gap: 20px;
  padding: 10px 0;
}

.radio-card {
  background: white;
  border-radius: 12px;
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.radio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.radio-card.active {
  border-color: #4facfe;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
}

.file-upload-area {
  border: 3px dashed #c3cfe2;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.5);
}

.file-upload-area:hover {
  border-color: #4facfe;
  background: rgba(79, 172, 254, 0.05);
}

.file-upload-area .material-icons {
  font-size: 3rem;
  color: #4facfe;
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.4rem;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}
