/*
	Theme Name:   Savoy Child
	Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
	Description:  Savoy child theme
	Author:       NordicMade
	Author URI:   http://www.nordicmade.com
	Template:     savoy
	Version:      1.0
*/


/* Child theme CSS
--------------------------------------------------------------- */

.pagination-top{
    display: none !important;
}

#the-list tr{
    line-height: 2.5 !important;
}

.mycred-table{
    width: 100% !important;
}

.aec-currency-tag{
    margin-left: 5px;
}

.wp-block-woocommerce-cart-order-summary-subtotal-block > .wc-block-components-totals-wrapper > .wc-block-components-totals-footer-item,.wc-block-components-totals-wrapper > .wc-block-components-totals-footer-item{
    display:flex;
    justify-content: center;
    align-items: center;
}

.wc-block-components-totals-wrapper > .wc-block-components-totals-footer-item{
    font-size: 1.25em;
}

.wc-block-components-radio-control__option-checked{
    cursor: unset !important;
}


@media all and (max-width: 767px) {
    /*.mycred-table{*/
    /*    width: 100% !important;*/
    /*}*/

    .user-aep-amount{
        display: none !important;
    }
}


/** 提现样式开始 */
.withdraw-history {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
}
.withdraw-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.withdraw-table th, .withdraw-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.withdraw-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}
.withdraw-status {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.9em;
}
/*.pending { color: #f39c12; } !* 黄色 - 未审核 *!*/
/*.approved { color: #2ecc71; } !* 绿色 - 审核通过 *!*/
/*.completed { color: #3498db; } !* 蓝色 - 已完成 *!*/

.withdraw-pagination {
    margin-top: 20px;
    text-align: center;
}
.withdraw-pagination a {
    color:unset;
}

.withdraw-pagination .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    width: auto !important;
}
.withdraw-pagination .page-numbers.current {
    background-color: #f5f5f5;
    font-weight: bold;
}
.withdraw-pagination .page-numbers:hover:not(.current) {
    background-color: #f9f9f9;
}
/** 提现样式结束 */

/** 电子钱包管理开始 */
.wallet-manager {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.wallet-balance {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}
.add-wallet-form, .wallet-list {
    background: #fff;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
}
.wallet-table {
    width: 100%;
    border-collapse: collapse;
}
.wallet-table th, .wallet-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
.wallet-table th {
    background-color: #f5f5f5;
    font-weight: 600;
}
.default-tag {
    color: #2ecc71;
    font-weight: bold;
}
.non-default-tag {
    color: #95a5a6;
}
.wallet-table a {
    margin-right: 10px;
}
/* 模态框样式 */
#edit-wallet-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 30px;
    width: 500px;
    max-width: 90%;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
/** 电子钱包管理结束 */

/** maga兑换页面开始 */
.maga-website-title{
    margin-bottom: 60px;
}

.exchange-maga-desc{

}

.aep-balance-desc{
    font-weight: bold;
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 200px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#exchange-aep-maga {
    width: 80px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    margin: 0;
}

.woocommerce-error {
    padding: 10px;
    margin: 10px 0;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}

.exchange-maga-title{
    margin-bottom: 20px;
}

.aep-balance-desc{
    margin-bottom: 40px;
}

.exchange-result-title{
    text-align: center;
    margin-bottom: 20px;
}

.exchange-result-desc{
    text-align: center;
}

.exchange-result-code{
    color: black;
    font-weight: bold;
}

.exchange-code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.exchange-result-code {
    /*background-color: #f9f9f9;*/
    /*border: 1px solid #ddd;*/
    padding: 5px 0;
    margin: 0 0 0 0;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.copy-code-btn {
    font-size: 18px;
    color: black;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
    border-radius: 50%;
}

.copy-code-btn:hover {
    background-color: #f1f1f1;
    transform: scale(1.1);
}

.copy-feedback {
    margin-left: 12px;
    font-weight: 600;
    font-size: 14px;
}


.points-history-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.points-balance {
    font-size: 18px;
}

.balance-label {
    font-weight: 600;
    margin-right: 10px;
}

.balance-amount {
    font-weight: bold;
}

.points-filters {
    display: flex;
    align-items: center;
}

.filter-label {
    margin-right: 10px;
    font-weight: 600;
}

.filter-option {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none;
    border-radius: 3px;
    /*background-color: #f0f0f1;*/
    color: #3c434a;
}

.filter-option:hover {
    background-color: #e0e0e0;
}

.active-filter {
    background-color: #f0f0f1;
}

.points-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.points-table th, .points-table td {
    padding: 10px 15px;
    border: 1px solid #eee;
    text-align: left;
}

.points-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.positive-cred {
    color: #008000;
}

.negative-cred {
    color: #ff0000;
}

.points-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.subordinate-history-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.subordinate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.my-level {
    font-size: 18px;
}

.level-label {
    font-weight: 600;
    margin-right: 10px;
}

.level-name {
    font-weight: bold;
}

.subordinate-stats {
    display: flex;
    align-items: center;
}

.stat-item {
    margin-left: 20px;
}

.stat-label {
    font-weight: 600;
    margin-right: 5px;
}

.stat-value {
    font-weight: bold;
}

.subordinate-filters {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: end;
    margin-bottom: 10px;
}

.subordinate-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.subordinate-table th, .subordinate-table td {
    padding: 10px 15px;
    border: 1px solid #eee;
    text-align: left;
}

.subordinate-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

.subordinate-info {
    line-height: 1.4;
}

.subordinate-name {
    font-weight: 600;
}

.subordinate-email {
    font-size: 14px;
    color: #666;
}

.status-active {
    color: #008000;
}

.status-inactive {
    color: #ff0000;
}

.subordinate-pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.subordinate-pagination a, .subordinate-pagination span {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 3px;
}

.subordinate-pagination span {
    background-color: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

.subordinate-pagination a:hover {
    background-color: #f0f0f1;
}

.no-records-message {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.go-to-maga{
    margin-top: 100px;
}



/** maga兑换页面结束 */


/** 语言选择开始 */
#nm-right-menu-ul > .pll-parent-menu-item > a > img,#nm-mobile-menu-main-ul > .pll-parent-menu-item  a > img{
    height: 14px !important;
    width: 14px !important;
}

#nm-right-menu-ul > .pll-parent-menu-item > a > span{
    font-size: 14px !important;
}

#nm-right-menu-ul img,#nm-mobile-menu .sub-menu li img{
    display: inline-block !important;
}

#nm-right-menu-ul a{
    display: flex;
    align-items: center;
}

#nm-mobile-menu-main-ul .pll-parent-menu-item a{
     display: flex;
     align-items: center;
 }

#nm-right-menu-ul a > span,#nm-mobile-menu-main-ul > .pll-parent-menu-item  a > span{
    margin-top: 2px;
}

/** 语言选择结束 */


.mo_oauth_login_button_widget h3{
    display:none !important;
}

.mo_oauth_login_button_widget i::before,.apple-login-button,.mo_oauth_login_button_widget{
    background: #EBEBEB !important;
    border:unset !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}

.mo-openid-app-icons .mo_oauth_login_button_widget .mo_oauth_login_button_icon_widget{
    color: red !important;
    width: 100% !important;
}

.mo_oauth_login_button_widget svg{
    position: absolute !important;
}

.mo_oauth_login_button_widget{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

