body {
  font-family: 'Segoe UI', sans-serif;
  background: #fefefe;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.container {
  max-width: 500px;
  padding: 20px;
  background: #ffffff;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

h1, h2, h3 {
  color: #333;
}

h1, h3 {
  margin: 5px 0;
}

h2 {
  margin: 10px 0;
}

.pizza-card {
  margin: 20px 0;
}

.pizza-card img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.price {
  display: block;
  font-size: 1.5em;
  color: #27ae60;
  margin-top: 10px;
}

.payment-buttons, .size-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pay-btn, .size-btn {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ccc;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.pay-btn:hover, .size-btn:hover {
  background-color: #f0f0f0;
}

.card-form input,
.bizum-form input {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 80%;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.hidden {
  display: none;
}

.field-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 auto;
}

.field-group .input-icon {
  width: 50%;
  position: relative;
}

.input-icon {
  position: relative;
}

.input-icon .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 1.1em;
  pointer-events: none;
}

.input-icon input {
  width: 100%;
  padding: 10px 10px 10px 35px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.split {
  height: 40px;
  background: transparent;
}

.confirm-btn {
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.confirm-btn:hover {
  background-color: #219150;
}

.bar {
  border: #d2d2d2 solid 1px;
  border-bottom: none;
  margin: 25px 0;
  width: 100%;
}

/* Fondo del modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Contenido del modal */
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  min-width: 300px;
  text-align: center;
}

.dynamic {
	display: none;
}

.spinner {
  display: none;
  width: 8px;
  height: 8px;
  border: 3px solid #ccc;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading .text {
  display: none;
}

.loading .spinner {
  display: inline-block;
}

