/* Шаги */
.p2p-step {
    display: block;
    min-height: 80px;
}

/* Модал */
.p2p-modal-content {
    background: #101737;
    border: none;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    padding: 20px;
}

.p2p-modal-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.p2p-modal-info {
    flex: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.p2p-modal-info__title {
    font-weight: 400;
    letter-spacing: 1px;
    font-size: 15px;
    font-family: 'Furore', sans-serif;
}

.p2p-modal-info__desc {
    font-weight: 600;
    font-size: 12px;
    color: #7a85bf;
}

.p2p-modal-close {
    font-size: 20px;
    margin: 0px;
    height: 28px;
    opacity: 1;
    border-radius: 0px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    width: 28px;
    background: linear-gradient(14deg, #ff4b4b21 10%, #ff4b4b3d 100%);
    font-weight: 500;
    transition: .2s all;
    padding: 0;
    color: #ff7373 !important;
    border: 0;
    --webkit-appearance: none;
}

.p2p-modal-close:hover {
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
}


/* Валюты */
.p2p-currencies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
    /*justify-content: space-between;*/
}

.p2p-currency {
    padding: 10px 16px;
    background: #283465;
    color: #fff;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    cursor: pointer;
    transition: 0.2s all;
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.p2p-currency:hover {
    background: #2f3d75;
}

.p2p-currency--pinned {
    background: linear-gradient(15deg, #1d2651 30%, #283465 100%);
    border-left: 2px solid #2a7fff;
}

.p2p-currency--pinned:hover {
    background: #2f3d75;
}

.p2p-currency__name {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
}

.p2p-currency__rate {
    font-size: 10px;
    color: #8c96c9;
    margin-top: 2px;
}

.p2p-currency__label {
    font-weight: bold;
    font-size: 11px;
    color: #8c96c9;
    margin-top: 2px;
}

.p2p-currency__flag {
    width: 32px;
    height: 24px;
    margin-bottom: 6px;
    border-radius: 2px;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);*/
}

/* Способы */
.p2p-way {
    padding: 14px 18px;
    background: #283465;
    color: #fff;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    cursor: pointer;
    transition: 0.2s all;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p2p-way:hover {
    background: #2f3d75;
}

.p2p-way__name {
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 100;
    font-family: 'Furore', sans-serif;
}

.p2p-way__comision {
    font-size: 10px;
    color: #f0ad4e;
    margin-left: 10px;
}

.p2p-way__badge {
    font-size: 10px;
    color: #8c96c9;
    letter-spacing: 0.5px;
}

/* Инфо-блок (банк / получатель / эквивалент) */
.p2p-info-block {
    background: #0d1530;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.p2p-info-block__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.p2p-info-block__row .p2p-details__label {
    margin-bottom: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.p2p-info-block__row .p2p-details__label i {
    position: static;
    font-size: 14px;
    color: #9983ff;
}

.p2p-info-block__value {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-align: right;
}

.p2p-info-block__value--warn { color: #f0ad4e; }
.p2p-info-block__value--good { color: #4caf50; }

/* Реквизиты */
.p2p-details__label {
    font-size: 10px;
    color: #8c96c9;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-family: 'Furore', sans-serif;
    font-weight: 100;
}

.p2p-details__value {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    word-break: break-all;
    margin-bottom: 15px;
}

.p2p-details__amount {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.p2p-details__amount span {
    color: #8c96c9;
    font-size: 13px;
    font-weight: 100;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

.p2p-details__bonus {
    color: #4caf50;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.p2p-details__desc {
    font-size: 12px;
    color: #8c96c9;
    margin-bottom: 15px;
    white-space: pre-line;
    letter-spacing: 0.5px;
}

.p2p-copy-btn {
    font-size: 10px;
    padding: 5px 12px;
    background: #283465;
    color: #8c96c9;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    border: none;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: 0.2s all;
    letter-spacing: 0.5px;
}

.p2p-copy-btn:hover {
    background: #2f3d75;
    color: #fff;
}

/* Кнопка назад */
.p2p-btn-back {
    background: transparent;
    border: none;
    color: #8c96c9;
    font-size: 10px;
    letter-spacing: 1px;
    font-family: 'Furore', sans-serif;
    font-weight: 100;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s;
}

.p2p-btn-back:hover {
    color: #fff;
}

/* Статусы */
.p2p-status {
    text-align: center;
    padding: 20px 0;
}

.p2p-status__icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.p2p-status__title {
    font-size: 13px;
    letter-spacing: 1px;
    font-family: 'Furore', sans-serif;
    font-weight: 100;
    color: #fff;
    margin-bottom: 8px;
}

.p2p-status__desc {
    font-size: 11px;
    color: #8c96c9;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.p2p-status__desc a {
    color: #2a7fff;
}

/* Анимированная галочка */
.p2p-icon-success {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 16px;
}

.p2p-icon-success__circle {
    stroke: #4caf50;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: p2p-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.p2p-icon-success__check {
    stroke: #4caf50;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: p2p-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

/* Анимированный крестик */
.p2p-icon-error {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto 16px;
}

.p2p-icon-error__circle {
    stroke: #f44336;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-linecap: round;
    animation: p2p-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.p2p-icon-error__cross {
    stroke: #f44336;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: p2p-stroke 0.4s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes p2p-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* Спиннер */
.p2p-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(42, 127, 255, 0.2);
    border-top-color: #2a7fff;
    border-radius: 50%;
    animation: p2p-spin .8s linear infinite;
    margin: 0 auto 20px;
}

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

.p2p-section {
    /*margin-top: 20px;
    margin-bottom: 15px;*/
}

/* Инфо-блоки */
.infoPaymentBlocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.paymentInfo {
    background: #0d1530;
    padding: 12px 14px;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.paymentInfoHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.paymentInfoHeader_Icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.paymentInfoHeader_Text {
    font-size: 11px;
    font-family: 'Furore', sans-serif;
    font-weight: 100;
    letter-spacing: 1px;
    color: #fff;
}

.paymentInfoText {
    font-size: 11px;
    color: #8c96c9;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.paymentInfoText span {
    color: #fff;
    font-weight: 600;
}
