.account-main {
    width: 100%;
    height: calc(100vh - 65px);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-bg);
}

.account-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wallet-section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wallet-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 16px 16px 16px;
    gap: 16px;
    border-radius: 0 0 20px 20px;
        background: rgba(29, 53, 87, 0.9);
    backdrop-filter: blur(40px);

}
.usdt-wallet-container, .irr-wallet-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 250px;
    width: 50%;
    padding: 16px;
    box-sizing: border-box;
    background-color: var(--color-bg-soft);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}
.usdt-wallet-container.active, .irr-wallet-container.active {
    border-color: var(--color-primary-hover);
}

.wallet-row1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.wallet-balance-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
}
.wallet-balance-title img {
    width: 25px;
    height: 25px;
}
.wallet-balance-title p {
    margin: 0;
    color: var(--color-text);
    font-weight: 500;
    text-align: right;
    font-size: clamp(12px, 1.4vw, 15px);
}

.select-wallet {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 0px;
    border-radius: 8px;
    width: 67px;
    margin-left: 40px;
    cursor: pointer;
    background-color: var(--color-bg-soft);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    transition: background-color 0.3s ease, coloe 0.3s ease, border-color 0.3s ease;
}
.select-wallet.active {
    color: #FFFFFF;
    background-color: var(--color-secondary);
    border-color: var(--color-primary-hover);
}
.select-wallet p {
    margin: 0;
    font-size: clamp(10px, 1.2vw, 12px);
    font-weight: 700;
    text-align: center;
}


.goto-wallet-report {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #8c8c8c;
    transition: color 0.3s ease;
}
.goto-wallet-report:hover {
    color: var(--color-primary-hover);
}
.goto-wallet-report img {
    width: 12px;
    height: 12px;
}
.goto-wallet-report p {
    margin: 0;
    font-size: clamp(12px, 1.2vw, 14px);
}


.wallet-row2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.wallet-row2 img {
    width: 25px;
    height: 25px;
    pointer-events: none;
    user-select: none;
}
.wallet-row2 p {
    margin: 0;
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 800;
    color: var(--color-text);
}

.wallet-row3 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.charging-wallet-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.charging-wallet-btn-container:hover {
    background-color: var(--color-primary-hover);
}
.charging-wallet-btn-container img {
    width: 25px;
    height: 25px;
    pointer-events: none;
    user-select: none;
}
.charging-wallet-btn-container p {
    margin: 0;
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 700;
;
}

.wallet-label {
    font-size: clamp(10px, 1.3vw, 12px);
    font-weight: 800;
    color: var(--color-secondary);
    margin: 0;
    text-align: center;
    font-style: italic;
}






.account-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px 0 0 0;
}

.account-info-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}

.account-info-header-title, .wallet-section-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.account-info-header-title img, .wallet-section-header img {
    pointer-events: none;
    user-select: none;
    width: 22px;
    height: 22px;
}

.account-info-header h5, .wallet-section-header h5 {
    color: var(--color-text);
    font-weight: 600;
    font-size: clamp(13px, 1.4vw, 16px);
    text-align: center;
    margin: 0;
}

.account-info-header-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
}

.cancel-edit-account-info-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    color: var(--color-text);
    background-color: var(--color-bg-soft);
    border-radius: 8px;
    height: 39px;
    box-sizing: border-box;
    border: 1px solid var(--color-primary);
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cancel-edit-account-info-btn:hover {
    border-color: var(--color-primary-hover);
}
.cancel-edit-account-info-btn p {
    font-weight: 450;
    font-size: clamp(12px, 1.4vw, 15px);
    text-align: center;
    margin: 0;
}

.edit-account-info-btn, .change-account-info-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    background-color: var(--color-primary);
    transition: background-color 0.3s ease;
}
.edit-account-info-btn:hover, .change-account-info-btn:hover {
    background-color: var(--color-primary-hover);
}
.edit-account-info-btn img, .change-account-info-btn img {
    width: 20px;
    height: 20px;
}
.edit-account-info-btn p, .change-account-info-btn p {
    color: var(--color-bg);
    font-weight: 450;
    font-size: clamp(12px, 1.4vw, 15px);
    text-align: center;
    margin: 0;
}

.account-offer-message {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: calc(100% - 200px);
}
.account-offer-message p {
    color: var(--color-primary-hover);
    margin: 0;
    font-size: clamp(13px, 1.4vw, 14px);
    font-weight: 550;
    text-align: center;
}
.account-offer-message img {
    width: 35px;
    height: 35px;
}


.account-info-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.account-info-body-inputs-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.account-info-body-image-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    width: 20%;
    box-sizing: border-box;
    gap: 16px;
}

.account-info-body-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
.account-info-body-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
    user-select: none;
}

