.header-inner,
.icon-btn {
    display: flex;
    align-items: center
}

@font-face {
    font-family: Vazir;
    src: url(../font/Vazir.ttf)
}

* {
    padding: 0;
    margin: 0;
    font-family: Vazir;
    font-size: 15px
}

body {
    overflow-x: hidden;
    user-select: none !important;
}

.header-top {
    width: 100%;
    direction: rtl;
    padding: 15px 0
}

.header-inner {
    height: 65px;
    background: #fff;
    border-radius: 22px;
    justify-content: space-between;
    padding: 0 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .06)
}

.icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: #f8f5ed;
    border-radius: 14px;
    justify-content: center;
    position: relative;
    color: #96752a;
    transition: .3s
}
.userBtn{
    width: 90px !important;
    font-family: Vazir !important;
}
.userBtn span{
    font-size: 13px;
}

.header-logo,
.setGold {
    align-items: center;
    display: flex
}

.icon-btn:hover {
    background: #ead18a
}

.header-logo {
    width: 140px;
    height: 45px;
    background: #fff;
    border-radius: 15px;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
}

.header-logo img {
    width: 100%;
    height: 35px;
    object-fit: contain;
    border-radius: 15px;
}

.topNav {
    display: flex;
    align-items: center;
}

.topNav a {
    color: #171717;
    text-decoration: none;
    margin: 0 15px;
    font-size: 13px;
}

.topNav a:hover {
    color: #9a741d;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}

.header-actions {
    display: flex;
    gap: 10px
}

.badge-notif {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    background: #d29b22;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: notif 1s linear infinite;
    -webkit-animation: notif 1s linear infinite;
}

@keyframes notif {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }

    50% {
        transform: scale(1.5);
        -webkit-transform: scale(1.5);
        -moz-transform: scale(1.5);
        -ms-transform: scale(1.5);
        -o-transform: scale(1.5);
        background-color: #e53935;
        border-color: #d29b22;
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}

.gold-btn i,
.top-sec1-texts h1 {
    font-size: 25px
}

.top-sec1-texts p {
    font-size: 16px
}

.loadin-box {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #00000010;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setGold {
    width: 180px;
    height: 55px;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border: none;
    box-shadow: 0 0 8px 1px #ffa60127
}

.setGold span {
    font-size: 14px;
    color: #e0b251
}

.setGold small {
    font-size: 11px;
    color: #747474
}

.by-Gold {
    box-shadow: 0 0 8px 1px #0ace5b27
}

.by-Gold span {
    color: #0ace5b
}

.goldBtns {
    margin-top: -30px
}

.top-sec1 {
    direction: rtl;
    background: linear-gradient(145deg, #fff8e7, #fff);
    border-radius: 30px;
    padding: 20px;
    overflow: hidden
}

.gold-content {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.gold-text {
    width: 60%
}

.gold-image {
    width: 40%
}

.gold-image img {
    width: 100%;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, .15));
    -webkit-filter: drop-shadow(0 15px 20px rgba(0, 0, 0, .15))
}

.badge-gold {
    background: #f8df9b;
    color: #805b00;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12px;
    display: inline-flex;
    gap: 5px
}

.buy,
.eye-btn,
.sell {
    color: #fff
}

.gold-text h1 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 800;
    color: #1c1c1c
}

.gold-text p {
    font-size: 14px;
    line-height: 2
}

.gold-info,
.wallet-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.gold-info div {
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px #00000010
}

.gold-info strong {
    display: block;
    color: #b8860b;
    font-size: 15px
}

.gold-btn small,
.gold-info span {
    font-size: 11px
}

.gold-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px
}

.gold-btn {
    flex: 1;
    border: 0;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer
}

.gold-btn span {
    display: block;
    font-weight: 700;
    font-size: 16px
}

.buy {
    background: #c99b35
}

.sell {
    background: #1d8b68
}

@media(max-width:576px) {
    .gold-content {
        flex-direction: row-reverse
    }

    .gold-price-box {
        width: 100% !important;
        margin: 0 !important;
        margin-bottom: 5px !important;
        padding: 10px !important;
    }

    .amount-box {
        margin-top: 5px !important;
    }

    .gold-text h1 {
        font-size: 18px
    }

    .gold-image {
        width: 35%
    }

    .gold-text {
        width: 65%
    }

    .gold-info div {
        padding: 8px
    }

    .gold-actions {
        flex-direction: column
    }

    .benefit-card {
        width: 100% !important;
    }
}

.gold-wallet {
    direction: rtl;
    background: linear-gradient(135deg, #b88a2c, #e6c46a);
    border-radius: 28px;
    padding: 22px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(184, 138, 44, .25);
    position: relative !important;
    overflow: hidden;
}

.isValids {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #00000069;
    z-index: 100;
    flex-direction: column;
}

.isValids a {
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    padding: 7px 15px;
    background-color: #a17b2a;
    color: #fff;
    animation: sc;
    -webkit-animation: sclas 1s linear infinite;
}

@keyframes sclas {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}

.isValids span {
    font-size: 16px;
}

.wallet-header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.wallet-header span {
    font-size: 13px;
    opacity: .8
}

.wallet-header h3 {
    margin: 5px 0;
    font-size: 20px
}

.eye-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: #ffffff25;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center
}

.benefit-card,
.gold-balance {
    align-items: center;
    display: flex
}

.gold-balance {
    justify-content: space-between;
    margin-top: 20px
}

.gold-weight small {
    opacity: .8
}

.gold-weight h1 {
    font-size: 35px;
    margin: 8px 0
}

.gold-weight h1 span {
    font-size: 15px
}

.gold-weight p {
    background: #ffffff20;
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px
}

.gold-balance img {
    width: 100px;
    filter: drop-shadow(0 10px 15px #0005);
    -webkit-filter: drop-shadow(0 10px 15px #0005)
}

.gold-value {
    background: #ffffff20;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px
}

.gold-value span {
    display: block;
    font-size: 11px;
    opacity: .8
}

.gold-value strong {
    display: block;
    margin-top: 5px;
    font-size: 14px
}

.wallet-actions button,
.wallet-actions a {
    flex: 1;
    border: 0;
    background: #fff;
    color: #9a741d;
    border-radius: 15px;
    padding: 12px 5px;
    font-size: 12px
}

.wallet-actions i {
    display: block;
    margin-bottom: 5px;
    font-size: 18px
}

.why-gold-section {
    direction: rtl;
    padding: 25px 15px
}

.section-title {
    text-align: right;
    margin-bottom: 20px
}

.section-title span {
    color: #b88a2c;
    font-size: 13px
}

.section-title h2 {
    font-size: 24px;
    margin: 5px 0;
    color: #222;
    font-weight: 800
}

.section-title p {
    color: #777;
    font-size: 13px
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.benefit-card {
    background: #fff;
    border-radius: 22px;
    padding: 15px;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
    border: 1px solid #f5f0e5;
    width: 48%
}

.benefit-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 18px;
    background: #f9edca;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b88a2c;
    font-size: 23px
}

.benefit-icon.gold {
    background: #fff2c9;
    color: #d09b24
}

.benefit-icon.green {
    background: #dff5ea;
    color: #16835b
}

.benefit-icon.blue {
    background: #e4efff;
    color: #3974d8
}

.benefit-card h4 {
    margin: 0 0 7px;
    font-size: 15px;
    color: #222
}

.benefit-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: #777
}

.notif-box {
    direction: rtl;
    background: #fff;
    border-radius: 28px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.171);
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    min-width: 300px;
}

.notif-box.show {
    pointer-events: all !important;
    opacity: 1;
}

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

.notif-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.notif-header button {
    border: 0;
    background: #fff5dc;
    color: #b8860b;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.notif-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
    background: #fafafa;
    transition: .3s;
}

.notif-item.active {
    background: #fff8e8;
    border-right: 3px solid #c89b35;
}

.notif-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.notif-icon.gold {
    background: #ffeab0;
    color: #b8860b;
}

.notif-icon.green {
    background: #ddf6e8;
    color: #16905c;
}

.notif-icon.blue {
    background: #e5efff;
    color: #3475d1;
}

.notif-content h4 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #222;
}

.notif-content p {
    margin: 0;
    font-size: 12px;
    color: #777;
    line-height: 1.8;
}

.notif-content span {
    display: block;
    margin-top: 7px;
    font-size: 11px;
    color: #aaa;
}

.profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(5px);
    display: none;
    z-index: 999;
}

.profile-info {
    position: absolute;
    top: 90px;
    left: 0;
    width: 350px;
    background: #fff;
    border-radius: 30px;
    padding: 25px;
    direction: rtl;
    z-index: 1000;
    transition: .4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.171);
    max-height: 450px;
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.profile-info.show {
    pointer-events: all;
    opacity: 1;
}

.my-c {
    overflow-x: hidden !important;
}

.profile-overlay.show {
    display: block;
}

.profile-head {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.profile-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    background: #f6e7b5;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name h3 {
    margin: 0;
    font-size: 18px;
}

.profile-name span {
    color: #888;
    font-size: 12px;
}

.close-profile {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: #f8f5ed;
}

