/* ==========================================================================
   Jathagam Experience — Create Chart Form  (mobile-first)
   ========================================================================== */

.jathagam-exp-create-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px;
  background: linear-gradient(135deg, #fefaff 0%, #f3eaff 100%);
  border: 2px solid #7b2cbf;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(123, 44, 191, 0.12);
}

.jathagam-exp-create-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #7b2cbf;
  text-align: center;
  margin: 0 0 1.25rem;
  line-height: 1.4;
}

/* Form inputs */
.jathagam-exp-create-card .form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.jathagam-exp-create-card .form-control,
.jathagam-exp-create-card .form-select {
  font-size: 0.92rem;
  border: 1.5px solid #d3b8e8;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  transition: border-color 0.2s;
}

.jathagam-exp-create-card .form-control:focus,
.jathagam-exp-create-card .form-select:focus {
  border-color: #7b2cbf;
  box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.12);
}

/* Submit area */
.jathagam-exp-create-actions {
  text-align: center;
  margin-top: 1.25rem;
}

.jathagam-exp-btn-submit {
  display: inline-block;
  background: linear-gradient(90deg, #7b2cbf, #c792e9);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 2rem;
  border-radius: 10px;
  border: none;
  width: 100%;
  max-width: 320px;
  transition: opacity 0.2s;
}

.jathagam-exp-btn-submit:hover {
  opacity: 0.9;
  color: #fff;
}

.jathagam-exp-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Format hint below date input */
.form-hint {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
  display: block;
}

/* Place validation error */
.jathagam-exp-field-error {
  border: 2px solid red !important;
}

/* Error alert */
.jathagam-exp-create-card .alert-danger {
  font-size: 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Prompt 40: field meta (counter + inline error text) */
.jathagam-exp-field-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  padding: 0 2px;
}

.jathagam-exp-char-count {
  font-size: 0.72rem;
  color: #9a8bb0;
}

.jathagam-exp-field-error-text {
  font-size: 0.75rem;
  color: #d32f2f;
  text-align: right;
}

/* ---- Tablet and up ---- */
@media (min-width: 768px) {
  .jathagam-exp-create-card {
    padding: 32px 28px;
  }

  .jathagam-exp-create-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Prompt 94 — Create Jathagam page micro-UX improvements
   ========================================================================== */

/* Step indicator — circle style */
.jathagam-exp-step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1rem;
}

.jathagam-exp-step-indicator .step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  background: #fff;
  color: #ccc;
  border: 2px solid #ccc;
}

.jathagam-exp-step-indicator .step.active {
  background: #7b2cbf;
  color: #fff;
  border: 2px solid #7b2cbf;
}

.jathagam-exp-step-indicator .step-line {
  width: 40px;
  height: 2px;
  background: #ccc;
}

/* Reassurance text */
.jathagam-exp-reassurance {
  text-align: center;
  font-size: 0.82rem;
  color: #666;
  margin: 0 0 1rem;
  line-height: 1.5;
}

/* Value text above submit */
.jathagam-exp-value-text {
  font-size: 0.85rem;
  color: #7b2cbf;
  font-weight: 500;
  margin: 0 0 0.75rem;
  text-align: center;
  line-height: 1.4;
}
