/*
Theme Name: Flatsome Child
Description: این قالب نسخه چایلد از قالب فلتسام می باشد. توجه داشته باشید این نسخه از قالب به ندرت آپدیت می شود و بر روی سایت تان تنها کافی است نسخه اصلی قالب را بروزرسانی کنید.
Author: ایران فلتسام
Theme URI: http://flatsomee.ir/
Author URI: http://flatsomee.ir/
Template: flatsome
Version: 3.16.3
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
}

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
.button.alt,
.button.checkout,
.checkout-button,
.secondary,
a.woocommerce-button.button {
    background-color: #A1C9F2;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    display: block;
    padding: 0px 5px;
    margin-bottom: 10px;
}

.button.alt:hover,
.button.checkout:hover,
.checkout-button:hover,
.secondary:hover,
a.woocommerce-button.button:hover {
    background-color: #042b44;
}

/* Specific Button Styles (kept separate as they have unique backgrounds) */
a.woocommerce-button.button.cancel {
    background: #c40000; /* رنگ پس‌زمینه دکمه لغو */
}

a.woocommerce-button.button.pay {
    background: #007616; /* رنگ پس‌زمینه دکمه پرداخت */
}

a.woocommerce-button.button.view {
    background: #042b44; /* رنگ پس‌زمینه دکمه نمایش */
    padding: 0px; /* padding خاص برای دکمه نمایش */
}

button.woocommerce-Button { /* Added based on later section, kept separate due to margin */
    margin-top: 10px;
}

button.popuploginwin {
    background: #042b44;
    padding: 0px 15px;
    border-radius: 10px;
    margin-left: 0px;
}
button.user-management-submit {
    padding: 5px 15px !important;
}

button.submit-button {
    align-self: auto;
    margin-left: 0;
}
/* ---  General Button Styles (from later in your CSS, but fits here) ---*/.button { /*This was far down, but is a general button style*/
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0056b3;
}

button { /* Generic button, but kept separate because of the hover effect */
    background: red;
    color: white;
    border-radius: 10px;
    transition: background 0.3s, transform 0.3s;
}
button.toggle {
    background: #a1c9f2;
}
button:hover {
    background: #a1c9f2;
    transform: scale(1.05);
}/* --- Forms and Inputs --- */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border-radius: 10px;
    border-color: #a1c9f2;
}

textarea#order_comments {    border-radius: 15px;
}

input.ux-quantity__button.ux-quantity__button--minus.button.minus.is-form,
input.ux-quantity__button.ux-quantity__button--plus.button.plus.is-form {
    display: none;
}


input#quantity_676da76d54ca8 {
    background: none;
    border: none;
    box-shadow: none;
}

input#woocommerce-product-search-field-0 {
    border-radius: 7px;    background: #ffffff;
}

select.orderby {
    border-radius: 7px;
    background: #004a8f;
    color: white;
    font-weight: 800;
		text-align: center;
}

.woocommerce-form-row {
    margin-bottom: 10px;
}

.woocommerce-form-row label {
    margin-bottom: 5px;
}

.woocommerce-Input {
    margin-bottom: 5px;
}
select {
    background: #042b44;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    text-align: left;
}
form.checkout.woocommerce-checkout {
    margin-left: -245px;
}
select#product-select {
    background: #042b44;
    color: white;
    font-weight: 600;
    font-family: 'dana';
    border-radius: 10px;
    max-width: 100%;
	  text-align: right;
}
.price-input-wrapper .currency-symbol {
    bottom: 28px;
    left: 1%;
    font-family: dana;
    font-weight: 500;
}

input#product-price {
    border-color: #00ff00;
    border-width: 2px;
    max-width: 100%;
}
/* --- Gravity Forms Specific Styles --- */
/* These are very specific to Gravity Forms, so they get their own section */