.profile-gold-card {
    margin-top: 25px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #bd8c28, #e8ca73);
    color: white;
    display: flex;
    justify-content: space-between;
}

.profile-gold-card span {
    font-size: 12px;
    opacity: .8;
}

.profile-gold-card strong {
    display: block;
    margin-top: 8px;
    font-size: 15px;
}

.profile-menu {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-menu a {
    text-decoration: none;
    color: #333;
    padding: 15px;
    border-radius: 18px;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.profile-menu a i {
    color: #b88a2c;
    font-size: 20px;
}

.profile-menu .logout {
    color: #d43c3c;
}

.profile-menu .logout i {
    color: #d43c3c;
}

.buy-gold-modal {
    direction: rtl;
    background: #fff;
    border-radius: 30px;
    padding: 22px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    display: none;
    width: 600px !important;
    border: 1px solid #0000002a;
    z-index: 10000;
    max-height: 550px !important;
    overflow-y: auto !important;
    scrollbar-width: none;
}

.buy-gold-modal.show {
    display: block;
}

.modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-head span {
    font-size: 13px;
    color: #b88a2c;
}

.modal-head h3 {
    margin: 5px 0;
    font-size: 20px;
}

.close-modal {
    width: 40px;
    height: 40px;
    border: 0;
    background: #f7f5ef;
    border-radius: 14px;
}

.gold-price-box {
    margin-top: 20px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, #c39838, #e8ca75);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gold-price-box small {
    opacity: .8;
    font-size: 12px;
}

.gold-price-box strong {
    display: block;
    margin-top: 8px;
}

.price-status {
    background: #ffffff25;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.amount-box {
    margin-top: 25px;
}

.amount-box label {
    font-size: 14px;
    font-weight: bold;
}

.input-group {
    margin-top: 10px;
    height: 60px;
    background: #f8f8f8;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.input-group input {
    flex: 1;
    border: 0;
    background: none;
    outline: none;
    font-size: 22px;
    font-weight: bold;
}

.input-group span {
    color: #b88a2c;
}

.quick-values,
.sell-gold-quick-values {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.quick-values button,
.sell-gold-quick-values button {
    flex: 1;
    border: 1px solid #ead59c;
    background: white;
    color: #b88a2c;
    padding: 10px;
    border-radius: 15px;
}

.total-box {
    background: #faf7ed;
    padding: 18px;
    border-radius: 22px;
    margin-top: 25px;
}

.total-box div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-box div:last-child {
    margin-bottom: 0;
}

.total-box span {
    color: #777;
    font-size: 13px;
}

.total-box strong {
    font-size: 14px;
}

.confirm-buy {
    width: 100%;
    height: 58px;
    margin-top: 20px;
    border: 0;
    border-radius: 20px;
    background: #b88a2c;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.gold-history {
    direction: rtl;
    background: #fff;
    border-radius: 28px;
    padding: 20px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-header span {
    color: #b88a2c;
    font-size: 12px;
}

.history-header h2 {
    margin: 5px 0;
    font-size: 18px;
}

.filter-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    background: #f8f4e9;
    color: #b88a2c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.history-tabs button {
    flex: 1;
    border: 0;
    padding: 11px;
    border-radius: 15px;
    background: #f7f7f7;
    color: #777;
}

.history-tabs .active {
    background: #b88a2c;
    color: white;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    padding: 14px;
    border-radius: 20px;
}

.history-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy .history-icon {
    background: #ddf6e8;
    color: #15925d;
}

.sell .history-icon {
    background: #ffe5e5;
    color: #d64545;
}

.pending .history-icon {
    background: #fff1c9;
    color: #c28b16;
}

.history-info {
    flex: 1;
}

.history-info h4 {
    margin: 0 0 5px;
    font-size: 14px;
}

.history-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.history-info span {
    font-size: 11px;
    color: #999;
}

.history-price {
    text-align: left;
}

.history-price strong {
    display: block;
    font-size: 13px;
}

.history-price small {
    color: #888;
    font-size: 11px;
}

.buy .history-price strong {
    color: #15925d;
}

.sell .history-price strong {
    color: #d64545;
}

.gold-profile-page {
    direction: rtl;
    min-height: 100vh;
}

.profile-card-1 {
    background: #fff;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    position: relative;
}

.user-avatar {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    background: #f4e5b5;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-avatar button {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid white;
    background: #b88a2c;
    color: white;
    font-size: 11px;
}

.user-data {
    flex: 1;
}

.user-data h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.user-data h2 span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #c79b35;
    color: white;
    border-radius: 50%;
    font-size: 11px;
}

.user-data p {
    margin: 8px 0;
    color: #999;
    font-size: 13px;
}

.verify-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f8ef;
    color: #15925d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.edit-profile {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 15px;
    background: #fff6df;
    color: #b88a2c;
}

.profile-wallet {
    margin-top: 18px;
    background: linear-gradient(135deg, #a8791d, #e7ca73);
    border-radius: 30px;
    padding: 22px;
    color: white;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(184, 138, 44, .25);
}

.profile-wallet div {
    width: 50%;
}

.profile-wallet small {
    display: block;
    font-size: 12px;
    opacity: .8;
}

.profile-wallet strong {
    display: block;
    margin-top: 10px;
    font-size: 17px;
}

.user-profile {
    direction: rtl;
    padding: 20px;
    background: #fafafa;
}

.profile-title h2 {
    margin: 0;
    font-size: 20px;
}

.profile-title p {
    color: #777;
    font-size: 13px;
}

.profile-card {
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    margin-top: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b88a2c;
    font-weight: bold;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 0;
    background: #f7f7f7;
    border-radius: 16px;
    padding: 15px;
    outline: none;
    font-family: inherit;
}

.form-group textarea {
    height: 90px;
    resize: none;
}

.phone-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-box input {
    flex: 1;
}

.verified {
    background: #dff6e8;
    color: #168456;
    padding: 10px;
    border-radius: 15px;
    font-size: 11px;
}

.verify-status {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f2fbf6;
    padding: 15px;
    border-radius: 20px;
}

.verify-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: #18a66b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verify-status h4 {
    margin: 0;
}

.verify-status p {
    font-size: 12px;
    color: #777;
}

.change-password {
    width: 100%;
    border: 1px solid #d8b35a;
    background: white;
    color: #b88a2c;
    padding: 14px;
    border-radius: 18px;
}

.save-profile {
    width: 100%;
    margin-top: 20px;
    height: 58px;
    border: 0;
    border-radius: 20px;
    background: #b88a2c;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 900;
}

.login-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 30px);
    max-width: 420px;
    background: #fff;
    border-radius: 35px;
    padding: 30px 22px;
    direction: rtl;
    z-index: 1000;
    transition: .4s;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    height: max-content;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    -ms-border-radius: 35px;
    -o-border-radius: 35px;
    display: none;
}

.login-modal2 {
    position: relative !important;
    top: unset !important;
    left: unset !important;
    transform: unset !important;
    -webkit-transform: unset !important;
    -moz-transform: unset !important;
    -ms-transform: unset !important;
    -o-transform: unset !important;
    max-width: 100% !important;
    width: 100% !important;
}

.login-modal.show {
    display: block;
}

.login-modal.show {
    bottom: 0;
}

.login-overlay.show {
    opacity: 1;
    visibility: visible;
}

.close-login {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 15px;
    background: #f7f4eb;
    color: #b88a2c;
}

.login-logo {
    text-align: center;
}

.login-logo img {
    width: 150px;
    border-radius: 10px;
}

.login-title {
    text-align: center;
    margin-top: 15px;
}

.login-title h2 {
    margin: 0;
    font-size: 22px;
}

.login-title p {
    color: #888;
    font-size: 13px;
    margin-top: 8px;
}

.login-form {
    margin-top: 30px;
}

.input-box {
    height: 58px;
    background: #f7f7f7;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    margin-bottom: 15px;
}

.input-box i::before {
    color: #b88a2c;
    font-size: 15px;
}

.icon-eye::before {
    font-size: 20px !important;
}

.input-box input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    padding-right: 15px;
    font-family: inherit;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #b88a2c, #e4c46d);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.login-security {
    margin-top: 20px;
    padding: 14px;
    border-radius: 18px;
    background: #f0faf5;
    color: #16835b;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-account-section {
    direction: rtl;
}

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

.bank-header span {
    color: #b88a2c;
    font-size: 12px;
}

.bank-header h3 {
    margin: 5px 0;
    font-size: 20px;
}

.add-bank-btn {
    border: 0;
    background: #b88a2c;
    color: white;
    border-radius: 15px;
    padding: 10px 15px;
    font-family: inherit;
}

.bank-card {
    background: linear-gradient(135deg, #222, #444);
    border-radius: 28px;
    padding: 22px;
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2);
}

.bank-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bank-logo {
    width: 50px;
    height: 50px;
    background: #ffffff20;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e7c56a;
}

.bank-card h4 {
    margin: 0;
}

.bank-card span {
    font-size: 12px;
    opacity: .7;
}

.bank-more {
    margin-right: auto;
    background: none;
    border: 0;
    color: white;
}

.card-number {
    margin-top: 30px;
}

