/* =========================================================
   PASHA ROYAL
   CÜZDAN / PARA YATIR SAYFASI
========================================================= */

.walletp,
.walletp *,
.walletp *::before,
.walletp *::after {
    box-sizing: border-box;
}

.walletp {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 60px;
    color: #f4f7fb;
}

.walletp [hidden] {
    display: none !important;
}


/* =========================================================
   BAŞLIK
========================================================= */

.walletp__header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    margin-bottom: 24px;
    background:
        radial-gradient(ellipse at top left, rgba(255, 222, 129, .08) 0, transparent 50%),
        linear-gradient(180deg, hsla(0, 0%, 100%, .025), transparent);
    border: 1px solid rgba(255, 222, 129, .1);
    border-radius: 18px;
}

.walletp__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.walletp__brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 222, 129, .22), rgba(255, 222, 129, .06));
    border: 1px solid rgba(255, 222, 129, .35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffde81;
    flex-shrink: 0;
}

.walletp__brand-icon svg {
    width: 24px;
    height: 24px;
}

.walletp__brand-kicker {
    font-size: 10px;
    font-weight: 800;
    color: #ffde81;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.walletp__brand-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.walletp__nav {
    display: inline-flex;
    background: rgba(0, 0, 0, .35);
    padding: 5px;
    border-radius: 14px;
    border: 1px solid hsla(0, 0%, 100%, .05);
}

.walletp__nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #8a96a8;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.walletp__nav-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.walletp__nav-btn:hover {
    color: #fff;
}

.walletp__nav-btn.is-active {
    background: linear-gradient(135deg, #ffde81, #f4a93d);
    color: #1a1a10;
    box-shadow: 0 4px 14px rgba(255, 222, 129, .3);
}

.walletp__close {
    justify-self: end;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: hsla(0, 0%, 100%, .05);
    border: 1px solid hsla(0, 0%, 100%, .08);
    color: #b9c2d0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
    text-decoration: none;
}

.walletp__close svg {
    width: 20px;
    height: 20px;
}

.walletp__close:hover {
    background: rgba(255, 70, 70, .15);
    color: #ff8b8b;
    border-color: rgba(255, 70, 70, .3);
}


/* =========================================================
   GÖVDE
========================================================= */

.walletp__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
}

.walletp__main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* =========================================================
   DURUM / YÜKLENİYOR
========================================================= */

.walletp__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 180px;
    padding: 30px 24px;
    background: hsla(0, 0%, 100%, .025);
    border: 1px solid hsla(0, 0%, 100%, .06);
    border-radius: 14px;
    color: #8a96a8;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.walletp__state strong {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.walletp__state p {
    max-width: 380px;
    margin: 0;
    font-size: 12.5px;
    line-height: 1.6;
}

.walletp__state-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 222, 129, .06);
    border: 1px solid rgba(255, 222, 129, .18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffde81;
}

.walletp__state-icon svg {
    width: 24px;
    height: 24px;
}

.walletp__spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid rgba(255, 222, 129, .18);
    border-top-color: #ffde81;
    animation: walletp-spin .8s linear infinite;
}

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

.walletp__retry {
    margin-top: 4px;
    padding: 10px 18px;
    background: rgba(255, 222, 129, .08);
    border: 1px solid rgba(255, 222, 129, .3);
    border-radius: 10px;
    color: #ffde81;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.walletp__retry:hover {
    background: rgba(255, 222, 129, .16);
}


/* =========================================================
   SEÇİLİ YÖNTEM
========================================================= */

.walletp__selected-card {
    background: linear-gradient(135deg, rgba(255, 222, 129, .12), rgba(244, 169, 61, .04));
    border: 1.5px solid rgba(255, 222, 129, .6);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(255, 222, 129, .18);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.walletp__selected-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px dashed rgba(255, 222, 129, .2);
}

.walletp__selected-logo {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    flex-shrink: 0;
}

.walletp__selected-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.walletp__selected-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .3);
    border: 1px solid rgba(255, 222, 129, .25);
    color: #ffde81;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .5px;
}

.walletp__selected-info {
    flex: 1;
    min-width: 0;
}

.walletp__selected-name {
    font-size: 16px;
    font-weight: 800;
    color: #ffde81;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.walletp__selected-limits {
    font-size: 11.5px;
    color: #8a96a8;
    font-weight: 600;
}

.walletp__selected-clear {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid hsla(0, 0%, 100%, .08);
    color: #8a96a8;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s ease;
}