.gform_wrapper {
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 30px;
  transform: scale(0.95);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gform_wrapper:hover {
  transform: scale(1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}  */




.gfield_label:hover {
  color: #204ce5;
}


.ginput_container textarea,
.ginput_container select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Dana', sans-serif;
  color: #112337;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #f9f9f9;
}
.ginput_container input:focus,
.ginput_container textarea:focus,
.ginput_container select:focus {
  border-color: #204ce5;
  box-shadow: 0 0 8px rgba(32, 76, 229, 0.5);
  outline: none;
  background-color: #ffffff;
  transform: scale(1.02);
}

/* Submit Button */
.gform_footer input[type="submit"] {
  background: linear-gradient(135deg, #204ce5, #527EFF);
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: 'Dana', sans-serif;
  box-shadow: 0 5px 15px rgba(32, 76, 229, 0.4);
}
.gform_footer input[type="submit"]:hover {
  background: linear-gradient(135deg, #527EFF, #204ce5);
  box-shadow: 0 8px 20px rgba(32, 76, 229, 0.6);
  transform: translateY(-3px);
}.gform_footer input[type="submit"]:active {
  transform: translateY(2px);
  box-shadow: 0 3px 10px rgba(32, 76, 229, 0.2);
}
.gfield_required_asterisk {
  color: #e63946;
  margin-left: 5px;
}

input:invalid, textarea:invalid, select:invalid {
  border-color: #e63946;
  animation: shake 0.3s ease-in-out;
}
.gform_heading {
    display: none;
}

/* --- Tables --- */

ul.order-product-names {
    font-size: 13px;
    font-family: dana;
    padding: 13px 0;
}

td.woocommerce-orders-table__cell {
    font-size: 15px;
    color: #042b44;
}

td.woocommerce-orders-table__cell-order-status {
    font-family: dana;
    font-weight: 700;
    color: #042a44;
    border-radius: 10px;
    text-align: center;
    line-height: 2;
}

th.woocommerce-orders-table__header {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #004b8e;
}

th.woocommerce-orders-table__header a {
    background: #a1c9f2;
    padding: 0 8px;
    font-size: 14px;
    border-radius: 5px;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    background: #ececec;
    padding: 10px 20px;
    border-radius: 15px;
    width: 100%;
}
td.product-name {
    font-size: 12px;
    font-weight: 700;
    font-family: dana;
}
table.woocommerce-table.woocommerce-table--account-orders.shop_table.shop_table_responsive {
    padding-bottom: 17px;
}
td.table-row {
    text-align: center;
}
td.table-email {
    text-align: left;
}

/* --- Layout and Structure --- */



.elementor.elementor-16802 {
    margin-top: -12px;
}
.woocommerce-account .page-wrapper.my-account.mb .container {
    max-width: 100%;
}

.row.vertical-tabs {
    max-width: 100%;
}
form#order_review {
    max-width: 69%;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 31px;
    border-radius: 20px;
}
div#sp_license {
    width: 58%;
    text-align: center;
    margin: 10px 187px;
}
#sp_license > TEXTAREA {
    direction: ltr;
    width: 100%;
    height: 100px;
    display: block;
    border: 1px solid #999;
    outline: none !important;
}
#sp_players > DIV {
    border-radius: 15px;
    border-style: groove;
    background: #f0f0f0;
    text-shadow: 1px 0px 0px #042b44;
}
.woocommerce.row {
    display: flex;
    flex-wrap: nowrap;
    width: 100% !important;
}