.card-number span {
    display: block;
}

.card-number strong {
    font-size: 22px;
    letter-spacing: 3px;
    display: block;
    margin-top: 10px;
}

.bank-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.bank-footer small {
    display: block;
    opacity: .7;
    font-size: 11px;
}

.bank-footer strong {
    display: block;
    margin-top: 5px;
}

.verified {
    color: #62e5a0;
}

.add-bank-box {
    margin-top: 18px;
    padding: 18px;
    background: #fff;
    border-radius: 22px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px dashed #e1c276;
}

.add-bank-box i {
    width: 45px;
    height: 45px;
    border-radius: 15px;
    background: #fff3d2;
    color: #b88a2c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-bank-box h4 {
    margin: 0;
    font-size: 14px;
}

.add-bank-box p {
    margin: 5px 0 0;
    color: #888;
    font-size: 12px;
}

.bank-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 900;
}

.bank-add-modal {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 430px;
    background: #fff;
    border-radius: 35px 35px 0 0;
    padding: 25px;
    direction: rtl;
    z-index: 1000;
    transition: .4s;
}

.bank-add-modal.show {
    bottom: 0;
}

.bank-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.close-bank-modal {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 15px;
    background: #f8f3e7;
    color: #b88a2c;
}

.modal-bank-title {
    text-align: center;
}

.bank-title-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    background: #fff1c9;
    color: #b88a2c;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.modal-bank-title h2 {
    margin: 15px 0 5px;
}

.modal-bank-title p {
    color: #888;
    font-size: 13px;
}

.bank-form {
    margin-top: 25px;
}

.bank-input {
    height: 58px;
    background: #f7f7f7;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 15px;
}

.bank-input i {
    color: #b88a2c;
    font-size: 20px;
}

.bank-input input,
.bank-input select {
    flex: 1;
    border: 0;
    background: none;
    outline: none;
    font-family: inherit;
    padding-right: 12px;
}

.bank-owner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5faf7;
    padding: 15px;
    border-radius: 20px;
    margin: 15px 0;
}

.bank-owner small {
    display: block;
    color: #777;
}

.bank-owner strong {
    display: block;
    margin-top: 5px;
}

.bank-owner span {
    background: #dff6e8;
    color: #168456;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 11px;
}

.agree-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin: 15px 0;
}

.agree-box input {
    width: 18px;
    height: 18px;
}

.save-bank-btn {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #b88a2c, #e6c875);
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.transaction-page {
    direction: rtl;
    padding: 20px;
    background: #f8f8f8;
}

.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-header span {
    color: #b88a2c;
    font-size: 12px;
}

.transaction-header h2 {
    margin: 6px 0;
    font-size: 23px;
}

.filter-transaction {
    width: 45px;
    height: 45px;
    border: 0;
    border-radius: 16px;
    background: white;
    color: #b88a2c;
}

.transaction-summary {
    margin-top: 20px;
    background: linear-gradient(135deg, #b88a2c, #e5c56d);
    border-radius: 28px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    color: white;
}

.transaction-summary div {
    text-align: center;
}

.transaction-summary small {
    display: block;
    opacity: .8;
    font-size: 11px;
}

.transaction-summary strong {
    display: block;
    font-size: 22px;
    margin-top: 8px;
}

.transaction-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-card {
    background: white;
    border-radius: 24px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .04);
}

.transaction-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.transaction-icon.success {
    background: #def7e9;
    color: #16905b;
}

.transaction-icon.pending {
    background: #fff0c9;
    color: #c28b18;
}

.transaction-icon.failed {
    background: #ffe4e4;
    color: #d23b3b;
}

.transaction-info {
    flex: 1;
}

.transaction-info h4 {
    margin: 0;
    font-size: 14px;
}

.transaction-info p {
    margin: 5px 0;
    color: #777;
    font-size: 12px;
}

.transaction-info span {
    color: #aaa;
    font-size: 11px;
}

.transaction-status {
    text-align: left;
}

.transaction-status strong {
    display: block;
    font-size: 13px;
}

.transaction-status small {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 11px;
}

.success+.transaction-info+.transaction-status strong {
    color: #15925d;
}

.pending+.transaction-info+.transaction-status strong {
    color: #c28b18;
}

.failed+.transaction-info+.transaction-status strong {
    color: #d23b3b;
}

.mobile-footer {
    box-shadow: 0 0 8px 1px #0000002a;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    margin-bottom: 120px;
}

.mobile-footer span {
    font-size: 13px;
}

.bottom-navbar {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 460px;
    height: 78px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    display: none;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
    z-index: 102;
}

.nav-item {
    flex: 1;
    text-decoration: none;
    color: #999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    transition: .3s;
}

.nav-item span {
    font-size: 12px;
}

.nav-item i {
    font-size: 22px;
}

.nav-item i::before {
    color: #747474;
}

.nav-item.active {
    color: #b88a2c;
}

.nav-item.active i {
    transform: translateY(-2px);
}

.nav-center {
    position: relative;
    margin-top: -55px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b88a2c, #f0d27d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 0 15px 35px rgba(184, 136, 44, .45);
    border: 5px solid #fff;
}

.nav-center span {
    margin-top: 8px;
    font-size: 11px;
    color: #b88a2c;
    font-weight: 700;
}

.nav-item:hover {
    color: #b88a2c;
}

.priceItemBox {
    overflow-x: auto;
    scrollbar-width: none;
}

.priceItems {
    min-width: 100px;
    width: 150px;

}

.priceItems.active {
    background-color: #f8df9c !important;
    color: #b8860b;
}

.input-error {
    color: #e53935;
    font-size: 13px;
    margin-top: 7px;
    margin-right: 5px;
    min-height: 18px;
}

.input-box input.error {
    border-color: #e53935 !important;
    background: #fff8f8;
}

.input-box input:focus {
    border-color: #D4A017;
}

.login-btn {
    width: 100%;
    border: none;
    cursor: pointer;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    color: #666;
    font-size: 14px;
}

.remember-me input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox {
    width: 21px;
    height: 21px;
    border: 1.5px solid #D8D8D8;
    border-radius: 7px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.custom-checkbox i {
    font-size: 11px;
    color: #fff;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .2s ease, transform .2s ease;
}

.remember-me input:checked+.custom-checkbox {
    background: #C9A227;
    border-color: #C9A227;
}

.remember-me input:checked+.custom-checkbox i {
    opacity: 1;
    transform: scale(1);
}

.remember-me:active .custom-checkbox {
    transform: scale(.9);
}

.remember-text {
    line-height: 1;
    transition: color .2s ease;
}

.remember-me:hover .remember-text {
    color: #222;
}

.faq-section {
    direction: rtl;
    padding: 25px 20px 40px;
}

.faq-header {
    margin-bottom: 22px;
}

.faq-label {
    display: inline-block;
    font-size: 13px;
    color: #c39a27;
    background: #fbf7eb;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.faq-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #202020;
}

.faq-header p {
    margin: 8px 0 0;
    font-size: 14px;
    color: #888;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    overflow: hidden;
    transition: .3s ease;
}

.faq-item.active {
    border-color: #eadcae;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .035);
}

.faq-question {
    width: 100%;
    min-height: 65px;
    padding: 17px 18px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    text-align: right;
    direction: rtl;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #292929;
    cursor: pointer;
}

.faq-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 10px;
    background: #f8f5ed;
    position: relative;
    transition: .3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #c9a227;
    border-radius: 2px;
}

.faq-icon::before {
    width: 11px;
    height: 2px;
    top: 14px;
    left: 9px;
}

.faq-icon::after {
    width: 2px;
    height: 11px;
    top: 9px;
    left: 14px;
    transition: .3s ease;
}

.faq-item.active .faq-icon {
    background: #c9a227;
    transform: rotate(0deg);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background: #fff;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}

.faq-answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 18px;
    color: #777;
    font-size: 14px;
    line-height: 2;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 18px;
}

.site-footer {
    direction: rtl;
    margin-top: 70px;
    background: #171717;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9a227, #f0d477, #c9a227, transparent);
}

.footer-container {
    max-width: 1250px;
    margin: auto;
    padding: 55px 30px 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 70px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-brand-logo {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #d6b23c, #a67c00);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 10px 30px rgba(201, 162, 39, .18);
}

.footer-brand h3 {
    margin: 2px 0 7px;
    font-size: 21px;
    font-weight: 800;
}

.footer-brand p {
    margin: 0;
    color: #8f8f8f;
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h4,
.footer-contact h4 {
    margin: 0 0 8px;
    font-size: 15px;
    color: #fff;
}

.footer-column h4::after,
.footer-contact h4::after {
    content: "";
    display: block;
    width: 25px;
    height: 2px;
    margin-top: 9px;
    background: #c9a227;
    border-radius: 5px;
}

.footer-column a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    transition: .25s;
}

.footer-column a:hover {
    color: #d4b54c;
    transform: translateX(-4px);
}

.footer-contact p {
    color: #888;
    font-size: 13px;
    line-height: 2;
    max-width: 260px;
    margin: 0 0 18px;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    padding: 11px 17px;
    border-radius: 12px;
    background: #222;
    border: 1px solid #333;
    color: #d5b343;
    text-decoration: none;
    font-size: 12px;
    transition: .25s;
}

.support-btn:hover {
    background: #c9a227;
    color: #fff;
    border-color: #c9a227;
}

.footer-divider {
    height: 1px;
    background: #292929;
    margin: 45px 0 22px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #666;
    font-size: 11px;
}

.developer {
    color: #777;
    font-size: 11px;
}

.developer a {
    color: #c9a227;
    text-decoration: none;
    font-weight: 700;
    margin-right: 4px;
}

.footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #222;
    color: #888;
    text-decoration: none;
    transition: .25s;
}

.footer-social a:hover {
    background: #c9a227;
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer {
        margin-top: 45px;
    }

    .footer-container {
        padding: 40px 20px 20px;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        order: -1;
    }

    .copyright {
        order: 2;
    }
}

.about-page {
    direction: rtl;
    width: 100%;
    padding: 40px 20px 80px;
    background: #faf9f6;
}

.about-container {
    width: min(1100px, 100%);
    margin: 0 auto;
}

.about-hero {
    min-height: 360px;
    padding: 55px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, #fffdf8 0%, #f8f1df 100%);
    border: 1px solid #eee4ca;
}

.about-hero-content {
    max-width: 650px;
}

.about-badge,
.section-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 50px;
    background: #f3e5b8;
    color: #8b6b1f;
    font-size: 13px;
    font-weight: 600;
}

