/*---- Estilos Extras y Variantes Rediseño Premium ----*/

.main-extra, .content-variante {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  min-height: 70px;
  border-radius: 12px;
  margin: 8px;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  box-sizing: border-box;
  width: 170px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Hover effect with soft lift & blue glow */
.main-extra:hover, .content-variante:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
}

/* Active states - Premium soft blue background & solid blue border */
.extra-active, .selectVariantes {
  background-color: #eff6ff !important;
  border: 2px solid #3b82f6 !important;
  box-shadow: 0 8px 12px -3px rgba(59, 130, 246, 0.15) !important;
}

.main-extra__uno {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.main-extra__two, .dataradio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  flex-grow: 1;
  text-align: left;
}

.main-extra__two span, .dataradio div {
  font-family: 'Inter', 'Outfit', 'Segoe UI', sans-serif;
  color: #1e293b;
  cursor: pointer;
}

/* Extra name / Variant name styling */
.main-extra__two span:first-child, .dataradio div:first-child {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
  line-height: 1.2;
}

/* Extra price / Variant price styling */
.main-extra__two span:last-child, .dataradio div:last-child {
  font-weight: 600;
  font-size: 12px;
  color: #3b82f6;
  background-color: #f1f5f9;
  padding: 2px 8px;
  border-radius: 20px;
  margin-top: 4px;
  display: inline-block;
}

.extra-active .main-extra__two span:last-child, .selectVariantes .dataradio div:last-child {
  background-color: #3b82f6;
  color: #ffffff;
}

/* Customized inputs style */
.check_extra, .radio {
  transform: scale(1.3);
  cursor: pointer;
  accent-color: #3b82f6;
}

/* Absolute Positioned Sin-Extra (Tachar / Omitir) Option */
.sin-extra {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 16px;
  color: #94a3b8;
  transition: all 0.2s ease;
  cursor: pointer;
  z-index: 10;
}

.sin-extra:hover {
  color: #ef4444;
  transform: scale(1.15);
}

.active-sin-extra {
  color: #ef4444 !important;
}

/* Tachar / Omitir Active State - Red tint, red border & strikethrough */
.active-tachar-content {
  background-color: #fef2f2 !important;
  border: 2px dashed #f87171 !important;
  box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.05) !important;
}

.active-tachar-extra {
  text-decoration: line-through !important;
  text-decoration-color: #ef4444 !important;
  color: #64748b !important;
  opacity: 0.75;
}

.active-tachar-content .main-extra__two span:last-child {
  background-color: #fee2e2;
  color: #ef4444;
}

/* Checked and Hover styles for the add option checkbox cards */
.option-checkbox-container:hover {
  border-color: #3b82f6 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05) !important;
}
.option-checkbox-container.checked {
  background-color: #eff6ff !important;
  border: 1.5px solid #3b82f6 !important;
  box-shadow: 0 8px 12px -3px rgba(59, 130, 246, 0.15) !important;
}

/*---- Modern POS Payment Modals Redesign ----*/

.modal-modern-pos .modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}

.modal-modern-pos .modal-dialog.modal-lg {
  max-width: 800px;
}

.modal-modern-pos .modal-dialog.modal-xl {
  max-width: 1140px;
}

.modal-modern-pos .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  background-color: #ffffff;
}

.modal-modern-pos .modal-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 16px 24px;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.modal-modern-pos .modal-header .modal-title {
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', 'Outfit', sans-serif;
}

.modal-modern-pos .modal-header .close {
  color: #ffffff;
  opacity: 0.8;
  text-shadow: none;
  outline: none;
  margin: 0;
  padding: 0;
  font-size: 24px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.modal-modern-pos .modal-header .close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-modern-pos .modal-body {
  padding: 24px;
  background-color: #f8fafc;
}

/* Info Grid */
.modal-modern-pos .modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.modal-modern-pos .modal-info-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.2s ease;
}

.modal-modern-pos .modal-info-card.full-width {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.modal-modern-pos .modal-info-card.bg-light-blue {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}

.modal-modern-pos .modal-info-card.border-primary {
  border-color: #bfdbfe;
  background-color: #f8fafc;
}

.modal-modern-pos .info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.modal-modern-pos .info-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
}

.modal-modern-pos .info-card-value {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
}