.cart-sidebar.col-inner {
    width: 100%;
}
.checkout.woocommerce-checkout .row.pt-0 {
    display: flex;
    flex-wrap: nowrap;
}
.checkout.woocommerce-checkout .large-5.col,
.checkout.woocommerce-checkout .large-7.col {
    padding: 1.5rem;
    margin: 0 10px;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.checkout.woocommerce-checkout .large-5.col:hover,
.checkout.woocommerce-checkout .large-7.col:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    background-color: #f9f9f9;
}
.checkout.woocommerce-checkout .large-5.col {
    flex: 0 0 52%;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    margin-right: 10px;
}
.checkout.woocommerce-checkout .woocommerce-billing-fields abbr.required,
.checkout.woocommerce-checkout .woocommerce-additional-fields abbr.required {
    color: red;
    font-weight: bold;
}
.has-border {
    border: 3px solid #042b44;
    padding: 30px;
    border-radius: 10px;
    border-style: dashed;
}
.woocommerce-billing-fields {
    padding-top: 0;
}
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100%;
}
form.woocommerce-cart-form {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    font-family: 'Dana', Arial, sans-serif;
    color: #333;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
form.woocommerce-cart-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.cart-sidebar.col-inner {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    font-family: 'Dana', Arial, sans-serif;
    color: #333;
    max-width: 100%;
    margin: 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cart-sidebar.col-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.e-con-inner {
    max-width: 100% !important;
}
/* --- Typography and Text Styles --- */

.inline-block {    font-size: 15px;
    font-family: 'dana';
    color: white; /* رنگ متن */
}

.account-user.circle {
    background: #042b44;
    border-radius: 15px !important;
    padding: 20px 0;
    text-align: center;
}

.user_name_current {
    background: #a1c9f2;
    border-radius: 5px;
    padding: 3px;
    color: #4a02ff;
    font-weight: 1000;
    margin-top: 15px;
}

.user_email_current {
    padding: 10px 0 1px;
}

.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
    font-weight: 700;
    font-family: dana;
}

span.order-item-count {
    font-size: 11px;
    font-weight: 700;
    font-family: dana;
    color: #007eff;
}

h2.woocommerce-order-details__title,
h2.woocommerce-column__title {
    font-family: dana;
    font-size: 20px;
    font-weight: 800;
    color: #042b44;
}

address {
    color: #042b44;
    background: #ececec;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 15px;
    font-family: dana;
    font-weight: 700;
}

.codevz-cart-is-empty {
    font-size: 15px;
    font-family: dana;
    color: rebeccapurple;
    font-weight: 700;
}
h2, .heading-font {
    font-family: dana;
}
h4.DownloadAreaOrderss {
    background: #a1c9f2;
    padding: 10px;
    border-radius: 10px;
    font-family: dana;
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 30px;
}
ul.header-nav.header-nav-main.nav.nav-right.nav-uppercase {
    padding-left: 10px;
}
span.header-account-title {

    padding: 10px 20px;
    border-radius: 7px;
    font-family: dana;
}
ul.nav.header-nav.header-bottom-nav.nav-left.nav-outline.nav-size-medium.nav-uppercase {
    font-size: 20px;
    list-style-type: none;
    padding: 10px;
    margin: 0;
}
a.button.alert.is-underline {
    color: #004a8f;
}
ul.nav.header-nav.header-bottom-nav.nav-left.nav-outline.nav-size-medium.nav-uppercase li {
    background-color: transparent; /* پس‌زمینه در حالت عادی شفاف */
    transition: color 0.2s ease; /* حذف انتقال پس‌زمینه */
    color: black;
    position: relative; /* برای استفاده از افکت لغزان */
    border-radius: 10px; /* گوشه‌های گرد */
}

ul.nav.header-nav.header-bottom-nav.nav-left.nav-outline.nav-size-medium.nav-uppercase li:hover {
    animation: shake 300ms ease-in-out; /* انیمیشن تکان دادن */
    color: white !important;
    font-weight: 900;
    cursor: pointer;
}

ul.nav.header-nav.header-bottom-nav.nav-left.nav-outline.nav-size-medium.nav-uppercase li:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px; /* ضخامت خط */
    background: white; /* رنگ خط */
    transition: width 0.3s ease, left 0.3s ease;
}

ul.nav.header-nav.header-bottom-nav.nav-left.nav-outline.nav-size-medium.nav-uppercase li:hover:before {    width: 100%; /* خط به طور کامل در هنگام هاور */
    left: 0; /* خط از چپ شروع می‌شود */
}

.price del {
    text-decoration: line-through;
    color: red;
    text-decoration-thickness: 2px;
    text-decoration-color: red;
}
a.elementor-button.elementor-button--view-cart.elementor-size-md,
a.elementor-button.elementor-button--checkout.elementor-size-md {
    border-radius: 15px;
    font-weight: 800;
}
a.elementor-button.elementor-button--view-cart.elementor-size-md {
    background: #042b44;
    color: white;
}
a.elementor-button.elementor-button--checkout.elementor-size-md {
    background: #a1c9f2;
    color: white;
}
span.header-account-title {
    background: none;
		padding: 0;
}
li.account-item.has-icon.menu-item.has-child {
    max-width: 70%;
    background: #042b44;
    border-radius: 12px;
}
span.header-account-title {
    color: white;}
