/* AIROD PPC - MyAccount menu icons (SVG, update-safe) */

.woocommerce-MyAccount-navigation-link--dashboard a,
.woocommerce-MyAccount-navigation-link--ppc-company a,
.woocommerce-MyAccount-navigation-link--ppc-feeds a,
.woocommerce-MyAccount-navigation-link--ppc-products a,
.woocommerce-MyAccount-navigation-link--ppc-categories a,
.woocommerce-MyAccount-navigation-link--edit-account a,
.woocommerce-MyAccount-navigation-link--customer-logout a{
  display:flex;
  align-items:center;
  gap:10px;
}
.woocommerce-MyAccount-navigation-link--dashboard a:before,
.woocommerce-MyAccount-navigation-link--ppc-company a:before,
.woocommerce-MyAccount-navigation-link--ppc-feeds a:before,
.woocommerce-MyAccount-navigation-link--ppc-products a:before,
.woocommerce-MyAccount-navigation-link--ppc-categories a:before,
.woocommerce-MyAccount-navigation-link--edit-account a:before,
.woocommerce-MyAccount-navigation-link--customer-logout a:before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 16px;
  opacity:.65;
  background-repeat:no-repeat;
  background-position:center;
  background-size:16px 16px;
}
/* Firma */
.woocommerce-MyAccount-navigation-link--ppc-company a:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 9h.01'/%3E%3Cpath d='M9 12h.01'/%3E%3Cpath d='M9 15h.01'/%3E%3Cpath d='M15 9h.01'/%3E%3Cpath d='M15 12h.01'/%3E%3Cpath d='M15 15h.01'/%3E%3C/svg%3E");
}

/* Feed-uri */
.woocommerce-MyAccount-navigation-link--ppc-feeds a:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11a9 9 0 0 1 9 9'/%3E%3Cpath d='M4 4a16 16 0 0 1 16 16'/%3E%3Ccircle cx='5' cy='19' r='1'/%3E%3C/svg%3E");
}

/* Produsele mele */
.woocommerce-MyAccount-navigation-link--ppc-products a:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.3 7l8.7 5 8.7-5'/%3E%3Cpath d='M12 22V12'/%3E%3C/svg%3E");
}

/* Mapare categorii */
.woocommerce-MyAccount-navigation-link--ppc-categories a:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41 12 22 2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
}

/* === Custom endpoints (Wallet / Facturi / Trusted) ===
   Tema ta afișează iconul în DREAPTA. Pentru endpoint-urile custom, completăm iconul în DREAPTA
   fără să modificăm layout-ul link-ului (fără indent / fără flex / fără icon în stânga).
*/
.woocommerce-MyAccount-navigation-link--ppc-wallet a,
.woocommerce-MyAccount-navigation-link--ppc_wallet a,
.woocommerce-MyAccount-navigation-link--wallet a,
.woocommerce-MyAccount-navigation-link--ppc-invoices a,
.woocommerce-MyAccount-navigation-link--ppc_invoices a,
.woocommerce-MyAccount-navigation-link--invoices a,
.woocommerce-MyAccount-navigation-link--facturi a,
.woocommerce-MyAccount-navigation-link--ppc-trusted a,
.woocommerce-MyAccount-navigation-link--ppc_trusted a,
.woocommerce-MyAccount-navigation-link--trusted a{
  position:relative;
  padding-right:28px;
}

.woocommerce-MyAccount-navigation-link--ppc-wallet a:after,
.woocommerce-MyAccount-navigation-link--ppc_wallet a:after,
.woocommerce-MyAccount-navigation-link--wallet a:after,
.woocommerce-MyAccount-navigation-link--ppc-invoices a:after,
.woocommerce-MyAccount-navigation-link--ppc_invoices a:after,
.woocommerce-MyAccount-navigation-link--invoices a:after,
.woocommerce-MyAccount-navigation-link--facturi a:after,
.woocommerce-MyAccount-navigation-link--ppc-trusted a:after,
.woocommerce-MyAccount-navigation-link--ppc_trusted a:after,
.woocommerce-MyAccount-navigation-link--trusted a:after{
  content:"";
  width:16px;
  height:16px;
  opacity:.65;
  background-repeat:no-repeat;
  background-position:center;
  background-size:16px 16px;
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  pointer-events:none;
}

/* Wallet */
.woocommerce-MyAccount-navigation-link--ppc-wallet a:after,
.woocommerce-MyAccount-navigation-link--ppc_wallet a:after,
.woocommerce-MyAccount-navigation-link--wallet a:after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-1'/%3E%3Cpath d='M21 12H17a2 2 0 0 1 0-4h4v8h-4a2 2 0 0 1 0-4'/%3E%3Cpath d='M17 12h.01'/%3E%3C/svg%3E");
}

/* Facturi / Invoices */
.woocommerce-MyAccount-navigation-link--ppc-invoices a:after,
.woocommerce-MyAccount-navigation-link--ppc_invoices a:after,
.woocommerce-MyAccount-navigation-link--invoices a:after,
.woocommerce-MyAccount-navigation-link--facturi a:after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16l3-2 3 2 3-2 3 2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h6'/%3E%3C/svg%3E");
}

/* Trusted */
.woocommerce-MyAccount-navigation-link--ppc-trusted a:after,
.woocommerce-MyAccount-navigation-link--ppc_trusted a:after,
.woocommerce-MyAccount-navigation-link--trusted a:after{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}

/* Active state */
.woocommerce-MyAccount-navigation .is-active a:before{opacity:1;}
.woocommerce-MyAccount-navigation a:hover:before{opacity:.9;}

/* Active + hover și pe iconurile din dreapta */
.woocommerce-MyAccount-navigation .is-active a:after{opacity:1;}
.woocommerce-MyAccount-navigation a:hover:after{opacity:.9;}