.modal-modern-pos .info-card-value.primary {
  color: #3b82f6;
}

.modal-modern-pos .info-card-value.text-2xl {
  font-size: 22px;
}

/* Form Fields */
.modal-modern-pos .modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-modern-pos .modal-form-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  font-family: 'Inter', sans-serif;
}

.modal-modern-pos .modal-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.modal-modern-pos .modal-input-icon {
  position: absolute;
  left: 14px;
  color: #94a3b8;
  pointer-events: none;
  z-index: 10;
  font-size: 14px;
}

.modal-modern-pos .modal-input-modern {
  width: 100%;
  height: 44px;
  padding: 10px 16px 10px 42px !important;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 14px;
  color: #1e293b;
  transition: all 0.2s ease;
  outline: none;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.modal-modern-pos select.modal-input-modern {
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.modal-modern-pos .modal-input-modern:hover {
  border-color: #cbd5e1;
}

.modal-modern-pos .modal-input-modern:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Specific Wrapper Highlighting */
.modal-modern-pos .modal-input-wrapper.highlight-success .modal-input-modern {
  border-color: #86efac;
  background-color: #f0fdf4;
  color: #166534;
  font-weight: 700;
}

.modal-modern-pos .modal-input-wrapper.highlight-success .modal-input-modern:focus {
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.modal-modern-pos .modal-input-wrapper.highlight-success .modal-input-icon {
  color: #22c55e;
}

/* Input Group styling */
.modal-modern-pos .input-group {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.modal-modern-pos .input-group .modal-input-modern {
  flex-grow: 1;
  border-radius: 12px 0 0 12px;
  border-right: none;
}

.modal-modern-pos .input-group .btn-add-client {
  border-radius: 0 12px 12px 0;
  background-color: #3b82f6;
  color: #ffffff;
  border: 2px solid #3b82f6;
  padding: 0 16px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-modern-pos .input-group .btn-add-client:hover {
  background-color: #2563eb;
  border-color: #2563eb;
}

/* Stacking discount input group */
.modal-modern-pos .input-group-prepend .input-group-text {
  border-radius: 12px 0 0 12px !important;
  border: 2px solid #e2e8f0 !important;
  border-right: none !important;
  background-color: #ffffff !important;
  color: #94a3b8 !important;
  padding: 0 14px;
  display: flex;
  align-items: center;
}

.modal-modern-pos .modal-form-group .input-group .modal-input-modern {
  border-radius: 0 12px 12px 0 !important;
  padding-left: 14px !important;
}

/* Change Display */
.modal-modern-pos .change-display-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0fdf4;
  border: 2px dashed #4ade80;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 16px;
}

.modal-modern-pos .change-label {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
}

.modal-modern-pos .change-value {
  font-size: 20px;
  font-weight: 800;
  color: #15803d;
  font-family: 'Inter', sans-serif;
}

/* Modal Footer */
.modal-modern-pos .modal-footer {
  background-color: #f1f5f9;
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.modal-modern-pos .btn-modal-dismiss {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #64748b;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  outline: none;
}

.modal-modern-pos .btn-modal-dismiss:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}

.modal-modern-pos .btn-modal-action {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 13px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  font-family: 'Inter', sans-serif;
  outline: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-modern-pos .btn-modal-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(59, 130, 246, 0.4);
}

/*---- Opciones de Impresión Modal Rediseño Premium ----*/
.modal-modern-pos .btn-print-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-align: left;
  outline: none;
  box-sizing: border-box;
}

.modal-modern-pos .btn-print-option:hover {
  transform: translateY(-2px);
  border-color: #3b82f6;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
}

.modal-modern-pos .print-option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: #fef3c7; /* Soft amber/orange for kitchen */
  color: #d97706;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.modal-modern-pos .print-option-icon.secondary {
  background-color: #dbeafe; /* Soft blue/purple for bar */
  color: #2563eb;
}

.modal-modern-pos .btn-print-option:hover .print-option-icon {
  transform: scale(1.08);
}

.modal-modern-pos .print-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.modal-modern-pos .print-option-text .title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  font-family: 'Inter', 'Outfit', sans-serif;
}

.modal-modern-pos .print-option-text .subtitle {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  font-family: 'Inter', 'Outfit', sans-serif;
}