.savedChanges {
    background: #246a00;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    font-size: 20px;    font-weight: 600;
}
body {
    font-family: Tahoma, sans-serif;
}
.checkout.woocommerce-checkout .large-5.col h3,
.checkout.woocommerce-checkout .large-7.col h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.checkout.woocommerce-checkout .large-7.col h3 {
    font-size: 1.8rem;
    color: #222;
    text-align: right;
    margin-bottom: 1.5rem;
}

.checkout.woocommerce-checkout .large-5.col p,
.checkout.woocommerce-checkout .large-7.col p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.checkout.woocommerce-checkout .large-7.col p {
    line-height: 1.8;
}nav.breadcrumbs.flex-row.flex-row-start.checkout-breadcrumbs.text-left.medium-text-center.is-large.none {
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    font-family: dana;
    background: #007bff;
    border-radius: 10px;
    margin: 20px 0;
}
#codevz_custom_menu_list-3 {
    font-size: 18px;
    font-family: 'dana';
    font-weight: 700;
    line-height: 2.5;
    margin-top: -7px;
    max-width: 15%;
    padding: 0px 40px 0 0;
}
span.onsale {
    background: red;
    padding: 6px 12px;
    border-radius: 12px;
    color: white;
    font-weight: 900;
}
/* --- User Account and Navigation --- */
ul#my-account-nav {
    border-radius: 15px;
    font-size: 20px;
    color: white !important;
    font-family: Dana-Black;
    list-style: none;
    padding: 0; /* حذف padding پیش‌فرض */
}

ul#my-account-nav li {
    color: white !important;
    font-family: Dana-Black;
    border: none;
    margin: 2px;
    background: #a1c9f2 !important;
    padding: 0 10px;
    border-radius: 10px;
}

ul#my-account-nav a {
    color: white !important;
}

ul#my-account-nav li:hover,
ul#my-account-nav a:hover {
    color: #042b44 !important;
    background-color: #a1c9f2;
}

.nav-vertical.nav-line > li > a:before {
    display: none;
}
li.account-item.has-icon.has-dropdown {
    background: #042b44;
    padding: 0px 15px;
    border-radius: 10px;
}

/* --- Hidden Elements --- */

.codevz-account-avatar,
li.woocommerce-MyAccount-navigation-link--wishlist,
li.woocommerce-MyAccount-navigation-link--tracking,
li.woocommerce-MyAccount-navigation-link--viewed,
li.woocommerce-MyAccount-navigation-link--reviews.is-active.active,
li.woocommerce-MyAccount-navigation-link--payment-methods,
li.woocommerce-MyAccount-navigation-link--downloads.is-active.active,
li.woocommerce-MyAccount-navigation-link--edit-address,
.woocommerce-message.message-wrapper,
.not-loggedin li.account-item.has-icon,
.codevz-added-to-cart-notif,
a.quick-view.quick-view-added,
.xtra-product-thumbnail,
form.codevz-products-per-page,
p.order-again,
.page-title-inner.flex-row.container.text-left,
i.icon-lock.op-5,
.woocommerce-form-coupon-toggle,
a.disable,
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads{
    display: none;
}

/* --- Specific Element Styles --- */



.message-container.container.alert-color.medium-text-center {
    background: red;
    padding: 15px;
    border-radius: 15px;
    color: #ffffff;
    font-weight: 800;
    border: hidden;
    text-align: center;
}

.widget_shopping_cart_content {
    width: 400px;
    background: #f1f1f1;
    padding: 15px;
    border-radius: 15px;
}

div#spot_fail {
    background: #ffc1c1;
    border-radius: 15px;
    padding: 10px 15px 0px 0;
    color: red;
}

i.icon-shopping-bag {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
}

[data-icon-label]:after {
    background-color: #186500;
    border-radius: 99px;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .3);
    color: #fff;
    content: attr(data-icon-label);
    font-family: Arial, Sans-serif !important;
    font-size: 11px;
    font-weight: 900;
    height: 17px;
    left: -10px;
    line-height: 17px;
    min-width: 17px;
    opacity: .9;
    padding: 0 2px;
    position: absolute;
    text-align: center;
    top: -10px;
    transition: transform .2s;
    z-index: 1;
}
.woocommerce-billing-fields {
    border-top: none;
}
.xtra-fixed-mobile-nav {
    background: #027fad;
    border-radius: 8px;
}
a#top-link {
    border-color: #00ff4f;
    margin: 0 0 30px;
}
i.fa.czico-123-call {
    color: white;
}

