/* assets/my-orders-formal.css
   Estilos formales, scopeados bajo #my-orders-formal
   No tocan el resto del sitio.
*/

#my-orders-formal {
 /* max-width: 866px;*/
  /*margin: 0 auto;*/
  background: #ffffff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(17,24,39,0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #0f172a;
}

/* Título */
#my-orders-formal h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
  color: #0b2545;
  letter-spacing: -0.2px;
}

/* Mensajes */
#my-orders-formal #my-orders-ajax-msg {
  margin-bottom: 12px;
  font-weight: 600;
  text-align: center;
}

/* Form grid */
#my-orders-formal .row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cols */
#my-orders-formal .col-50 {
  flex: 1 1 48%;
  min-width: 160px;
}
#my-orders-formal .col-100 {
  flex: 1 1 100%;
}

/* Label */
#my-orders-formal label {
  display: block;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
  font-weight: 600;
}

/* Inputs */
#my-orders-formal input[type="text"],
#my-orders-formal input[type="email"],
#my-orders-formal input[type="number"],
#my-orders-formal input[type="date"],
#my-orders-formal textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6eef8;
  background: #fbfdff;
  font-size: 15px;
  color: #0b2545;
  outline: none;
  transition: box-shadow .12s ease, border-color .12s ease;
  box-shadow: inset 0 -1px 0 rgba(16,24,40,0.02);
}

/* Focus */
#my-orders-formal input:focus,
#my-orders-formal textarea:focus {
  border-color: #7aa7ff;
  box-shadow: 0 6px 18px rgba(32,124,255,0.08);
}

/* Textarea */
#my-orders-formal textarea {
  min-height: 110px;
  resize: vertical;
}

/* Button */
#my-orders-formal .btn-primary {
  display: inline-block;
  width: 100%;
  padding: 11px 14px;
background: linear-gradient(180deg, #099a36 0%, #07912d 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: .2px;
  transition: transform .06s ease, box-shadow .08s ease, opacity .08s ease;
  box-shadow: 0 6px 20px rgba(11,99,214,0.18);
}

#my-orders-formal .btn-primary:active { transform: translateY(1px); }
#my-orders-formal .btn-primary:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}

/* Small helper text */
#my-orders-formal .helper {
  font-size: 12px;
  color: #64748b;
  margin-top: -8px;
  margin-bottom: 10px;
}

/* Responsive tweaks */
@media (max-width:520px){
  #my-orders-formal { padding: 16px; }
  #my-orders-formal .col-50 { flex-basis: 100%; }
}
