.joya-wallet-page {
    padding: 0px;
    background: white;
}

.wallet-heads {
    padding: 10px;
    background: var(--mcw-primary);
}

.joya-wallet-tab {
    display: flex;
    overflow: hidden;
    margin-bottom: 10px;
}

.joya-wallet-tab div {
    flex: 1;
    text-align: center;
    padding: 7px;
    background: #5a4cc2;
    color: #fff;
    cursor: pointer;
}

#wallet-ids {
	background: white !important;
	margin-bottom: 0px !important;
}

.wallet-amanot {
    margin-top: 13px;
    margin-bottom: 12px;
    background: var(--mcw-fotter-bg);
    padding: 10px;
}

.joya-wallet-tab .active {
    background: var(--mcw-accent);
}

.poriman {
    color: black;
    padding: 0px 10px;
}

.joya-balance {
    display: flex;
    color: #fff;
    margin-bottom: 33px;
    justify-content: space-between;
    padding-top: 22px;
}

.joya-pay-methods {
	display: flex;
	gap: 10px;
	width: auto;
	flex-wrap: wrap;
}

.joya-pay-card {
    flex: 1;
    background: #5a4cc2;
    padding: 6px 0px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    font-size: 13px;
}

.joya-pay-card img {
    width: 23px;
}

.joya-pay-card.active {
	background: var(--mcw-accent);
	color: #fff;
	font-size: 13px;
}

.joya-pay-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.joya-wallet-select {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

.joya-channel-box {
    display: flex;
    margin: 10px 0;
}

.joya-channel {
	background: var(--mcw-primary-light);
	padding: 8px 15px;
	border-radius: 8px;
	color: white;
	cursor: pointer;
	transition: .2s;
	margin-right: 6px;
}
.joya-channel.active {
	background: var(--mcw-accent);
	opacity: 1;
}

.joya-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    padding: 10px;
}

.joya-amounts button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    background: #5a4cc2;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

/* Active button red */
.joya-amounts button.active {
    background: var(--mcw-accent);
}
#withdrawForm {
	padding: 0px !important;
}
.button-submit {
    padding: 10px;
}

#amountInput {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#withdrawAmountInput,
.button-submit textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.button-submit textarea {
    resize: vertical;
    min-height: 88px;
}

.joya-submit {
    width: 100%;
    margin-top: 10px;
    background: #ff7a00;
    border: none;
    padding: 12px;
    border-radius: 10px;
    color: #fff;
}

.joya-submit[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.selected-gateway-info {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: #fff4e8;
    color: #333;
    line-height: 1.5;
}

.deposit-submit-card {
    max-width: 680px;
    margin: 20px auto;
}

.deposit-submit-modern {
    border: 1px solid #f3dfcf;
    background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
}

.deposit-submit-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.deposit-submit-top h3 {
    margin: 0;
    font-size: 22px;
    color: #2b2f42;
}

.deposit-submit-top p {
    margin: 6px 0 0;
    color: #5d637f;
    font-size: 13px;
}

.deposit-timer-card {
    min-width: 128px;
    background: #fff;
    border: 1px solid #ffd8b0;
    border-radius: 12px;
    padding: 10px 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.08);
}

.deposit-timer-card span {
    display: block;
    font-size: 11px;
    color: #7a5b3e;
    letter-spacing: 0.3px;
}

.deposit-timer-card strong {
    display: block;
    margin-top: 2px;
    font-size: 22px;
    color: #ff7a00;
    line-height: 1.1;
}

.deposit-summary {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 18px 0;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
}

.deposit-summary-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.deposit-summary-modern {
    align-items: flex-start;
}

.deposit-summary-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.deposit-summary-grid p {
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    background: #fff8f1;
    border-radius: 8px;
    font-size: 13px;
    color: #3d4258;
}

.deposit-summary-grid p span {
    color: #5d637f;
}

.deposit-summary-grid p strong {
    color: #1d223a;
    font-weight: 700;
}

.deposit-instruction {
    margin: 14px 0;
    background: #fff;
    border: 1px dashed #ffcc9a;
    border-radius: 10px;
    padding: 10px 12px;
}

.deposit-instruction p {
    margin: 4px 0;
    color: #3e455d;
    font-size: 13px;
}

.deposit-submit-form label {
    display: block;
    margin: 12px 0 6px;
    color: #222;
}

.deposit-submit-form input,
.deposit-submit-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.deposit-success {
    padding: 12px;
    border-radius: 8px;
    background: #e8fff0;
    color: #0c6b36;
}

.deposit-error {
    padding: 12px;
    border-radius: 8px;
    background: #ffe9e9;
    color: #a11d1d;
}

@media (max-width: 640px) {
    .deposit-submit-top {
        flex-direction: column;
    }

    .deposit-timer-card {
        width: 100%;
    }

    .deposit-summary-grid {
        grid-template-columns: 1fr;
    }
}

.wallet-inline-alert {
	padding: 11px;
}

.wallet-inline-alert.success {
    background: #e8fff0;
    color: #0c6b36;
}

.wallet-inline-alert.error {
	background: #fff;
	color: #a11d1d;
}

.wallet-link-btn {
    display: inline-block;
    text-decoration: none;
    background: #ff7a00;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

.wallet-form-label {
    display: block;
    margin-top: 12px;
    color: #222;
}

.withdraw-methods-wrap {
    width: 100%;
}

.withdraw-min-max-info {
    margin-top: 10px;
    font-size: 13px;
    color: #3f4667;
}

.withdraw-quick-amounts {
    padding: 10px 0;
}

.agent-submit-loader {
    position: fixed;
    inset: 0;
    background: rgba(16, 19, 33, 0.68);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.agent-submit-loader-card {
    width: min(360px, 100%);
    background: #fff;
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.agent-submit-loader-card h4 {
    margin: 10px 0 4px;
    font-size: 18px;
    color: #20243a;
}

.agent-submit-loader-card p {
    margin: 0;
    font-size: 13px;
    color: #4f5779;
    line-height: 1.5;
}

.agent-submit-loader-spinner {
    width: 48px;
    height: 48px;
    margin: 2px auto 0;
    border-radius: 50%;
    border: 4px solid #ffe1c0;
    border-top-color: #ff7a00;
    animation: agentSubmitSpin 0.9s linear infinite;
}

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