.walletp__selected-clear svg {
    width: 16px;
    height: 16px;
}

.walletp__selected-clear:hover {
    background: rgba(255, 70, 70, .15);
    color: #ff8b8b;
}

.walletp__selected-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.walletp__amount {
    position: relative;
}

.walletp__amount input {
    width: 100%;
    background: rgba(0, 0, 0, .4);
    border: 1px solid hsla(0, 0%, 100%, .08);
    border-radius: 12px;
    padding: 18px 22px 18px 56px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    transition: all .2s ease;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.walletp__amount input::-webkit-outer-spin-button,
.walletp__amount input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.walletp__amount input:focus {
    border-color: rgba(255, 222, 129, .5);
    box-shadow: 0 0 0 4px rgba(255, 222, 129, .08);
}

.walletp__amount input::placeholder {
    color: #4d5666;
}

.walletp__amount-cur {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffde81;
    font-size: 26px;
    font-weight: 800;
    pointer-events: none;
}

.walletp__chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.walletp__chip-amount {
    padding: 12px;
    background: hsla(0, 0%, 100%, .04);
    border: 1px solid hsla(0, 0%, 100%, .08);
    border-radius: 10px;
    color: #d1d8e3;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.walletp__chip-amount:hover {
    background: rgba(255, 222, 129, .08);
    border-color: rgba(255, 222, 129, .25);
    color: #fff;
}

.walletp__chip-amount.is-active {
    background: linear-gradient(135deg, rgba(255, 222, 129, .25), rgba(244, 169, 61, .15));
    border-color: rgba(255, 222, 129, .6);
    color: #ffde81;
}


/* =========================================================
   YÖNTEMLER
========================================================= */

.walletp__section {
    background: hsla(0, 0%, 100%, .025);
    border: 1px solid hsla(0, 0%, 100%, .06);
    border-radius: 14px;
    padding: 22px;
}

.walletp__section-label {
    font-size: 11px;
    font-weight: 800;
    color: #8a96a8;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.walletp__methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.walletp__method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    background: hsla(0, 0%, 100%, .03);
    border: 1.5px solid hsla(0, 0%, 100%, .06);
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s ease;
    text-align: center;
    color: inherit;
}

.walletp__method:hover {
    background: rgba(255, 222, 129, .05);
    border-color: rgba(255, 222, 129, .25);
    transform: translateY(-2px);
}

.walletp__method.is-active {
    background: linear-gradient(135deg, rgba(255, 222, 129, .15), rgba(244, 169, 61, .05));
    border-color: rgba(255, 222, 129, .7);
    box-shadow: 0 6px 18px rgba(255, 222, 129, .18);
}

.walletp__method-logo {
    width: 70px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.walletp__method-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.walletp__method-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: rgba(0, 0, 0, .3);
    color: #ffde81;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
}

.walletp__method-name {
    font-size: 11px;
    font-weight: 700;
    color: #d1d8e3;
    line-height: 1.2;
}

.walletp__method.is-active .walletp__method-name {
    color: #ffde81;
}


/* =========================================================
   MESAJ / ONAY
========================================================= */

.walletp__message {
    padding: 13px 16px;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.5;
    background: rgba(255, 70, 70, .1);
    border: 1px solid rgba(255, 70, 70, .28);
    color: #ff9b9b;
}

.walletp__message.is-success {
    background: rgba(74, 222, 128, .1);
    border-color: rgba(74, 222, 128, .28);
    color: #7ee2a0;
}

.walletp__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ffde81, #f4a93d);
    color: #1a1a10;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .8px;
    cursor: pointer;
    transition: all .2s ease;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255, 222, 129, .25);
}

.walletp__submit svg {
    width: 18px;
    height: 18px;
}

.walletp__submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(255, 222, 129, .35);
}

.walletp__submit:disabled {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}


/* =========================================================
   YAN PANEL
========================================================= */

.walletp__side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.walletp__vip {
    position: relative;
    padding: 22px;
    border-radius: 16px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #455a64, #78909c);
}

.walletp__vip::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, hsla(0, 0%, 100%, .18), transparent 60%);
    pointer-events: none;
}

.walletp__vip-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    opacity: .9;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.walletp__vip-name {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.walletp__vip-track {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, .3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.walletp__vip-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff, hsla(0, 0%, 100%, .7));
    border-radius: 3px;
    transition: width .4s ease;
}

