/* ========================================
   NUEVO FORMULARIO DE GASTOS - Diseño Moderno
   ======================================== */

.expense-form-card-new {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

/* HEADER LIMPIO */
.expense-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}

.expense-cancel-btn,
.expense-save-btn {
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.expense-cancel-btn {
  color: #64748b;
}

.expense-cancel-btn:hover {
  background: #f1f5f9;
  color: #475569;
}

.expense-save-btn {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

.expense-save-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* FORMULARIO NUEVO */
.expense-form-new {
  padding: 32px 24px;
}

/* INPUT GIGANTE CENTRAL */
.amount-giant-wrapper {
  text-align: center;
  margin-bottom: 32px;
}

.amount-giant-input {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.currency-symbol-giant {
  font-size: 48px;
  font-weight: 700;
  color: #94a3b8;
  margin-right: 8px;
}

.amount-input-giant {
  font-size: 64px;
  font-weight: 700;
  color: #1e293b;
  border: none;
  outline: none;
  background: transparent;
  width: 300px;
  text-align: left;
  caret-color: #0ea5e9;
}

.amount-input-giant::placeholder {
  color: #cbd5e1;
}

.amount-input-giant:focus {
  color: #0ea5e9;
}

.currency-label {
  font-size: 18px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 2px;
}

/* PILLS DE SELECCIÓN RÁPIDA */
.quick-pills {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.pill-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pill-btn:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
  background: #f0f9ff;
}

.pill-btn.active {
  border-color: #0ea5e9;
  background: #0ea5e9;
  color: #fff;
}

.pill-btn i {
  font-size: 13px;
}

/* SELECTORES VISUALES CON ICONOS */
.visual-selectors {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-selector-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.visual-selector-item:hover {
  border-color: #0ea5e9;
  background: #f0f9ff;
  transform: translateX(4px);
}

.selector-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  margin-right: 16px;
}

.selector-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.selector-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.selector-value {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.selector-arrow {
  color: #cbd5e1;
  font-size: 16px;
  margin-left: 12px;
}

.visual-selector-item:hover .selector-arrow {
  color: #0ea5e9;
  transform: translateX(4px);
}

/* INPUT DE DESCRIPCIÓN INLINE */
.description-input-inline {
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  outline: none;
  width: 100%;
  padding: 0;
}

.description-input-inline::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

/* OCULTAR SELECTS NATIVOS */
.hidden-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .amount-input-giant {
    font-size: 48px;
    width: 240px;
  }

  .currency-symbol-giant {
    font-size: 36px;
  }

  .currency-label {
    font-size: 16px;
  }

  .expense-form-new {
    padding: 24px 16px;
  }

  .visual-selector-item {
    padding: 14px;
  }

  .selector-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .amount-input-giant {
    font-size: 40px;
    width: 200px;
  }

  .currency-symbol-giant {
    font-size: 32px;
  }

  .quick-pills {
    gap: 6px;
  }

  .pill-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}