.about-hero h1 {
    margin: 22px 0 15px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.2;
    color: #24211b;
}

.about-hero p {
    margin: 0;
    color: #777166;
    font-size: 17px;
    line-height: 2;
}

.about-hero-icon {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eadcb8;
    box-shadow: 0 20px 50px rgba(100, 75, 20, .08);
    font-size: 55px;
    color: #b38a2c;
}

.about-intro {
    max-width: 800px;
    margin: 80px auto 60px;
    text-align: center;
}

.about-intro h2,
.about-mission h2 {
    margin: 18px 0;
    font-size: clamp(25px, 4vw, 38px);
    color: #24211b;
}

.about-intro p {
    margin: 0;
    color: #777166;
    font-size: 16px;
    line-height: 2.2;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.about-feature {
    display: flex;
    gap: 18px;
    padding: 28px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 22px;
    transition: .25s ease;
}

.about-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
}

.feature-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #faf3df;
    color: #ad8427;
    font-size: 22px;
}

.about-feature h3 {
    margin: 2px 0 8px;
    font-size: 18px;
    color: #29251d;
}

.about-feature p {
    margin: 0;
    color: #817b70;
    line-height: 1.9;
    font-size: 14px;
}

.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-top: 1px solid #e9e4da;
    border-bottom: 1px solid #e9e4da;
}

.about-mission p {
    margin: 0;
    color: #777166;
    line-height: 2.2;
    font-size: 16px;
}

.about-cta {
    margin-top: 70px;
    padding: 35px 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #28251f;
    color: #fff;
}

.about-cta h2 {
    margin: 0 0 8px;
    font-size: 25px;
}

.about-cta p {
    margin: 0;
    color: #c8c2b7;
}

.about-btn {
    flex-shrink: 0;
    padding: 13px 24px;
    border-radius: 12px;
    background: #d4af55;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

.about-btn:hover {
    background: #c49d3f;
}

.menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .about-page {
        padding: 20px 14px 50px;
    }

    .buy-gold-modal {
        width: 90% !important;
    }

    .about-hero {
        min-height: auto;
        padding: 30px 22px;
        flex-direction: column;
        align-items: flex-start;
        border-radius: 24px;
    }

    .topNav {
        display: none !important;
    }

    .menu-btn {
        display: block;
    }

    .about-hero h1 {
        font-size: 34px;
    }

    .about-hero p {
        font-size: 15px;
    }

    .about-hero-icon {
        width: 90px;
        height: 90px;
        font-size: 32px;
    }

    .about-intro {
        margin: 55px auto 40px;
    }

    .about-intro h2 {
        font-size: 27px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 50px;
    }

    .about-feature {
        padding: 22px;
    }

    .about-mission {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
    }

    .about-cta {
        margin-top: 45px;
        padding: 28px 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .about-cta h2 {
        font-size: 21px;
    }

    .about-btn {
        text-align: center;
    }
}

.contact-page {
    direction: rtl;
    padding: 50px 20px 80px;
    background: #faf9f6;
}

.contact-container {
    width: min(1100px, 100%);
    margin: auto;
}

.contact-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.contact-badge,
.section-label {
    display: inline-flex;
    padding: 7px 15px;
    border-radius: 50px;
    background: #f5e9c5;
    color: #967326;
    font-size: 13px;
    font-weight: 600;
}

.contact-header h1 {
    margin: 18px 0 12px;
    font-size: clamp(32px, 5vw, 48px);
    color: #27231c;
}

.contact-header p {
    margin: 0;
    color: #777166;
    font-size: 16px;
    line-height: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 25px;
    align-items: stretch;
}

.contact-info {
    padding: 35px;
    border-radius: 25px;
    background: #29261f;
    color: #fff;
}

.contact-info h2 {
    margin: 18px 0 12px;
    font-size: 27px;
}

.contact-info-title p {
    color: #c5c0b7;
    line-height: 2;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(212, 175, 85, .12);
    color: #d7b45d;
    font-size: 20px;
}

.contact-item span {
    display: block;
    margin-bottom: 5px;
    color: #aaa59c;
    font-size: 12px;
}

.contact-item strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.contact-form-box {
    padding: 35px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 25px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .04);
}

.form-title h2 {
    margin: 0 0 8px;
    color: #29251f;
    font-size: 24px;
}

.form-title p {
    margin: 0 0 28px;
    color: #858077;
    font-size: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #403b33;
    font-size: 13px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #e6e1d8;
    border-radius: 12px;
    outline: none;
    background: #fcfbf9;
    color: #302c26;
    font-family: inherit;
    font-size: 13px;
    transition: .2s;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #c9a84c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, .08);
}

.contact-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #caa64d;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.contact-submit:hover {
    background: #b99136;
}

.contact-submit i {
    font-size: 16px;
}

.contact-bottom {
    margin-top: 25px;
    padding: 22px 25px;
    border: 1px solid #eee9df;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-bottom strong {
    display: block;
    color: #302c25;
    margin-bottom: 5px;
}

.contact-bottom span {
    color: #888178;
    font-size: 13px;
}

.contact-bottom>i {
    font-size: 28px;
    color: #c6a04b;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 25px 14px 50px;
    }

    .bottom-navbar {
        display: flex !important;
    }

    .contact-header {
        margin-bottom: 35px;
    }

    .contact-header h1 {
        font-size: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-box {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-bottom {
        padding: 18px;
    }

    .contact-bottom>i {
        font-size: 23px;
    }
}

@media (max-width: 420px) {
    .contact-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .profile-card-1 {
        flex-direction: column !important;
    }

    .user-data {
        text-align: center !important;
    }

    .edit-profile {
        margin-top: 0 !important;
    }

    .contact-info,
    .contact-form-box {
        padding: 22px 16px;
    }

    .contact-header h1 {
        font-size: 29px;
    }

    .contact-header p {
        font-size: 14px;
    }
}

.privacy-page {
    direction: rtl;
    padding: 50px 20px 80px;
    background: #faf9f6;
}

.privacy-container {
    width: min(1100px, 100%);
    margin: auto;
}

.privacy-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.privacy-badge {
    display: inline-flex;
    padding: 7px 15px;
    border-radius: 50px;
    background: #f5e9c5;
    color: #967326;
    font-size: 13px;
    font-weight: 600;
}

.privacy-header h1 {
    margin: 20px 0 15px;
    color: #29251e;
    font-size: clamp(30px, 5vw, 45px);
    line-height: 1.5;
}

.privacy-header p {
    margin: 0;
    color: #7d776d;
    line-height: 2;
    font-size: 15px;
}

.privacy-date {
    margin-top: 20px;
    color: #999186;
    font-size: 12px;
}

.privacy-date strong {
    color: #766b5c;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 25px;
    align-items: start;
}

.privacy-sidebar {
    position: sticky;
    top: 25px;
    padding: 22px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 20px;
}

.privacy-sidebar-title {
    margin-bottom: 15px;
    color: #302c25;
    font-size: 14px;
    font-weight: 700;
}

.privacy-sidebar a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 3px;
    border-radius: 9px;
    color: #777166;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.7;
    transition: .2s;
}

.privacy-sidebar a:hover {
    background: #faf4e5;
    color: #a17b29;
}

.privacy-content {
    padding: 40px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 25px;
}

.privacy-content section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #eeeae3;
}

.privacy-content section:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
}

.privacy-content h2 {
    position: relative;
    margin: 0 0 15px;
    padding-right: 16px;
    color: #302c25;
    font-size: 21px;
}

.privacy-content h2::before {
    content: "";
    position: absolute;
    right: 0;
    top: 5px;
    width: 4px;
    height: 22px;
    border-radius: 5px;
    background: #c7a047;
}

