/**
 * Estilos del botón de checkout de Mercado Pago
 */

.mp-checkout-container {
  margin: 20px 0;
  text-align: center;
}

.mp-checkout-price {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.mp-checkout-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mp-checkout-button:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
}

.mp-checkout-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.mp-checkout-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
}

.mp-checkout-message.mp-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.mp-checkout-message.mp-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Estilos para botón de cancelación */
.mp-cancel-container {
  margin: 20px 0;
}

.mp-cancel-button {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.mp-cancel-button:hover:not(:disabled) {
  background-color: #c82333;
}

.mp-cancel-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.mp-cancel-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 5px;
}

.mp-cancel-message.mp-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.mp-cancel-message.mp-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Estilos para información de suscripción */
.mp-subscription-info {
  margin: 20px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
  border: 1px solid #dee2e6;
}

.mp-subscription-info p {
  margin: 10px 0;
  font-size: 16px;
}

.mp-subscription-info strong {
  color: #333;
  margin-right: 10px;
}

.mp-subscription-status .mp-status-active {
  color: #28a745;
  font-weight: bold;
}

.mp-subscription-status .mp-status-cancelled {
  color: #dc3545;
  font-weight: bold;
}

.mp-subscription-status .mp-status-expired {
  color: #6c757d;
  font-weight: bold;
}

.mp-subscription-status .mp-status-pending {
  color: #ffc107;
  font-weight: bold;
}

.mp-subscription-status .mp-status-suspended {
  color: #fd7e14;
  font-weight: bold;
}
