* {
  /*box-sizing: border-box;*/
}

body {
 /* font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 20px;*/
}

form {
  max-width: 500px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 10px;
}

input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  background: #5469d4;
  color: #ffffff;
  border-radius: 4px;
  border: 0;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
}

button:hover {
  background: #4355c4;
}

button:disabled {
  opacity: 0.5;
  cursor: default;
}

.hidden {
  display: none;
}

#payment-message {
  color: rgb(105, 115, 134);
  font-size: 16px;
  line-height: 20px;
  padding-top: 12px;
  text-align: center;
}

#payment-element, #address-element {
  margin-bottom: 24px;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #5469d4;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.product-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: #f3f4f6;
  border-radius: 4px;
  border: 1px solid #e6e6e6;
}

@media print {
	.receipt-logo {
        position: absolute !important;
        top: 0px !important;
        right: 0px !important;
    }

    .receipt-logo img {
        width: 150px !important; /* adjust size */
        height: auto !important;
    }
    /* Hide navigation, top bar, background sections, and buttons */
    header, nav, footer, .navbar, .top-bar, .btn, a, #btn-reservar-cita {
        display: none !important;
    }

    /* Reset background restriction and center container */
    body {
        background: #fff !important;
        color: #222 !important;
        font-family: Arial, sans-serif;
    }
    
    .container, .payment-container {
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Force background colors to show in PDF */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Clean Red Header Block for the success message */
    h6.text-dark-gray.fs-30 {
        text-align: center;
        padding: 15px !important;
        font-size: 24px !important;
        border-radius: 4px;
        margin: 20px 0 !important;
    }

    /* Section Headers (Información de Pago, etc.) */
    .info-section .fs-20 {
		text-align: center;
        color: #000 !important;
		font-weight: 600 !important;
        font-size: 18px !important;
        display: block;
        padding-bottom: 3px;
        margin-top: 20px !important;
		margin-bottom: 10px !important;
    }

    /* Clean layout formatting for printing */
    .info-row {
        display: flex !important;
        justify-content: space-between !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #eee !important;
    }
}