.privacy-content p {
    margin: 0;
    color: #777166;
    font-size: 14px;
    line-height: 2.2;
}

.privacy-content ul {
    margin: 18px 0 0;
    padding-right: 20px;
}

.privacy-content li {
    margin-bottom: 10px;
    color: #777166;
    font-size: 14px;
    line-height: 1.9;
}

.privacy-note {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding: 18px;
    border-radius: 15px;
    background: #faf6e9;
    border: 1px solid #eee1bd;
}

.privacy-note>i {
    color: #b18a36;
    font-size: 23px;
    flex-shrink: 0;
}

.privacy-note strong {
    display: block;
    margin-bottom: 5px;
    color: #4c402b;
    font-size: 13px;
}

.privacy-note span {
    display: block;
    color: #82765f;
    font-size: 12px;
    line-height: 1.9;
}

.privacy-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 35px;
    padding: 22px;
    border-radius: 18px;
    background: #29261f;
    color: #fff;
}

.privacy-contact strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.privacy-contact span {
    color: #bbb5aa;
    font-size: 12px;
}

.privacy-contact a {
    flex-shrink: 0;
    padding: 11px 20px;
    border-radius: 10px;
    background: #d0aa50;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    transition: .2s;
}

.privacy-contact a:hover {
    background: #b99136;
}

@media (max-width: 850px) {
    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .privacy-sidebar-title {
        width: 100%;
    }

    .privacy-sidebar a {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .privacy-page {
        padding: 25px 12px 50px;
    }

    .privacy-header {
        margin-bottom: 30px;
    }

    .privacy-header h1 {
        font-size: 29px;
        line-height: 1.6;
    }

    .privacy-header p {
        font-size: 13px;
    }

    .privacy-sidebar {
        padding: 16px;
    }

    .privacy-sidebar a {
        padding: 7px 9px;
        font-size: 11px;
    }

    .privacy-content {
        padding: 25px 18px;
        border-radius: 20px;
    }

    .privacy-content h2 {
        font-size: 18px;
    }

    .privacy-content p,
    .privacy-content li {
        font-size: 13px;
    }

    .privacy-note {
        padding: 15px;
    }

    .privacy-contact {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .privacy-contact a {
        text-align: center;
    }
}

.terms-page {
    direction: rtl;
    padding: 50px 20px 80px;
    background: #faf9f6;
}

.terms-container {
    width: min(1100px, 100%);
    margin: auto;
}

.terms-header {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.terms-badge {
    display: inline-flex;
    padding: 7px 15px;
    border-radius: 50px;
    background: #f5e9c5;
    color: #967326;
    font-size: 13px;
    font-weight: 600;
}

.terms-header h1 {
    margin: 20px 0 12px;
    color: #29251e;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.5;
}

.terms-header p {
    margin: 0;
    color: #7c766d;
    font-size: 15px;
    line-height: 2;
}

.terms-date {
    margin-top: 18px;
    color: #9b9489;
    font-size: 12px;
}

.terms-date strong {
    color: #746a5b;
}

.terms-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 25px;
    align-items: start;
}

.terms-sidebar {
    position: sticky;
    top: 25px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 20px;
}

.terms-sidebar-title {
    margin-bottom: 12px;
    color: #332e27;
    font-size: 14px;
    font-weight: 700;
}

.terms-sidebar a {
    display: block;
    padding: 9px 11px;
    margin-bottom: 2px;
    border-radius: 9px;
    color: #777167;
    text-decoration: none;
    font-size: 12px;
    transition: .2s;
}

.terms-sidebar a:hover {
    background: #faf4e4;
    color: #9c7628;
}

.terms-content {
    padding: 35px 40px;
    background: #fff;
    border: 1px solid #eee9df;
    border-radius: 25px;
}

.terms-content section {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #eeeae3;
}

.terms-content section:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
}

.terms-section-number {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #faf4e5;
    color: #ad852d;
    font-size: 12px;
    font-weight: 700;
}

.terms-content h2 {
    margin: 0 0 12px;
    color: #302c25;
    font-size: 20px;
}

.terms-content p {
    margin: 0;
    color: #777168;
    font-size: 14px;
    line-height: 2.2;
}

.terms-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 13px;
    background: #faf6e9;
    border: 1px solid #eee2bf;
    color: #806c42;
    font-size: 12px;
}

.terms-alert i {
    color: #b28a36;
    font-size: 20px;
}

.terms-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: #a17b2a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.terms-link:hover {
    color: #80601d;
}

.terms-accept {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
    padding: 22px;
    border-radius: 18px;
    background: #29261f;
    color: #fff;
}

.terms-accept-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(213, 177, 83, .15);
    color: #d5b35b;
    font-size: 21px;
}

