@charset "UTF-8";
/* CSS Document */

/*.bg-black-wallpaper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}*/

.bg-black-wallpaper-no {
  display: none;
}

.social-dialog-box1 {
  /*width: 50%;
    height: 185px;
    margin-left: calc(-25% - 25px);
    margin-top: -92.5px;
    top: 50%;
    left: 50%;
    position: fixed;
    background-color: #fff;
    border: 1px solid rgb(243, 243, 243);
    border-radius: 25px;
    overflow: hidden;
    padding: 25px;
    animation-name: social2;
    animation-duration: 0.5s;
			opacity: 0;*/
  display: none;
}

/*@keyframes social2 {
  0%   {	opacity: 1;}
  99% {	opacity: 0;display:block;}
100% {	display: none; }
}*/



.social-dialog-box2 {
  width: 50%;
  height: 185px;
  margin-left: calc(-25% - 25px);
  margin-top: -92.5px;
  top: 50%;
  left: 50%;
  position: fixed;
  background-color: #fff;
  border: 1px solid rgb(243, 243, 243);
  border-radius: 25px;
  /*overflow: hidden;*/
  padding: 25px;
  animation-name: social;
  animation-duration: 0.2s;
  transform: scale(1);
}

@keyframes social {
  0% {
    transform: scale(0)
  }

  100% {
    transform: scale(1)
  }
}

.contenitor-social-icon {
  white-space: nowrap;
  overflow-x: scroll;
  overflow-y: hidden;
}

.social-dialog-box {
  display: none
}

.social-dialog-box2>.contenitor-hide-border>.contenitor-social-icon>a,
.social-dialog-box1 .contenitor-hide-border>.contenitor-social-icon>a {
  width: 60px;
  height: 120px;
  margin: 0 5px;

  display: inline-block;
  vertical-align: middle;
}


.social-dialog-box2>.contenitor-hide-border>.contenitor-social-icon>a>img,
.social-dialog-box1>.contenitor-hide-border>.contenitor-social-icon>a>img,
.contenitor-copy-link {
  width: 100%;
  float: left;
  position: relative;
}

.social-dialog-box2>.contenitor-hide-border>.contenitor-social-icon>a>label,
.social-dialog-box1>.contenitor-hide-border>.contenitor-social-icon>a>label {
  width: 100%;
  float: left;
  font-size: 13px;
  font-family: sans-serif;
  text-align: center;
  color: #111;
  margin-top: 7px;
}

.contenitor-hide-border {
  width: 100%;
  height: 80px;
  overflow: hidden;
}

.contenitor-copy-link {
  margin-top: 16px;
}

.contenitor-label-icon {
  width: 100%;
  margin: 13px 0;
  font-family: sans-serif;
  position: relative;
}

.contenitor-label-icon>img {
  width: 14px;
  position: absolute;
  right: 0;
}

.link-social {
  width: calc(100% - 8px);
  border: 0;
  background-color: #f6f7fb;
  padding: 8px 0 8px 8px;
  color: #9299a4;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  border: 1px solid #ededed;
}

.link-social-hide {
  width: 0;
  height: 0;
  opacity: 0;
  border: 0;
  margin: 0;
  padding: 0
}

.link-text {

  width: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  float: left;
}

.button-copy {
  border: 0;
  padding: 1px 9px;
  color: #5878ed;
  background: transparent;
  margin: 0;
  position: absolute;
  right: 0;
}



@media screen and (max-width: 890px) {

  /*.social-dialog-box1,.social-dialog-box2 {
    width: 80%;
    margin-left: calc(-40% - 25px);
   
   
}*/
  .social-dialog-box1,
  .social-dialog-box2 {
    width: calc(100% - 50px);
    left: 0;
    margin-left: 0px;
    top: auto;
    bottom: 0;
    border-radius: 0;
    animation-name: social;
    animation-duration: 0.2s;
    transform: scale(1);
  }

  @keyframes social {
    0% {
      bottom: -300px;
    }

    100% {
      bottom: 0;
    }
  }
}

/* SCOPED AUTH DIALOG STYLES - Only affects login/auth dialogs */
.auth-dialog {
  clear: both;
  width: 100%;
	float: left;
}

/* WIDGET FORM_CREATE: Override prioritario per evitare conflitti */
.form-create-login-block .auth-dialog {
  margin-top: 0;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
}

.form-create-login-block .auth-divider {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 16px 0 14px !important;
  width: 100% !important;
  font-weight: 600 !important;
  color: #666 !important;
  font-size: 14px !important;
}

.form-create-login-block .auth-social {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  clear: both !important;
}

.form-create-login-block .auth-social__btn {
  height: 46px !important;
  border-radius: 8px !important;
  border: 2px solid #dadce0 !important;
  background: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 25px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transition: background-color 0.2s !important;
	box-shadow: none;
}

/* Divider con testo "oppure" visibile */
.auth-dialog .auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px auto 10px auto;
  font-size: 14px;
  color: #666;
  font-weight: 600;
  width: 85%;
  clear: both;
}

.auth-dialog.auth-dialog--login .auth-divider {
  margin-top: 22px;
  margin-bottom: 12px;
}

.auth-dialog .auth-divider::before {
  content: none;
}

.auth-dialog .auth-divider::after {
  content: none;
}

.auth-dialog .auth-divider__line {
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.auth-dialog .auth-divider__text {
  white-space: nowrap;
}

/* Social buttons container */
.auth-dialog .auth-social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px auto 6px auto;
  width: 85%;
  clear: both;
  position: relative;
  z-index: 1;
}

/* Social buttons base styles - like screenshot */
.auth-dialog .auth-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 2;
}

.auth-dialog .auth-social__btn:focus {
  outline: 2px solid #4285f4;
  outline-offset: 2px;
}

.auth-dialog .auth-social__btn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Google variant */
.auth-dialog .auth-social__btn--google {
  background: #fff;
  color: #3c4043;
  border-color: #dadce0;
}

.auth-dialog .auth-social__btn--google:hover {
  background: #f8f9fa;
}

/* Facebook variant */
.auth-dialog .auth-social__btn--facebook {
  background: #fff;
  color: #1877f2;
  border-color: #dadce0;
}

.auth-dialog .auth-social__btn--facebook:hover {
  background: #f0f2ff;
}

/* Icon badge container for social buttons */
.auth-dialog .auth-social__badge {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Icons - più grandi e belle */
.auth-dialog .auth-social__icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  flex-shrink: 0;
}

.auth-dialog .auth-social__icon--google {
  background: url('../img/SVG/social/google-icon-color.svg') no-repeat center/contain;
}

.auth-dialog .auth-social__icon--facebook {
  background: url('../img/SVG/facebook_icon.svg') no-repeat center/contain;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .auth-dialog .auth-social {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .auth-dialog .auth-social__btn {
    height: 46px;
    font-size: 14px;
  }

  .auth-dialog .auth-social__icon {
    width: 20px;
    height: 20px;
  }
}

/* Fix per prevenire sovrapposizioni */
.bstgcart-input {
  margin-bottom: 8px !important;
  clear: both !important;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  clear: both;
}

.reg-grid .full {
  grid-column: 1 / -1;
}

.login-toggle {
  margin: 12px 0;
  clear: both;
  text-align: center;
}