img.avatar.avatar-70.photo {
    margin: 0px 65px;
}
i.fa.czico-080-placeholder-3 {
    margin-top: 20px;
}

/* --- Comments Section --- */

.comments-area {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
}

.comments-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.comment-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.comment-author {
    margin-right: 1rem;
    flex-shrink: 0;
}

.comment-author img {
    border-radius: 50%;
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.comment-content {
    margin-bottom: 0.8rem;
    color: #444;    flex-grow: 1;
}
.comment-content p{
    margin: 0 0 10px;
}

.comment-meta {
    font-size: 0.85rem;
    color: #777;
}

.comment-meta a {    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
font-weight: 900;
}

.comment-meta a:hover {
    background: #005185;
}

.comment-reply-link {
    background-color: #3498db;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    font-size: 0.8rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.comment-reply-link:hover {
    background-color: #2980b9;
}

.children {
    list-style: none;
    padding-left: 2rem;
    margin: 1rem 0 0;
}
.children .comment-inner{    background-color: #f2f7fb;
}

.comment-respond {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

#reply-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

#commentform label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#commentform textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"]
{
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
#commentform textarea{
    min-height: 120px;
    resize: vertical;
}

#submit {
    background-color: #2ecc71;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    font-size: 1rem;
}

#submit:hover {    background-color: #27ae60;
}

#cancel-comment-reply-link {
    color: #e74c3c;
    margin-left: 1rem;
    text-decoration: none;
    font-size: 0.9rem;
}
#cancel-comment-reply-link:hover{
    text-decoration: underline;
}

.logged-in-as {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.uppercase{
    text-transform: uppercase;
}
.mr-half{
    margin-right: 0.5rem;
}
.ml-half{
    margin-left: 0.5rem;
}
.is-xsmall{
    font-size: x-small;
}
.clear::after {
    content: "";
    display: table;
    clear: both;
}
.pull-left{
    float: left;
}
.pull-right{
    float:right;
}
.align-top{
    align-items: flex-start;
}
.flex-col{
     display: flex;
    flex-direction: column;
}
.flex-grow{
    flex-grow: 1;
}
.flex-row{
    display: flex;
    flex-direction: row;}
.strong{
    font-weight: bold;
}
h3.comments-title.uppercase {
    display: none;
}
time.pull-left {
    color: red;
}
span.edit-link.ml-half.strong {
    background: #45bb00;
    padding: 8px 15px;
    border-radius: 7px;
    margin: 1%;
}
span.required-field-message {
    display: none;
}
.logged-in-as a {
    display: none;
}

/* --- Affiliate System Styles --- */

body {
    /* Removed font-family here, as it's redefined later and in Gravity Forms */
    /* Removed background, margin, padding - redefined in more specific contexts */
    /* Removed display, justify-content, align-items, height - specific to Gravity Forms */
    /* Removed animation - specific to Gravity Forms */
}
.affiliate-system {
    margin: 20px auto;
    max-width: 1200px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%; /*From a later duplicate definition*/
}

.affiliate-form {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.select2-container--default .select2-selection--single {
    height: 45px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}
.affiliate-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-top: 20px;
}
.affiliate-table th, .affiliate-table td {
    padding: 15px;
    border: 1px solid #dee2e6;
    text-align: right;
}
/* Header styles */
.affiliate-table th {
    background-color: #f1f1f1;
    font-weight: bold;}
span.select2.select2-container.select2-container--default {
    padding-bottom: 20px;
}

/* --- Gravity View Table --- */
/* This is very specific, so it gets its own section */
.gv-table-container {
  margin: 20px auto;
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  max-width: 95%;
  overflow: hidden; /* جلوگیری از بیرون‌زدن محتوا */
    max-height: 500px; /* ارتفاع حداکثر جدول برای نمایش 10 سطر */
  overflow-y: auto; /* اسکرول عمودی */
  border: 1px solid #ddd; /* حاشیه برای تمایز جدول */
}

/* Table Styles */
.gv-table-view {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed; /* جلوگیری از تغییر عرض ستون‌ها */
}

.gv-table-view thead {
  background: linear-gradient(135deg, #4facfe, #00f2fe); /* رنگ‌بندی شیک‌تر */
  color: white;
  position: sticky; /* ثابت کردن هدر */
  top: 0;
  z-index: 1; /* اطمینان از اینکه هدر بالای محتوا نمایش داده شود */
}

.gv-table-view th {
  padding: 15px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.gv-table-view tbody tr {
  transition: background 0.3s ease-in-out;
}

.gv-table-view tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.gv-table-view tbody tr:hover {
  background: #e3f2fd;
}

.gv-table-view td {
  padding: 15px;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
  word-wrap: break-word; /* جلوگیری از بیرون‌زدن متن */
}

/* Links with Animation */
.gv-table-view td a {
  text-decoration: none;
  color: #007bff;
  font-weight: 700;
  position: relative;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.gv-table-view td a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;  background: #007bff;
  transition: width 0.3s ease-in-out;
}

.gv-table-view td a:hover {
  color: #0056b3;
}

.gv-table-view td a:hover::after {
  width: 100%;
}

/* Delete Icon */
.gv-table-view td a[onclick] {
  color: #ff0000;
  transition: transform 0.2s ease-in-out;
}

.gv-table-view td a[onclick]:hover {
  transform: scale(1.2);
}


/* --- Top Link (Scroll to Top) --- */
/* This is a very specific element, best kept separate */

#top-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00bcd4, #009688);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

#top-link.active {
    opacity: 1;
    visibility: visible;
}

#top-link:hover {
    background: linear-gradient(135deg, #009688, #00796b);
    transform: scale(1.1);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}


#top-link i {
    font-size: 24px;
    transition: transform 0.3s ease;
}


#top-link:hover i {
    transform: rotate(-45deg);
}