.terms-accept strong {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.terms-accept p {
    color: #bdb7ad;
    font-size: 12px;
    line-height: 1.9;
}

@media (max-width: 850px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .terms-sidebar-title {
        width: 100%;
    }

    .terms-sidebar a {
        margin: 0;
    }
}

@media (max-width: 600px) {
    .terms-page {
        padding: 25px 12px 50px;
    }

    .terms-header {
        margin-bottom: 30px;
    }

    .terms-header h1 {
        font-size: 29px;
    }

    .terms-header p {
        font-size: 13px;
    }

    .terms-sidebar {
        padding: 15px;
    }

    .terms-sidebar a {
        padding: 7px 9px;
        font-size: 11px;
    }

    .terms-content {
        padding: 25px 18px;
        border-radius: 20px;
    }

    .terms-content section {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .terms-section-number {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .terms-content h2 {
        font-size: 18px;
    }

    .terms-content p {
        font-size: 13px;
    }

    .terms-accept {
        align-items: flex-start;
        padding: 18px;
    }
}

.profile-tabs {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin: 28px 0 25px;
    margin-top: 15px;
    background: #fff;
    border-radius: 17px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 0 8px 1px #00000010;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.profile-tab {
    position: relative;
    flex: 1;
    min-width: 145px;
    height: 58px;
    padding: 0 18px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #858585;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
    -webkit-transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
    -moz-transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
    -ms-transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
    -o-transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.profile-tab i {
    font-size: 18px;
    transition: .25s ease;
}

.profile-tab:hover {
    color: #c39a27;
}

.profile-tab.active {
    color: #222;
    background: #fff;
    font-weight: 700;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
}

.profile-tab.active i {
    color: #c9a227;
}

.profile-tab.active::after {
    content: "";
    position: absolute;
    bottom: 5px;
    width: 22px;
    height: 3px;
    border-radius: 10px;
    background: #c9a227;
}

.upload-description {
    color: #888;
    font-size: 13px;
    line-height: 1.9;
    margin: 8px 0 25px;
}

.national-card-upload {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.upload-item {
    min-width: 0;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.upload-label span {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.upload-label small {
    font-size: 11px;
    color: #999;
}

.upload-box {
    position: relative;
    min-height: 230px;
    border: 1.5px dashed #d9d9d9;
    border-radius: 18px;
    background: #fafafa;
    cursor: pointer;
    overflow: hidden;
    transition: .25s ease;
}

.upload-box:hover,
.upload-box.dragover {
    border-color: #c9a227;
    background: #fffdf6;
    box-shadow: 0 8px 25px rgba(201, 162, 39, .08);
}

.upload-content {
    min-height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    padding: 25px;
    text-align: center;
}

.upload-icon {
    width: 55px;
    height: 55px;
    border-radius: 17px;
    background: #f8f3e4;
    color: #c9a227;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 5px;
}

.upload-content strong {
    font-size: 13px;
    color: #444;
}

.upload-content span {
    font-size: 12px;
    color: #999;
}

.upload-content small {
    font-size: 10px;
    color: #b0b0b0;
}

.upload-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .95);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 5;
}

.upload-box.loading .upload-loading {
    display: flex;
}

.upload-box.loading .upload-content {
    opacity: .2;
}

.loader {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid #eee;
    border-top-color: #c9a227;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.upload-loading span {
    font-size: 12px;
    color: #777;
}

.progress {
    width: 70%;
    height: 5px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress span {
    display: block;
    width: 0%;
    height: 100%;
    background: #c9a227;
    border-radius: inherit;
    transition: width .2s ease;
}

.upload-preview {
    position: absolute;
    inset: 0;
    display: none;
    background: #fff;
}

.upload-box.uploaded .upload-preview {
    display: block;
}

.upload-box.uploaded .upload-content {
    display: none;
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.remove-upload {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, .7);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
}

.upload-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 13px;
    background: #fbf8ed;
    color: #8a7431;
    font-size: 11px;
    line-height: 1.9;
}

.upload-notice i {
    font-size: 15px;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .national-card-upload {
        grid-template-columns: 1fr;
    }

    .upload-box,
    .upload-content {
        min-height: 210px;
    }
}

.transaction-page {
    padding: 30px;
    direction: rtl;
}

.transaction-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-label {
    display: inline-block;
    color: #c39a27;
    background: #fbf7e9;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    margin-bottom: 8px;
}

.transaction-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #242424;
}

.transaction-header p {
    margin: 7px 0 0;
    color: #999;
    font-size: 13px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 17px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fff;
    color: #555;
    font-family: inherit;
    cursor: pointer;
    transition: .2s;
}

.export-btn:hover {
    border-color: #c9a227;
    color: #c9a227;
}

.transaction-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.summary-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 17px;
    background: #fff;
}

.summary-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-icon.gold {
    background: #fbf6e7;
    color: #c9a227;
}

.summary-icon.green {
    background: #edf9f1;
    color: #28a05a;
}

.summary-icon.red {
    background: #fff0f0;
    color: #df4b4b;
}

.summary-icon.blue {
    background: #eef5ff;
    color: #4d83d7;
}

.summary-card div:last-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-card span {
    color: #999;
    font-size: 11px;
}

.summary-card strong {
    font-size: 17px;
    color: #292929;
}

.summary-card small {
    font-size: 10px;
    color: #999;
    font-weight: 400;
}

.transaction-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.transaction-tabs {
    display: flex;
    gap: 5px;
    padding: 5px;
    background: #f6f6f6;
    border-radius: 13px;
}

.transaction-tab {
    border: 0;
    background: transparent;
    padding: 9px 16px;
    border-radius: 9px;
    color: #888;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

.transaction-tab.active {
    background: #fff;
    color: #c39a27;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
}

.transaction-search {
    width: 250px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid #eee;
    border-radius: 12px;
    color: #aaa;
}

.transaction-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
}

.transaction-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #eee;
    border-radius: 17px;
    background: #fff;
}

.transaction-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
    background-color: #fff !important;
}

.transaction-table th {
    padding: 15px 16px;
    background: #fff;
    color: #999;
    font-size: 11px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.transaction-table td {
    padding: 17px 16px;
    border-top: 1px solid #f1f1f1;
    color: #555;
    font-size: 12px;
    white-space: nowrap;
}

.transaction-table tbody tr {
    transition: .2s;
}

.transaction-table tbody tr:hover {
    background: #fffdf7;
}

.transaction-table td strong {
    color: #333;
}

.transaction-table td small {
    font-size: 9px;
    color: #aaa;
    margin-right: 3px;
}

.transaction-id {
    color: #999;
    font-family: monospace;
    font-size: 11px;
}

.transaction-type {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
}

.type-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.transaction-type.buy .type-icon {
    background: #edf9f1;
    color: #27a05a;
}

.transaction-type.sell .type-icon {
    background: #fff0f0;
    color: #dc4b4b;
}

.transaction-type.deposit .type-icon {
    background: #eef5ff;
    color: #4c82d3;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 10px;
}

.status.success {
    color: #218b4d;
    background: #ecf9f0;
}

.status.pending {
    color: #b18413;
    background: #fff8dc;
}

.status.error {
    color: #ffff;
    background: #d64545;
}

.detail-btn {
    border: 0;
    background: #f7f7f7;
    color: #777;
    border-radius: 8px;
    padding: 7px 11px;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.detail-btn:hover {
    background: #fbf5df;
    color: #b28a1e;
}

.transaction-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
}

.page-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 9px;
    color: #777;
    cursor: pointer;
}

.page-btn.active {
    background: #c9a227;
    color: #fff;
    border-color: #c9a227;
}

.page-btn.disabled {
    opacity: .4;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .transaction-page {
        padding: 20px 15px;
    }

    .transaction-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .transaction-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .transaction-tabs {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .transaction-tabs::-webkit-scrollbar {
        display: none;
    }

    .transaction-tab {
        flex-shrink: 0;
    }

    .transaction-search {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .transaction-header {
        align-items: flex-start;
        gap: 15px;
    }

    .transaction-header h2 {
        font-size: 20px;
    }

    .export-btn {
        padding: 10px;
        font-size: 0;
    }

    .export-btn i {
        font-size: 17px;
    }

    .transaction-summary {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .summary-card {
        padding: 13px;
    }

    .summary-icon {
        width: 36px;
        height: 36px;
    }

    .summary-card strong {
        font-size: 14px;
    }
}

.gold-chart-card,
.gold-market-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

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

.gold-chart-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gold-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(196, 154, 69, .12);
    color: #c49a45;
    font-size: 20px;
}

.gold-chart-title h5 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
}

.gold-chart-title span {
    color: #999;
    font-size: 12px;
}

.gold-chart-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #35a56a;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35a56a;
    box-shadow: 0 0 0 4px rgba(53, 165, 106, .10);
}

.gold-chart-price {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 10px;
}

.price-label {
    display: block;
    color: #999;
    font-size: 11px;
    margin-bottom: 5px;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.current-price strong {
    font-size: 25px;
    font-weight: 800;
}

.current-price span {
    font-size: 11px;
    color: #888;
}

.price-change {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 10px;
}

.price-change.positive {
    color: #27935b;
    background: rgba(39, 147, 91, .08);
}

.price-change strong {
    display: block;
    font-size: 12px;
}

.price-change span:last-child {
    display: block;
    font-size: 10px;
    margin-top: 2px;
}

.gold-chart-wrapper {
    width: 100%;
    margin-top: 10px;
}

.gold-chart-box {
    width: 100%;
    height: 300px;
    position: relative;
}

.gold-chart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f1f1;
}

.chart-update {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #999;
    font-size: 10px;
}

.chart-update strong {
    color: #666;
    font-weight: 600;
}

.chart-ranges {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: #f7f7f7;
    border-radius: 10px;
}

.chart-range {
    border: 0;
    background: transparent;
    color: #888;
    font-family: inherit;
    font-size: 11px;
    padding: 7px 11px;
    border-radius: 7px;
    cursor: pointer;
    transition: .2s;
}

.chart-range:hover {
    color: #333;
}

.chart-range.active {
    background: #fff;
    color: #c49a45;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    font-weight: 700;
}

.market-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.market-card-header span {
    display: block;
    color: #999;
    font-size: 11px;
}

.market-card-header h5 {
    margin: 3px 0 0;
    font-size: 15px;
}

.market-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(196, 154, 69, .1);
    color: #c49a45;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #f2f2f2;
}

.market-item-info span {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.market-item-info strong {
    font-size: 14px;
}

.market-item-change {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
}

.market-item-change.positive {
    color: #27935b;
}

.market-info-box {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    border-radius: 10px;
    background: #faf8f2;
    color: #8b7447;
}

.market-info-box i {
    margin-top: 2px;
}

.market-info-box p {
    margin: 0;
    font-size: 10px;
    line-height: 1.8;
}

@media (max-width: 767px) {

    .gold-chart-card,
    .gold-market-card {
        padding: 15px;
        border-radius: 15px;
    }

    .gold-chart-price {
        align-items: center;
    }

    .current-price strong {
        font-size: 21px;
    }

    .gold-chart-box {
        height: 240px;
    }

    .gold-chart-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .chart-ranges {
        width: 100%;
        justify-content: space-between;
    }

    .chart-range {
        flex: 1;
        padding: 7px 5px;
    }

    .chart-update {
        justify-content: center;
    }
}

.gold-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 310px;
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #eee;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.06);
    transform: translateX(105%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    direction: rtl;
}

.gold-sidebar.show {
    transform: translateX(0);
}

.gold-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, .35);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.gold-sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

.gold-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 18px 18px;
    border-bottom: 1px solid #f1f1f1;
}

.gold-user-info {
    display: flex;
    align-items: center;
    gap: 11px;
}

.gold-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #f7df9a, #d7a93b);
    color: #fff;
    font-size: 21px;
    box-shadow: 0 7px 18px rgba(190, 145, 43, .22);
}

.gold-user-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gold-user-text strong {
    font-size: 14px;
    color: #222;
}

.gold-user-text span {
    font-size: 11px;
    color: #929292;
}

.gold-sidebar-close {
    width: 35px;
    height: 35px;
    border: 0;
    background: #f7f7f7;
    color: #777;
    border-radius: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.gold-sidebar-close:hover {
    background: #f1f1f1;
    color: #222;
}

.gold-asset-card {
    margin: 17px;
    padding: 17px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #b88a25 0%, #d9b24b 50%, #a97a1e 100%);
    box-shadow: 0 10px 25px rgba(177, 131, 35, .20);
    position: relative;
    overflow: hidden;
}

.gold-asset-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    left: -35px;
    bottom: -60px;
}

.gold-asset-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    opacity: .9;
}

.gold-asset-top i {
    font-size: 18px;
}

.gold-asset-value {
    display: block;
    font-size: 21px;
    margin-top: 12px;
    direction: ltr;
    text-align: right;
}

.gold-asset-value small {
    font-size: 10px;
    font-weight: 400;
    margin-right: 3px;
}

.gold-asset-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 11px;
}

.gold-asset-bottom strong {
    font-size: 12px;
}

.gold-sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 0 12px 15px;
}

.gold-sidebar-menu::-webkit-scrollbar {
    width: 3px;
}

.gold-sidebar-menu::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.gold-menu-title {
    font-size: 10px;
    color: #a2a2a2;
    padding: 15px 9px 8px;
}

.gold-menu-item {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 9px;
    margin-bottom: 3px;
    border-radius: 13px;
    color: #666;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.gold-menu-item:hover {
    background: #faf7ee;
    color: #b58a2d;
}

