/* modal login */

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    color: var(--theme-primary-color);
    margin-bottom: 6px;
    text-align: left;
}

.modal-dialog {
    width: 100vw;
    margin: 0 auto;
}
.modal-login .modal-content {
    border-radius: 8px;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 30px;
    border: unset;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.modal-login .modal-content h2,
.tfre-resset-password h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 25px;
    color: var(--theme-primary-color);
    margin-bottom: 30px;
}
.modal-login .modal-content .close {
    padding: unset;
    background: unset;
    background: transparent;
    border-radius: unset;
    font-size: 34px;
    position: absolute;
    top: 30px;
    right: 30px;
    font-weight: 400;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.modal-login .modal-content .close::before,
.modal-login .modal-content .close::after {
    display: none;
}
.modal-login .modal-content .close:hover {
    transform: rotate(90deg);
}
.modal-login .modal-content .close:hover {
    color: var(--theme-accent-color);
}
.modal-login .modal-dialog {
    max-width: 450px;
    display: block;
    width: 100%;
    height: 100%;
}
.modal-login .nav-tabs {
    border: unset;
}
.modal-login .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
    color: var(--theme-primary-color);
    margin-bottom: 7px;
    text-align: left;
}
.modal-login .form-group input {
    display: block;
    width: 100%;
    padding: 11px 15px;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
}
.modal-login .container {
    padding: unset;
}
.modal-login .form-group {
    margin-bottom: 16px;
}
.modal-login .tfre-reset-password {
    display: block;
    font-size: 14px;
    color: var(--theme-primary-color);
    text-align: right;
}
.modal-login .tfre-reset-password:hover {
    color: var(--theme-accent-color);
}
.modal-login button[type="submit"],
.tfre-resset-password .tfre_forgetpass {
    display: block;
    width: 100%;
    color: #fff;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    border: unset;
    padding: 10px 16px;
    background-color: var(--theme-accent-color);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.modal-login button[type="submit"]:hover,
.tfre-resset-password .tfre_forgetpass:hover {
    background-color: var(--theme-primary-color);
}

.modal-login button[type="submit"]::before,
.modal-login button[type="submit"]::after {
    display: none;
}
.tfre_register,
.tfre_signin {
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 20px;
}

.tfre_register a,
.tfre_signin a {
    color: var(--theme-accent-color);
}

.tfre-resset-password .tfre_forgetpass {
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--theme-accent-color);
}
@media (max-width: 500px) {
    .modal-login .modal-dialog {
        max-width: 90%;
    }
}

/* Editor mode: disable animations/transitions to prevent flicker while adjusting widgets */
body.elementor-editor-active .hello_elementor-products *,
body.elementor-editor-active .hello_elementor-products-single *,
body.elementor-editor-active .hello_elementor-products-banner *,
body.elementor-editor-active .hello_elementor-product-category *,
body.elementor-editor-active .hello_elementor-countdown *,
body.elementor-edit-mode .hello_elementor-products *,
body.elementor-edit-mode .hello_elementor-products-single *,
body.elementor-edit-mode .hello_elementor-products-banner *,
body.elementor-edit-mode .hello_elementor-product-category *,
body.elementor-edit-mode .hello_elementor-countdown * {
  -webkit-animation: none !important;
  animation: none !important;
  -webkit-transition: none !important;
  transition: none !important;
}

body.elementor-editor-active .swiper-wrapper,
body.elementor-editor-active .swiper-slide,
body.elementor-edit-mode .swiper-wrapper,
body.elementor-edit-mode .swiper-slide {
  -webkit-transition: none !important;
  transition: none !important;
}

body.elementor-editor-active .effect-pulse,
body.elementor-editor-active .effect-bounce,
body.elementor-edit-mode .effect-pulse,
body.elementor-edit-mode .effect-bounce {
  animation: none !important;
}

/* Ocultar dicas/avisos de rascunho e popovers apenas no editor do Elementor */
body.elementor-editor-active .components-guide,
body.elementor-editor-active .components-popover,
body.elementor-editor-active .components-snackbar,
body.elementor-editor-active .components-notice-list,
body.elementor-editor-active .edit-post-welcome-guide,
body.elementor-editor-active .interface-interface-skeleton__notices,
body.elementor-editor-active .elementor-panel .elementor-panel-alert,
body.elementor-editor-active .elementor-panel .elementor-notice,
body.elementor-editor-active .elementor-editor-notices,
body.elementor-editor-active .elementor-editor-notice,
body.elementor-edit-mode .components-guide,
body.elementor-edit-mode .components-popover,
body.elementor-edit-mode .components-snackbar,
body.elementor-edit-mode .components-notice-list,
body.elementor-edit-mode .edit-post-welcome-guide,
body.elementor-edit-mode .interface-interface-skeleton__notices,
body.elementor-edit-mode .elementor-panel .elementor-panel-alert,
body.elementor-edit-mode .elementor-panel .elementor-notice,
body.elementor-edit-mode .elementor-editor-notices,
body.elementor-edit-mode .elementor-editor-notice {
  display: none !important;
}

/* TF My Account widget basic styles */
.tf-myaccount { }
.tf-myaccount-greeting { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.tf-myaccount-avatar { border-radius:50%; }
.tf-myaccount-tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.tf-myaccount-tile { display:flex; align-items:center; gap:10px; padding:14px 16px; border-radius:8px; text-decoration:none; background:#f7f7f9; color:#2c2c2c; transition:.2s; position:relative; }
.tf-myaccount-tile:hover { background:#ececf3; color:#111; }
.tf-myaccount-tile-icon { font-size:18px; line-height:1; display:flex; }
.tf-myaccount-tile-badge { position:absolute; top:8px; right:10px; min-width:20px; padding:2px 6px; border-radius:10px; background:#0d6efd; color:#fff; font-size:12px; text-align:center; }
.tf-myaccount-orders-table { width:100%; border-collapse:collapse; }
.tf-myaccount-orders-table th, .tf-myaccount-orders-table td { padding:10px 12px; border-bottom:1px solid #e6e6ee; }
.tf-myaccount-orders-table th { text-align:left; background:#fafbff; }
.tf-myaccount-order-view { display:inline-block; padding:6px 10px; border-radius:6px; background:#0d6efd; color:#fff; text-decoration:none; }
.tf-myaccount-notice { padding:14px 16px; background:#fff6d6; border:1px solid #ffe39a; border-radius:8px; }