/* --- @font-face ---*/
/*Font imports go at the top, usually*/
@font-face {
  font-family: 'Dana';
  src: url('path-to-your-dana-font.woff2') format('woff2'),
       url('path-to-your-dana-font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* --- Media Queries --- */
/* Media queries are best kept together at the end, for maintainability */

@media (max-width: 768px) {
    .large-3.col.col-border {
        display: none;
    }
    .gform_wrapper {
        padding: 20px;
    }
    .gform_heading h2 {
        font-size: 1.5rem;
    }
      .gform_footer input[type="submit"] {
        width: 100%;
    }
    .comment-inner {
        flex-direction: column;
    }
     .comment-author {
        margin-right: 0;
        margin-bottom: 0.5rem;
				display: none;
    }
    .comment-author img {
        width: 50px;
        height: 50px;
    }
    .children {
        padding-left: 1rem;
    }
    .affiliate-system {
        margin: 10px;
        padding: 15px;
    }

    .affiliate-form {
        padding: 20px;
    }

    .affiliate-table th, .affiliate-table td {
        padding: 10px;
        font-size: 14px;
    }

    .button {
        width: 40%;

    }
    .woocommerce.row {
        display: flex;
        width: 100% !important;
        flex-direction: column;
    }
    .checkout.woocommerce-checkout .row.pt-0 {
        flex-direction: column;        gap: 1.5rem;
        padding: 1rem;
    }

    .checkout.woocommerce-checkout .row.pt-0 > * {
        width: max-content;
    }
    .checkout.woocommerce-checkout .row.pt-0 .button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
/*    .large-5.col {
        max-width: 57%;
    }*/
    .checkout.woocommerce-checkout .row.pt-0 > * {
        width: 57%;
    }
    #codevz_custom_menu_list-3 {
		max-width: 100%;
    }
    form.woocommerce-cart-form {
        padding: 15px;
        max-width: 100%;
				width: 100%;
    }

    form.woocommerce-cart-form button {
        width: 100%;
        padding: 12px;
    }
    .cart-sidebar.col-inner {
        padding: 15px;
        max-width: 100%;
    }
    .cart-sidebar.col-inner button {
        width: 100%;   }
    .gv-table-view th, .gv-table-view td {
        font-size: 0.8rem;
        padding: 10px;
  }
}

@media (max-width: 480px) {
    .affiliate-system {
        padding: 10px;
    }

    .affiliate-form {
        padding: 15px;
    }

    .affiliate-table th, .affiliate-table td {
        font-size: 12px;
        padding: 8px;
    }

    .button {
        padding: 2px;
        font-size: 10px;
				max-width: 90%;
				border-radius: 30px
    }
    .checkout.woocommerce-checkout .row.pt-0 {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem;
    }
}

@media screen and (min-width: 850px) {
    .large-5 {
        flex-basis: 100%;
        max-width: 60%;
    }

    .large-5 .col:first-child .col-inner,
    .col:first-child .col-inner {
        border-radius: 15px !important;
    }
     .large-7 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .large-5 {
        flex-basis: 100%;        max-width: 30%;
    }
}
@media screen and (max-width: 1024px) {
    .checkout.woocommerce-checkout .row.pt-0 {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
}

/* --- Keyframes (Animations) --- */
/* Keyframes are best grouped together */

@keyframes shake {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.05); /* حرکت به سمت چپ */
    }
}
@keyframes backgroundFade { /*For gravity forms background*/
  0% {
    background: linear-gradient(135deg, #204ce5, #527EFF);
  }
  100% {
    background: linear-gradient(135deg, #527EFF, #204ce5);
  }
}

/* --- Uncategorized Styles ---*/
/*These didn't fit neatly into other categories*/
.nav-outline>li.active>a {
    border-color: #13619a00;
}
.is-divider.small {
    background: red;
    max-width: 45px;
}
a.cz-080-placeholder-3 {
    max-width: 80%;
}
div#cz6927 {
    text-align: right !important;
}
.is-divider.small {
    background: red;
    max-width: 100%;
}
svg.codevz-cart-empty-svg {
    height: 135px;
}


/*کامنت ها*/
ol.commentlist {
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    color: #000000;
		font-family: dana;
}
h3.woocommerce-Reviews-title.normal {
    padding: 20px;
    font-family: 'dana';
    font-size: 25px;
    font-weight: 800;
    color: #1f15a1;
}
div#review_form_wrapper {
    max-width: 100%;
}