.gold-menu-item.active {
    background: #fbf5e6;
    color: #b3882b;
    font-weight: 600;
}

.gold-menu-icon {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f7f7f7;
    color: #777;
    position: relative;
    transition: .2s;
}

.gold-menu-item.active .gold-menu-icon {
    background: #fff;
    color: #b3882b;
}

.gold-menu-item:hover .gold-menu-icon {
    color: #b3882b;
}

.gold-menu-text {
    font-size: 12px;
}

.gold-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d8a832;
    color: #fff;
    border: 2px solid #fff;
    font-size: 8px;
}

.gold-sidebar-footer {
    padding: 13px 17px 20px;
    border-top: 1px solid #f1f1f1;
}

.gold-logout {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    border-radius: 12px;
    color: #d05b5b;
    text-decoration: none;
    font-size: 12px;
    transition: .2s;
}

.gold-logout:hover {
    background: #fff4f4;
}

.gold-logout-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1f1;
}

@media (max-width: 575px) {
    .gold-sidebar {
        width: min(88vw, 310px);
    }
}

.withdraw-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
    -webkit-transition: opacity .25s ease, visibility .25s ease;
    -moz-transition: opacity .25s ease, visibility .25s ease;
    -ms-transition: opacity .25s ease, visibility .25s ease;
    -o-transition: opacity .25s ease, visibility .25s ease;
    scrollbar-width: none;
}

.withdraw-modal.show {
    visibility: visible;
    opacity: 1;
}

.withdraw-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 14, .55);
    backdrop-filter: blur(5px);
}

.withdraw-modal-box {
    position: relative;
    width: 100%;
    max-width: 470px;
    max-height: calc(100vh - 30px);
    overflow-y: auto;
    padding: 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .18);
    transform: translateY(20px) scale(.97);
    transition: .25s ease;
    scrollbar-width: none;
}

.card-number-box {
    width: 100%;
}

.card-number-box input {
    width: 100%;
    height: 55px;
    padding: 0 15px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    outline: none;
    direction: ltr;
    text-align: right;
    font-size: 15px;
    transition: .2s;
}

.card-number-box input:focus {
    border-color: #c49a45;
    box-shadow: 0 0 0 4px rgba(196, 154, 69, .08);
}

.detected-bank {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    color: #999;
    font-size: 10px;
    opacity: .8;
    transition: .2s;
}

.detected-bank.found {
    color: #b38a3c;
    opacity: 1;
}

.detected-bank-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f7f0e2;
    color: #c49a45;
}

.withdraw-modal.show .withdraw-modal-box {
    transform: translateY(0) scale(1);
}

.withdraw-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.withdraw-modal-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.withdraw-modal-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(196, 154, 69, .12);
    color: #c49a45;
    font-size: 20px;
}

.withdraw-modal-title h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
}

.withdraw-modal-title span {
    color: #999;
    font-size: 10px;
}

.withdraw-modal-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6f6;
    color: #888;
    cursor: pointer;
    transition: .2s;
}

.withdraw-modal-close:hover {
    background: #eeeeee;
    color: #333;
}

.withdraw-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 17px;
    background: linear-gradient(135deg, #fffdf8, #f8f1e4);
    border: 1px solid rgba(196, 154, 69, .15);
}

.withdraw-balance>div:first-child {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.withdraw-balance span {
    color: #8d8d8d;
    font-size: 10px;
}

.withdraw-balance strong {
    color: #292929;
    font-size: 20px;
    font-weight: 800;
}

.withdraw-balance strong small {
    color: #888;
    font-size: 10px;
    font-weight: 400;
}

.withdraw-balance-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    color: #c49a45;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
}

.withdraw-form-group {
    margin-bottom: 19px;
}

.withdraw-form-group>label,
.withdraw-label-row label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-size: 11px;
    font-weight: 700;
}

.withdraw-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.withdraw-label-row button {
    border: 0;
    background: transparent;
    color: #b28a3d;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.withdraw-amount-input {
    height: 54px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #fafafa;
    transition: .2s;
}

.withdraw-amount-input:focus-within {
    background: #fff;
    border-color: #c49a45;
    box-shadow: 0 0 0 4px rgba(196, 154, 69, .08);
}

.withdraw-amount-input input {
    flex: 1;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    direction: ltr;
    text-align: right;
}

.withdraw-amount-input input::placeholder {
    color: #bbb;
    font-size: 12px;
    font-weight: 400;
}

.withdraw-amount-input span {
    color: #777;
    font-size: 11px;
    margin-right: 8px;
}

.withdraw-amount-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 7px;
    color: #aaa;
    font-size: 9px;
}

.withdraw-amount-bottom button {
    border: 0;
    background: transparent;
    color: #b18a3d;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
}

.withdraw-bank {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border-radius: 15px;
    background: #fffdf9;
    border: 1px solid #eee3ce;
}

.withdraw-bank-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f7efe0;
    color: #b68a37;
}

.withdraw-bank-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.withdraw-bank-info strong {
    font-size: 11px;
}

.withdraw-bank-info span {
    direction: ltr;
    text-align: right;
    color: #777;
    font-size: 10px;
}

.withdraw-bank-info small {
    color: #aaa;
    font-size: 9px;
}

.withdraw-bank-check {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c49a45;
    color: #fff;
    font-size: 10px;
}

.withdraw-summary {
    padding: 14px;
    margin-top: 4px;
    border-radius: 15px;
    background: #fafafa;
}

.withdraw-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    color: #777;
    font-size: 10px;
}

.withdraw-summary-row strong {
    color: #333;
    font-size: 11px;
}

.withdraw-summary-line {
    height: 1px;
    margin: 7px 0;
    background: #e7e7e7;
}

.withdraw-final span {
    color: #333;
    font-weight: 700;
}

.withdraw-final strong {
    color: #b28a3d;
    font-size: 15px;
}

.withdraw-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 11px;
    border-radius: 12px;
    background: #fffaf1;
    border: 1px solid #f2e4c8;
    color: #8b806c;
    font-size: 9px;
    line-height: 1.8;
}

.withdraw-notice i {
    flex-shrink: 0;
    margin-top: 2px;
    color: #c49a45;
}

.withdraw-submit {
    width: 100%;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    border: 0;
    border-radius: 14px;
    background: #c49a45;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(196, 154, 69, .2);
    transition: .2s;
}

.withdraw-submit:hover {
    background: #b58a35;
    transform: translateY(-1px);
}

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

    .withdraw-modal-box {
        padding: 17px;
        border-radius: 21px;
        max-height: calc(100vh - 20px);
    }

    .withdraw-balance strong {
        font-size: 18px;
    }
}

.support-chat {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 22px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .05);
    font-family: "IRANYekanXVF", sans-serif;
}

.support-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 20px;
    border-bottom: 1px solid #f1f1f1;
}

.support-chat-title {
    display: flex;
    align-items: center;
    gap: 11px;
}

.support-chat-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(196, 154, 69, .12);
    color: #c49a45;
    font-size: 18px;
}

.support-chat-title h3 {
    margin: 0 0 4px;
    color: #292929;
    font-size: 14px;
    font-weight: 800;
}

.support-chat-title span {
    color: #999;
    font-size: 9px;
}

.support-ticket-status {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #f1faf4;
    font-size: 9px;
}

.support-ticket-info {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 12px 20px;
    background: #fafafa;
    border-bottom: 1px solid #f1f1f1;
}

.support-ticket-info>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-ticket-info span {
    color: #aaa;
    font-size: 12px;
}

.support-ticket-info strong {
    color: #555;
    font-size: 14px;
}

.support-messages {
    height: 430px;
    overflow-y: auto;
    padding: 25px 20px;
    background: #fcfcfc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.support-messages::-webkit-scrollbar {
    width: 4px;
}

.support-messages::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.support-message {
    display: flex;
    width: 100%;
}

.support-message.user {
    justify-content: flex-start;
}

.support-message.admin {
    justify-content: flex-end;
}

.support-message-content {
    position: relative;
    max-width: 70%;
    padding: 11px 13px 19px;
    border-radius: 16px;
    font-size: 10px;
    line-height: 1.9;
}

.support-message.user .support-message-content {
    background: #fff;
    border: 1px solid #eeeeee;
    border-bottom-right-radius: 5px;
    color: #555;
}

.support-message.admin .support-message-content {
    background: #c49a45;
    border-bottom-left-radius: 5px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(196, 154, 69, .12);
}

.support-message-content p {
    margin: 0;
}

.support-message-time {
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 7px;
    opacity: .55;
}

.support-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 7px;
    border-radius: 9px;
    background: #f5ead4;
    color: #b78b3b;
    font-size: 11px;
}

.support-reply {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 15px;
    background: #fff;
    border-top: 1px solid #eeeeee;
}

.support-input-wrapper {
    position: relative;
    flex: 1;
}

.support-input-wrapper textarea {
    width: 100%;
    min-height: 45px;
    max-height: 110px;
    resize: none;
    padding: 13px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    outline: none;
    background: #fafafa;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;
    transition: .2s;
}

.support-input-wrapper textarea:focus {
    background: #fff;
    border-color: #c49a45;
    box-shadow: 0 0 0 3px rgba(196, 154, 69, .07);
}