.account-info-body-image-edit {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    width: 100px;
    cursor: pointer;
    gap: 5px;
    background-color: #F5F5F5;
    border-radius: 999px;
    border: 1px solid var(--color-primary);
    color: var(--color-text);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.account-info-body-image-edit.disabled {
    pointer-events: none;
    border: 1px solid transparent;
}
.account-info-body-image-edit:hover {
    border-color: var(--color-primary-hover);
    color: var(--color-primary-hover);
}
.account-info-body-image-edit img {
    width: 15px;
    height: 15px;
}
.account-info-body-image-edit p {
    font-weight: 550;
    font-size: clamp(12px, 1.4vw, 14px);
    text-align: center;
    margin: 0;
}

.account-info-body-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 16px;
    width: 40%;
    height: 100%;
    box-sizing: border-box;
    gap: 16px;
}

.account-info-body-col-input-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 100%;
}
.account-info-body-col-input-container p {
    display: flex;
    align-self: flex-start;
    text-align: right;
    font-size: 11px;
    font-weight: normal;
    color: var(--color-text);
    margin: 0;
}
.account-info-body-col-input-container input {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border-radius: 9999px;
    border: 1px solid var(--color-primary-hover);
    direction: rtl;
    font-family: "PeydaWebVF", serif;
    font-size: clamp(12px, 1.4vw, 14px);
    padding: 4px 16px 4px 25px;
    background-color: #F5F5F5;
    color: var(--color-text);
    overflow-y: hidden;
    transition: background-color 0.5s ease, border-color 0.5s ease, height 0.3s ease-in;
}
.account-info-body-col-input-container input:focus {
    outline: none;
    background-color: #F2F2F2;
}
.account-info-body-col-input-container input.disabled {
    border: 1px solid transparent;
    pointer-events: none;
}

.referral-dropdown-btn, .user-mode-dropdown-btn {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--color-primary-hover);
    border-radius: 9999px;
    direction: rtl;
    font-size: clamp(12px, 1.4vw, 14px);
    padding: 4px 16px;
    background-color: #F5F5F5;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color 0.5s ease, border-color 0.5s ease, height 0.3s ease-in;
}
.referral-dropdown-btn:hover, .user-mode-dropdown-btn:hover {
    background-color: #F2F2F2;
}
.referral-dropdown-btn.active, .user-mode-dropdown-btn.active {
    background-color: #F2F2F2;
}
.referral-dropdown-btn img, .user-mode-dropdown-btn img  {
    width: 15px;
    height: 15px;
    pointer-events: none;
    user-select: none;
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}
.referral-dropdown-btn p, .user-mode-dropdown-btn p {
    margin: 5px 0 0 0;
}
.referral-dropdown-btn.disabled, .user-mode-dropdown-btn.disabled {
    pointer-events: none;
    border: 1px solid transparent;
}


.referral-dropdown, .user-mode-dropdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: -600;
    pointer-events: none;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
    box-shadow: 0px 2px 4px rgba(10, 10, 10, 0.1);
    transition: opacity 0.3s ease;
}
.referral-dropdown.show, .user-mode-dropdown.show {
    opacity: 1;
    z-index: 600;
    pointer-events: auto;
}

.referral-dropdown-item, .user-mode-dropdown-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.referral-dropdown-item:hover, .user-mode-dropdown-item:hover {
    background-color: #F2F2F2;
}

.change-profile-info-tip {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
}
.change-profile-info-tip p {
    font-size: 12px;
    color: var(--color-danger);
    font-weight: normal;
    text-align: right;
    margin: 0;
}

.signout-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-top: 1px solid var(--color-border);
}

.signout-btn-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
    max-width: 552px;
}

.signout-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    background-color: var(--color-danger);
    cursor: pointer;
    border-radius: 10px;
    gap: 4px;
}
.signout-btn img {
    width: 27px;
    height: 27px;
    pointer-events: none;
    user-select: none;
}
.signout-btn p {
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
}


.change-account-info-otp-panel {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #FFFFFF;
    z-index: -1002;
    opacity: 0;
    transition: opacity, transform 0.3s ease;
    transform: scale(0.5);
    top: calc(50% - 155px);
    right: calc(50% - 150px);
    width: 300px;
    height: max-content;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.7);
}

.change-account-info-otp-panel.show {
    opacity: 1;
    z-index: 1002;
    transform: scale(1);
}

.change-account-info-otp {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 300px;
    height: max-content;
    min-height: 300px;
    padding: 16px;
    box-sizing: border-box;
}

.change-account-info-otp-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}


/* Mobile */
@media (max-width: 991.999px) {
    .account-main {
        height: calc(100vh - 133px);
    }
    .account-info-body-inputs-container {
        flex-direction: column;
    }
    .account-info-body-col {
        width: 100%;
    }
    .account-info-body-image-container {
        width: 80%;
    }
    .account-offer-message {
        width: 100%;
    }
    .account-info-header {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 16px;
    }
}
/* Mobile */
@media (max-width: 750px) {
    .wallet-container {
        flex-direction: column;
        gap: 16px;
    }
    .usdt-wallet-container, .irr-wallet-container {
        width: 100%;
    }
}