/*لیست مشتریان//////////////
//////////////////////////*/

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --table-head-bg: var(--dark-color);
    --table-head-color: #fff;
    --table-row-hover-bg: #f0f0f0;
    --transition-speed: 0.3s;
}

/* فونت و تنظیمات پایه */
@font-face {
    font-family: 'Dana';
    src: url('path/to/dana.woff2') format('woff2'),
         url('path/to/dana.woff') format('woff');
}

body {
    font-family: 'Dana', sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
}

/* جدول و اسکرول */
.custom-table-wrapper {
    overflow-x: auto;
    max-height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 1em;
    position: relative;
}

.custom-orders-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

/* سربرگ جدول با موقعیت چسبان */
.custom-orders-table thead {
    background-color: var(--table-head-bg);
    color: var(--table-head-color);
    position: sticky;
    top: 0;
    z-index: 2;
}

.custom-orders-table th {
    padding: 1rem;
    text-align: right;
    border-bottom: 2px solid #ddd;
    transition: background-color var(--transition-speed);
}

/* تعاملات ردیف */
.custom-orders-table tbody tr {
    transition: 
        transform var(--transition-speed),
        background-color var(--transition-speed),
        box-shadow var(--transition-speed);
}

.custom-orders-table tbody tr:hover {
    background-color: var(--table-row-hover-bg);
    transform: translateX(8px);
    box-shadow: -4px 0 0 var(--primary-color);
}

.custom-orders-table td {
    padding: 0.8rem 1rem;
    text-align: right;
    position: relative;
}

/* دکمه کپی با افکت موجی */
.copy-license-btn {
    background-color: var(--info-color);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: 
        background-color var(--transition-speed),
        transform var(--transition-speed);
    
    &:hover {
        background-color: #138496;
        transform: translateY(-2px);
    }
    
    &::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        box-shadow: 0 0 12px rgba(19, 132, 150, 0.4);
        opacity: 0;
        transition: opacity var(--transition-speed);
    }
    
    &:hover::after {
        opacity: 1;
    }
}