.support-attach {
    position: absolute;
    left: 9px;
    bottom: 9px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    font-size: 13px;
}

.support-send {
    width: 45px;
    height: 45px;
    margin-top: -10px !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 13px;
    background: #c49a45;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(196, 154, 69, .2);
    transition: .2s;
}

.support-send:hover {
    background: #b68a37;
    transform: translateY(-1px);
}

.support-send i::before {
    color: #fff;
}

@media (max-width: 600px) {
    .support-chat {
        border-radius: 18px;
    }

    .support-chat-header {
        padding: 14px;
    }

    .support-ticket-info {
        padding: 10px 14px;
        gap: 20px;
    }

    .support-messages {
        height: 55vh;
        padding: 18px 13px;
    }

    .support-message-content {
        max-width: 82%;
    }

    .support-reply {
        padding: 10px;
    }

    .support-chat-icon {
        width: 39px;
        height: 39px;
    }
}

.support-ticket-card {
    position: relative;
    width: 100%;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .035);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.support-ticket-card:hover {
    transform: translateY(-2px);
    border-color: rgba(196, 154, 69, .25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.support-ticket-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.support-ticket-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(196, 154, 69, .16), rgba(196, 154, 69, .06));
    color: #c49a45;
    font-size: 18px;
}

.support-ticket-main {
    min-width: 0;
    flex: 1;
}

.support-ticket-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.support-ticket-title-row h4 {
    min-width: 0;
    margin: 0;
    color: #292929;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-ticket-main p {
    margin: 6px 0 0;
    color: #858585;
    font-size: 10px;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.support-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 8px;
    border-radius: 20px;
    font-size: 8px;
    font-weight: 600;
}

.support-status i {
    font-size: 9px;
}

.support-status.answered {
    background: #eef9f2;
    color: #35a764;
}

.support-status.pending {
    background: #fff7e7;
    color: #b88a36;
}

.support-ticket-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f2f2f2;
}

.support-ticket-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #a0a0a0;
    font-size: 9px;
}

.support-ticket-date i {
    color: #c49a45;
    font-size: 11px;
}

.support-ticket-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #faf7f0;
    color: #b58a3a;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    transition: .2s;
}

.support-ticket-view i {
    font-size: 10px;
    transition: transform .2s ease;
}

.support-ticket-view:hover {
    background: #c49a45;
    color: #fff;
}

.support-ticket-view:hover i {
    transform: translateX(-3px);
}

@media (max-width: 575px) {
    .support-ticket-card {
        padding: 14px;
        border-radius: 16px;
    }

    .support-ticket-icon {
        width: 41px;
        height: 41px;
        border-radius: 12px;
        font-size: 16px;
    }

    .support-ticket-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .support-ticket-title-row h4 {
        max-width: 100%;
    }

    .support-status {
        padding: 4px 8px;
    }

    .support-ticket-card-footer {
        margin-top: 12px;
    }
}

.gold-transfer-box {
    direction: rtl;
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fffdf7 0%, #fff9e9 100%);
    border: 1px solid #ead9a5;
    box-shadow: 0 8px 30px rgba(155, 119, 35, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.gold-transfer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.gold-transfer-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #a47b19;
    background: linear-gradient(145deg, #fff3bd, #f8dc7a);
    border: 1px solid #e6ca72;
    box-shadow: 0 5px 15px rgba(176, 132, 28, 0.12);
}

.gold-transfer-icon svg {
    width: 22px;
    height: 22px;
}

.gold-transfer-header strong {
    display: block;
    color: #3d321d;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.gold-transfer-header span {
    display: block;
    color: #8b8068;
    font-size: 12px;
}

.gold-transfer-card {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eee4c9;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(60, 45, 10, 0.05);
}

.gold-transfer-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.gold-transfer-label>span:first-child {
    color: #9a8b6a;
    font-size: 11px;
    font-weight: 600;
}

.gold-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6e6a54;
    background: #f7f7ed;
    border-radius: 20px;
    padding: 4px 8px;
    font-size: 10px;
}

.gold-secure-badge svg {
    width: 13px;
    height: 13px;
    color: #a5832d;
}

.gold-sheba-number {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #faf9f4;
    border: 1px dashed #d9c78f;
}

.gold-sheba-number strong {
    direction: ltr;
    unicode-bidi: plaintext;
    color: #29251c;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    word-break: break-all;
}

.copy-sheba {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #8f6c18;
    background: #fff3c9;
    transition: all 0.2s ease;
}

.copy-sheba:hover {
    background: #f5df8f;
    transform: translateY(-1px);
}

.copy-sheba:active {
    transform: scale(0.94);
}

.copy-sheba svg {
    width: 18px;
    height: 18px;
}

.gold-transfer-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 13px;
    padding: 11px 12px;
    border-radius: 11px;
    background: rgba(255, 244, 195, 0.55);
    color: #796b4b;
    font-size: 11px;
    line-height: 1.9;
}

.gold-transfer-note svg {
    width: 17px;
    min-width: 17px;
    margin-top: 2px;
    color: #b38b25;
}

@media (max-width: 576px) {
    .gold-transfer-box {
        padding: 14px;
        border-radius: 15px;
    }

    .gold-transfer-header {
        margin-bottom: 13px;
    }

    .gold-transfer-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .gold-transfer-header strong {
        font-size: 14px;
    }

    .gold-transfer-header span {
        font-size: 11px;
    }

    .gold-transfer-card {
        padding: 13px;
    }

    .gold-sheba-number {
        align-items: center;
    }

    .gold-sheba-number strong {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
}

.gold-receipt-modal {
    direction: rtl;
    border: 0 !important;
    border-radius: 22px !important;
    overflow: hidden;
    background: #fffdf8;
    box-shadow: 0 25px 70px rgba(50, 40, 15, .18);
}

.gold-modal-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 22px;
    background: linear-gradient(135deg, #fff8dc, #fffdf7);
    border-bottom: 1px solid #eee2b9;
}

.gold-modal-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: #9b751d;
    background: linear-gradient(145deg, #fff0af, #f5d96d);
}

.gold-modal-icon svg {
    width: 24px;
}

.gold-modal-header h5 {
    margin: 0 0 4px;
    color: #30291b;
    font-size: 16px;
    font-weight: 800;
}

.gold-modal-header span {
    color: #8e8268;
    font-size: 11px;
}

.gold-modal-close {
    position: absolute;
    left: 17px;
    top: 17px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: #f4efe0;
    color: #776d59;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.gold-modal-body {
    padding: 22px;
}

.gold-form-group {
    margin-bottom: 19px;
}

.gold-form-group>label {
    display: block;
    margin-bottom: 8px;
    color: #51472f;
    font-size: 12px;
    font-weight: 700;
}

.gold-order-number {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 13px;
    border-radius: 13px;
    background: #f8f5eb;
    border: 1px solid #e7dec6;
}

.gold-order-number span {
    color: #a0802c;
    font-weight: 800;
}

.gold-order-number input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #393226;
    font-size: 14px;
    font-weight: 800;
    direction: ltr;
    text-align: right;
}

.receipt-upload {
    position: relative;
    display: block;
    min-height: 190px;
    border: 1.5px dashed #d6bd70;
    border-radius: 17px;
    background: #fffdf7;
    cursor: pointer;
    overflow: hidden;
    transition: .2s ease;
}

.receipt-upload:hover {
    border-color: #b89432;
    background: #fff9e8;
}

.receipt-upload-content {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.receipt-upload-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 14px;
    color: #a17c25;
    background: #fff0bc;
}

.receipt-upload-icon svg {
    width: 23px;
}

.receipt-upload-content strong {
    color: #403722;
    font-size: 13px;
}

.receipt-upload-content span {
    margin-top: 4px;
    color: #a08f6b;
    font-size: 11px;
}

.receipt-upload-content small {
    margin-top: 8px;
    color: #b0a58f;
    font-size: 9px;
}

.receipt-preview {
    position: absolute;
    inset: 0;
    background: #f8f6ef;
}

.receipt-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.receipt-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 13px;
    background: linear-gradient(transparent 55%, rgba(0, 0, 0, .55));
    color: white;
    font-size: 11px;
    opacity: 0;
    transition: .2s;
}

.receipt-upload:hover .receipt-preview-overlay {
    opacity: 1;
}

.gold-receipt-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #fff8dc;
    color: #796b4c;
    font-size: 10px;
    line-height: 1.9;
}

.gold-receipt-notice svg {
    width: 17px;
    min-width: 17px;
    color: #b28b2c;
}

.gold-modal-footer {
    display: flex;
    gap: 9px;
    padding: 16px 22px 21px;
    border-top: 1px solid #eee5d0;
}

.gold-cancel-btn,
.gold-submit-btn {
    height: 45px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
}

.gold-cancel-btn {
    width: 35%;
    background: #f2efe7;
    color: #746c5b;
}

.gold-submit-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    background: linear-gradient(135deg, #b58a28, #8f6a18);
    box-shadow: 0 7px 18px rgba(145, 107, 24, .2);
}

.gold-submit-btn svg {
    width: 18px;
}