.walletp__vip-next {
    font-size: 11px;
    font-weight: 600;
    opacity: .95;
    position: relative;
    z-index: 1;
}

.walletp__balances {
    background: hsla(0, 0%, 100%, .025);
    border: 1px solid hsla(0, 0%, 100%, .06);
    border-radius: 14px;
    padding: 18px;
}

.walletp__balances-title {
    font-size: 11px;
    font-weight: 800;
    color: #8a96a8;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.walletp__balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px dashed hsla(0, 0%, 100%, .06);
}

.walletp__balance-row:last-child {
    border-bottom: none;
}

.walletp__balance-row span {
    font-size: 13px;
    color: #8a96a8;
    font-weight: 600;
}

.walletp__balance-row strong {
    font-size: 15px;
    color: #fff;
    font-weight: 800;
    text-align: right;
}

.walletp__recent {
    background: hsla(0, 0%, 100%, .025);
    border: 1px solid hsla(0, 0%, 100%, .06);
    border-radius: 14px;
    padding: 18px;
}

.walletp__recent-title {
    font-size: 11px;
    font-weight: 800;
    color: #8a96a8;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.walletp__recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed hsla(0, 0%, 100%, .06);
}

.walletp__recent-item:last-child {
    border-bottom: none;
}

.walletp__recent-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.walletp__recent-icon svg {
    width: 14px;
    height: 14px;
}

.walletp__recent-icon.deposit {
    background: rgba(74, 222, 128, .15);
    color: #4ade80;
}

.walletp__recent-info {
    flex: 1;
    min-width: 0;
}

.walletp__recent-type {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.walletp__recent-meta {
    font-size: 11px;
    color: #6c7689;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.walletp__recent-amount {
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.walletp__recent-amount.deposit {
    color: #4ade80;
}

.walletp__recent-empty {
    padding: 12px 0 6px;
    color: #6c7689;
    font-size: 12px;
    font-weight: 600;
}


/* =========================================================
   DUYARLI TASARIM
========================================================= */

@media (max-width: 1180px) {

    .walletp__grid {
        grid-template-columns: 1fr 300px;
    }

    .walletp__methods {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {

    .walletp {
        padding-bottom: 48px;
    }

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

    .walletp__side {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: start;
    }
}

@media (max-width: 760px) {

    .walletp__header {
        grid-template-columns: 1fr auto;
        gap: 16px;
        padding: 18px;
    }

    .walletp__brand-icon {
        width: 40px;
        height: 40px;
    }

    .walletp__brand-title {
        font-size: 19px;
    }

    .walletp__nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 4px;
    }

    .walletp__nav-btn {
        justify-content: center;
        padding: 9px 8px;
        font-size: 12px;
        gap: 6px;
    }

    .walletp__close {
        grid-column: 2;
        grid-row: 1;
        width: 38px;
        height: 38px;
    }

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

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

    .walletp__selected-card,
    .walletp__section {
        padding: 16px;
    }

    .walletp__selected-head {
        gap: 12px;
    }

    .walletp__selected-logo {
        width: 58px;
        height: 44px;
    }

    .walletp__selected-name {
        font-size: 14.5px;
    }

    .walletp__amount input {
        padding: 16px 16px 16px 48px;
        font-size: 23px;
    }

    .walletp__amount-cur {
        left: 17px;
        font-size: 22px;
    }

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

    .walletp__submit {
        padding: 16px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {

    .walletp__header {
        padding: 14px;
    }

    .walletp__brand-kicker {
        letter-spacing: 1.4px;
    }

    .walletp__nav-btn span {
        font-size: 11.5px;
    }

    .walletp__nav-btn svg {
        width: 15px;
        height: 15px;
    }
}

.walletp__destination {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.walletp__destination span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #8a96a8;
    text-transform: uppercase;
}

.walletp__destination input {
    width: 100%;
    background: rgba(0, 0, 0, .4);
    border: 1px solid hsla(0, 0%, 100%, .08);
    border-radius: 12px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.walletp__destination input:focus {
    outline: none;
    border-color: rgba(255, 222, 129, .5);
}

.walletp__history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed hsla(0, 0%, 100%, .08);
}

.walletp__history-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.walletp__history-meta {
    font-size: 11px;
    color: #8a96a8;
    margin-top: 3px;
}

.walletp__history-amount.is-credit {
    color: #4ade80;
}

.walletp__history-amount.is-debit {
    color: #ff8b8b;
}