/* فیلتر پیشرفته */
.order-status-filter {
    margin: 1em;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    
    select {
        padding: 0.6rem 2rem 0.6rem 1rem;
        border: 2px solid transparent;
        border-radius: 6px;
        background: 
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23343a40' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E") 
            no-repeat right 0.8rem center/1rem,
            linear-gradient(45deg, var(--light-color) 0%, #f1f3f5 100%);
        transition: 
            border-color var(--transition-speed),
            box-shadow var(--transition-speed);
        
        &:hover {
            border-color: var(--primary-color);
            box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
        }
    }
}

/* ریسپانسیو پیشرفته */
@media (max-width: 768px) {
    .custom-table-wrapper {
        max-height: none;
        border-radius: 0;
        margin: 0;
        border: none;
    }
    
    .custom-orders-table td {
        display: grid;
        grid-template-columns: 1fr 2fr;
        align-items: center;
        padding: 0.6rem;
        
        &::before {
            content: attr(data-label);
            font-weight: bold;
            color: var(--primary-color);
            padding-left: 0.5rem;
        }
    }
    
    .copy-license-btn {
        width: auto;
        margin-top: 0.4rem;
        justify-self: end;
    }
}

/* اسکرولبار استایلبندی شده */
.custom-table-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.custom-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.custom-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 8px;
    transition: background-color var(--transition-speed);
    
    &:hover {
        background: #0056b3;
    }
}

/* انیمیشن لودینگ پیشرفته */
@keyframes spin3d {
    to {
        transform: rotate3d(1,1,0, 360deg);
    }
}

:root {
    --spinner-size: 3rem; /* سایز اسپینر */
    --spinner-border-width: 3px; /* ضخامت حاشیه اسپینر */
    --spinner-animation-duration: 1.2s; /* مدت زمان انیمیشن اسپینر */
    --spinner-color: var(--primary-color); /* رنگ اسپینر */
    --icon-color: #ffffff; /* رنگ آیکون */
}

.spinner {
    width: var(--spinner-size);
    height: var(--spinner-size);
    border: var(--spinner-border-width) solid transparent;
    border-top-color: var(--spinner-color);
    border-bottom-color: var(--spinner-color);
    animation: spin3d var(--spinner-animation-duration) ease-in-out infinite;
    border-radius: 50%;
}

.nav-sidebar.nav-vertical > li + li {
    border: none;
}
i.icon-angle-down {
    color: var(--icon-color); 
}
/*////////////////////////*/

.account-item,
.account-item a,
.account-item .children li a {
    color: white; /* تغییر رنگ فونت به سفید */
}

.account-item,
.account-item a,
.account-item .children li 			a:hover {	
			color: #a1c9f2;
.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #ff0000 !important;
    font-weight: bold;
		font-family: dana !important;
}


form#product-price-form div#response-message {
    text-align: center;
    font-size: 22px;    font-weight: bold; /* Or 700, but 'bold' is more readable */
    color: green;
    background-color: #e4ffe7;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle and realistic shadow */
    margin: 15px; /* Optional: Add some spacing around the message */    /* Optional: Add a smooth transition for appearance */
    opacity: 0; /* Initially hidden */
    transition: opacity 0.3s ease; /* 0.3-second animation */
}

/*  Optional:  If you are using JavaScript to show/hide the message,
    you would add a class like 'show' to make it visible.  This is
    a Sass/SCSS nested selector.  If you are using plain CSS,
    you'd define a separate rule:  div#response-message.show  */

form#product-price-form div#response-message.show {
     opacity: 1; /* Make visible when the 'show' class is added */
}

/* Optional: Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    form#product-price-form div#response-message {
        font-size: 18px;
        padding: 8px;
    }
}

/*////////////////////////*/

div#response-message {
    text-align: center !important;
    font-size: 22px;
    font-weight: 700;
    color: green;
    background-color: #e4ffe7;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}



	/* افکت قبل از المان با شناسه #information */
.elementor-element.elementor-element-8b910dd.e-con-full.e-flex.e-con.e-child::before {
    content: "";
    position: absolute;
    top: 280px;
    right: 97px;
    width: 40px; /* عرض دایره */
    height: 40px; /* ارتفاع دایره */
    background: red;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

	
	

	