@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&family=Work+Sans:wght@400;500;600&display=swap');



.paymentform_container {
    font-family: 'Work Sans', sans-serif;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    max-width: 700px;

    --main-fnt-color: #2F3933;
    --secondary-fnt-color: #838383;
    --border-radius: 8px;
    --block-bg: #fff;
    --main-bg: #F5F5F5;
    --accent-color: #4FA66E;
}

.paymentform_container h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--main-fnt-color);
    margin-bottom: 30px;
}

.paymentform_userid {
    font-size: 16px;
    font-weight: 400;
    color: var(--secondary-fnt-color);
    margin-bottom: 30px;
}

.paymentform_userid p {
    padding: 0;
    margin: 0;
}

.paymentform_userid_val {
    font-size: 26px;
    font-weight: 600;
    color: var(--main-fnt-color);
    line-height: 100%;
}

.paymentform_good-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    background-color: var(--block-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    padding: 10px 10px;
    position: relative;
}

.paymentform_good-card:last-child {
    margin-bottom: 100px;
}

.paymentform_good-card:last-child::after {
    content: 'ᵔᴥᵔ \A больше ничего нет';
    white-space: pre;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -70px;
    font-size: 14px;
    color: var(--secondary-fnt-color);
    font-weight: 500;
}

.paymentform_img-holder {
    background-color: var(--main-bg);
    border-radius: 6px;
    height: 70px;
    width: 70px;
    position: relative;
    /* overflow: hidden; */
}

.paymentform_img-holder img {
    object-position: center center;
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: none;
    background-color: var(--block-bg);
}

.paymentform_img-holder img.temporary {
    width: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: none;
}

.paymentform_img-holder img[src] {
    display: block;
}

.paymentform_good-info {
    padding-left: 20px;
    width: calc(100% - 120px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    height: 60px;
}

.paymentform_good-info p {
    margin: 0;
    padding: 0;
    
}

.paymentform_name-holder {
    width: 100%;
}

.paymentform_good-name {
    font-size: 12px;
    color: var(--main-fnt-color);
    font-weight: 600;
    line-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2;
    -webkit-box-orient: vertical;
}

.paymentform_good-name-en {
    font-size: 12px;
    color: var(--main-fnt-color);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* number of lines to show */
            line-clamp: 1;
    -webkit-box-orient: vertical;
}

.paymentform_good-price {
    font-size: 14px;
    font-weight: 500;
    color: var(--main-fnt-color);
}

.paymentform_good-price::after {
    content: " р.";
}

.paymentform_good-amount {
    margin: 0;
    font-size: 16px;
    color: var(--main-fnt-color);
    font-weight: 500;
    padding-left: 10px;
}

.paymentform_good-amount::after {
    content: " шт";
    color: var(--secondary-fnt-color);
    font-size: 12px;
}

.paymentform_pay-btn {
    width: 100%;
    background-color: var(--accent-color);
    color: var(--block-bg);
    font-size: 22px;
    font-weight: 600;
    border: none;
    padding: 12px;
    border-radius: var(--border-radius);
}

.paymentform_pay-btn:disabled {
    background-color: var(--secondary-fnt-color);
}

.paymentform_total {
    background-color: var(--block-bg);
    border-radius: var(--border-radius);
    /* padding: 20px; */
    margin-bottom: 15px;
}

.paymentform_total div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    flex-direction: row;
    font-size: 22px;
}

.paymentform_total p {
    color: var(--main-fnt-color);
    margin: 0;
}

.paymentform_total div {
    margin-bottom: 5px;
}

.paymentform_total div:last-child {
    margin-bottom: 0;
}

.paymentform_total .paymentform_payed {
    font-size: 14px;
}

.paymentform_total div p:last-child {
    font-weight: 500;
}

.paymentform_total div p:last-child::after {
    content: ' р.';
    font-size: 16px;
    color: var(--secondary-fnt-color);
}

.paymentform_body {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.paymentform_footer {
    padding-top: 10px;
    background-color: var(--block-bg);
    padding: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
    position: relative;

    
}

.paymentform_footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: -10px;
    right: 0;
    height: 10px;
    background-color: #fff;

    --mask:
    radial-gradient(3.03px at 50% 3.45px,#000 99%,#0000 101%) calc(50% - 6px) 0/12px 100%,
    radial-gradient(3.03px at 50% -0.45px,#0000 99%,#000 101%) 50% 3px/12px 100% repeat-x;
  -webkit-mask: var(--mask);
          mask: var(--mask);
}

.paymentform_order-number-form {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
    padding-bottom: 15px;
}

.paymentform_order-number-form h2 {
    font-size: 26px;
    color: var(--secondary-fnt-color);
    font-weight: 600;
    width: 60%;
    text-align: center;
}

.paymentform_order-number-form input {
    width: 100%;
    background-color: var(--block-bg);
    border-radius: 8px;
    border: none;
    padding: 15px;
    text-align: center;
    font-size: 22px;
    color: var(--main-fnt-color);
    font-weight: 500;
    margin-bottom: 30px;
}

.paymentform_order-number-form input::placeholder {
    font-size: 22px;
    color: var(--secondary-fnt-color);
    font-weight: 500;
}

.paymentform_order-number-form img {
    width: 40%;
    height: auto;
    margin-bottom: 45px;
}

.paymentform_filter-secondary {
    filter: invert(55%) sepia(4%) saturate(6%) hue-rotate(349deg) brightness(94%) contrast(89%);
}

.paymentform_fiter-accent {
    filter: invert(59%) sepia(9%) saturate(2099%) hue-rotate(88deg) brightness(95%) contrast(82%);
}

.paymentform_order-number-form_title-holder {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.paymentform_phone-input {
    width: 100%;
    padding: 15px;
    background-color: var(--main-bg);
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    color: var(--main-fnt-color);
    /* margin-bottom: 30px; */
}

.paymentform_phone-input::placeholder {
    color: var(--secondary-fnt-color);
    font-weight: 500;
}

.paymentform_phone-holder {
    width: 100%;
    margin-bottom: 15px;
}

.paymentform_phone-holder {
    width: 100%;
    text-align: center;
    color: var(--secondary-fnt-color);
    font-weight: 400;
    font-size: 12px;
    margin-top: 5px;
}