/**
 * World ID WordPress Plugin - WooCommerce Styles
 */

/* Estilos existentes */
.world-id-woocommerce-container {
  margin: 24px 0;
  text-align: center;
}

.world-id-woocommerce-separator {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.world-id-woocommerce-separator::before,
.world-id-woocommerce-separator::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 30px);
  height: 1px;
  background-color: #e5e5e5;
}

.world-id-woocommerce-separator::before {
  left: 0;
}

.world-id-woocommerce-separator::after {
  right: 0;
}

.world-id-woocommerce-separator span {
  background-color: #fff;
  padding: 0 15px;
  color: #6d6d6d;
  font-size: 14px;
}

/* Novos estilos para a página da loja */
.world-id-shop-container {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.world-id-shop-message {
  font-size: 16px;
  margin-bottom: 15px;
  color: #333;
}

/* Estilo específico para o botão na loja */
.world-id-button.woocommerce-shop {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background-color: var(--wc-primary, #a46497);
  border-radius: 3px;
  padding: 16px 24px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.world-id-button.woocommerce-shop:hover {
  background-color: var(--wc-primary-dark, #935386);
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .world-id-shop-container {
    margin: 10px;
    padding: 15px;
  }

  .world-id-button.woocommerce-shop {
    width: 100%;
    max-width: none;
  }
}

/* Estilos para o carrinho e checkout */
.woocommerce-cart .world-id-woocommerce-container,
.woocommerce-checkout .world-id-woocommerce-container {
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
}

/* Ajustes para o tema do WooCommerce */
.woocommerce .world-id-button {
  margin: 10px auto;
}

.woocommerce-checkout .world-id-woocommerce-container {
  margin-bottom: 30px;
}

/* Status messages */
.world-id-status {
  margin-top: 15px;
  padding: 10px;
  border-radius: 3px;
}

.world-id-status-loading {
  background-color: #f7f7f7;
  border: 1px solid #d3d3d3;
}

.world-id-status-success {
  background-color: #f7fff7;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.world-id-status-error {
  background-color: #fff7f7;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

