.form_case_transaction_actions {
    width: 69.44vw; /* 1000px → 69.44vw */
    height: 34.72vw; /* 500px → 34.72vw */
    background-color: white;
    border-radius: 6.94vw; /* 100px → 6.94vw */
}

.main_title_in_transaction_action_case {
    font-size: 1.39vw; /* 20px → 1.39vw */
    font-weight: bold;
    margin-left: 5.56vw; /* 80px → 5.56vw */
    margin-top: 5.56vw; /* 80px → 5.56vw */
}

.card_trans_button {
    font-size: 1.39vw; /* 20px → 1.39vw */
    padding: 0.35vw; /* 5px → 0.35vw */
    font-weight: normal;
    position: absolute;
    margin-left: 5.21vw; /* 75px → 5.21vw */
    margin-top: 9.38vw; /* 135px → 9.38vw */
    width: 19.44vw; /* 280px → 19.44vw */
    display: flex;
    background-color: white;
    transition: 0.5s;
    border-radius: 0.69vw; /* 10px → 0.69vw */
}

.card_icon {
    width: 2.08vw; /* 30px → 2.08vw */
    height: 2.08vw; /* 30px → 2.08vw */
    user-select: none;
}

.span_card_button {
    position: relative;
    margin-top: 0.35vw; /* 5px → 0.35vw */
    margin-left: 0.69vw; /* 10px → 0.69vw */
    margin-right: 1.04vw; /* 15px → 1.04vw */
    user-select: none;
}

.arrow_icon {
    width: 2.08vw; /* 30px → 2.08vw */
    height: 2.08vw; /* 30px → 2.08vw */
    user-select: none;
    margin-top: 0.07vw; /* 1px → 0.07vw */
}

.card_trans_button:hover {
    transition: 0.5s;
    background-color: rgba(23, 119, 215, 0.3);
    cursor: pointer;
}

.first_title_in_second_form_transaction {
    font-weight: bold;
    font-size: 1.39vw; /* 20px → 1.39vw */
    margin-left: 8.33vw; /* 120px → 8.33vw */
    margin-top: 4.86vw; /* 70px → 4.86vw */
    user-select: none;
    display: flex;
}

.second_title_in_second_form_transaction {
    position: absolute;
    font-weight: bold;
    font-size: 1.39vw; /* 20px → 1.39vw */
    margin-top: 4.86vw; /* 70px → 4.86vw */
    margin-left: 40.28vw; /* 580px → 40.28vw */
    user-select: none;
}

.first_container_in_second_form_trans {
    position: absolute;
    width: 26.39vw; /* 380px → 26.39vw */
    height: 20.83vw; /* 300px → 20.83vw */
    box-shadow: 0px 0px 0.69vw rgba(0,0,0,0.3); /* 10px → 0.69vw */
    margin-top: 9.03vw; /* 130px → 9.03vw */
    margin-left: 5.56vw; /* 80px → 5.56vw */
    border-radius: 3.47vw; /* 50px → 3.47vw */
}

.second_container_in_second_form_trans {
    position: absolute;
    width: 26.39vw; /* 380px → 26.39vw */
    height: 20.83vw; /* 300px → 20.83vw */
    box-shadow: 0px 0px 0.69vw rgba(0,0,0,0.3); /* 10px → 0.69vw */
    margin-top: 9.03vw; /* 130px → 9.03vw */
    margin-left: 37.5vw; /* 540px → 37.5vw */
    border-radius: 3.47vw; /* 50px → 3.47vw */
}

.pay_button {
    box-shadow: 0px 0px 0.69vw rgba(0,0,0,0.3); /* 10px → 0.69vw */
    background-color: rgba(23, 119, 215, 1);
    width: 20.83vw; /* 300px → 20.83vw */
    height: 3.47vw; /* 50px → 3.47vw */
    position: absolute;
    bottom: 1.91vw; /* 27.5px → 1.91vw */  
    left: 2.78vw; /* 40px → 2.78vw */
    border-radius: 3.47vw; /* 50px → 3.47vw */
    color: white;
    display: flex;
    justify-content: center;
    font-size: 1.11vw; /* 16px → 1.11vw */
    font-weight: bold;
    align-items: center;
}

.first_title_card {
    font-size: 1.11vw; /* 16px → 1.11vw */
    color: grey;
    position: absolute;
    left: 4.17vw; /* 60px → 4.17vw */
    top: 1.91vw; /* 27.5px → 1.91vw */
}

.input_data_card {
    position: absolute;
    top: 3.72vw; /* 53.5px → 3.72vw */
    left: 2.78vw; /* 40px → 2.78vw */
    height: 3.47vw; /* 50px → 3.47vw */
    width: 19.44vw; /* 280px → 19.44vw */
    padding-left: 1.39vw; /* 20px → 1.39vw */
    color: black;
    background-color: white;
    border-radius: 3.47vw; /* 50px → 3.47vw */
    border: none;
    outline: none;
    box-shadow: 0px 0px 0.69vw rgba(0,0,0,0.3); /* 10px → 0.69vw */
    font-size: 1.11vw; /* 16px → 1.11vw */
}

.input_timedata_card {
    position: absolute;
    top: 10.39vw; /* 149.5px → 10.39vw */
    height: 3.47vw; /* 50px → 3.47vw */
    width: 4.69vw; /* 67.5px → 4.69vw */
    padding-left: 1.39vw; /* 20px → 1.39vw */
    color: black;
    background-color: white;
    border-radius: 3.47vw; /* 50px → 3.47vw */
    border: none;
    outline: none;
    box-shadow: 0px 0px 0.69vw rgba(0,0,0,0.3); /* 10px → 0.69vw */
    font-size: 1.11vw; /* 16px → 1.11vw */
}

.title_timedata_card {
    color: grey;
    font-size: 1.11vw; /* 16px → 1.11vw */
    position: absolute;
    top: 8.58vw; /* 123.5px → 8.58vw */
}

.banks_container {
    padding: 1.39vw; /* 20px → 1.39vw */
    width: 20.83vw; /* 300px → 20.83vw */
    height: 15.28vw; /* 220px → 15.28vw */
    margin-left: 1.39vw; /* 20px → 1.39vw */
    margin-top: 1.39vw; /* 20px → 1.39vw */
    background-color: none;
    overflow-y: scroll;
    overflow-x: none;
    scrollbar-width: none;
}

.banks_container:hover {
    cursor: pointer;
}

.bank_container {
    width: 20.83vw; /* 300px → 20.83vw */
    height: 3.47vw; /* 50px → 3.47vw */
    margin-top: 0.46vw; /* 6.6px → 0.46vw */
    background-color: white;
    box-shadow: 0px 0px 0.69vw rgba(0,0,0,0.3); /* 10px → 0.69vw */
    border-radius: 3.47vw; /* 50px → 3.47vw */
    display: flex;
    align-items: center;
    transition: 0.5s;
}

.bank_container:hover {
    cursor: pointer;
    transition: 0.5s;
    background-color: rgba(23, 119, 215, 0.3);
}

.bank_icon {
    width: 2.78vw; /* 40px → 2.78vw */
    height: 2.78vw; /* 40px → 2.78vw */
    margin-left: 0.69vw; /* 10px → 0.69vw */
    border-radius: 3.47vw; /* 50px → 3.47vw */
    user-select: none;
}

.bank_name {
    font-size: 1.11vw; /* 16px → 1.11vw */
    margin-left: 0.69vw; /* 10px → 0.69vw */
    user-select: none;
}

.select_bank_container {
    background-color: rgba(23, 119, 215, 0.3);
    transition: 0.5s;
}

.plas_seven_label {
    color: black;
    font-size: 1.11vw; /* 16px → 1.11vw */
    position: absolute;
    top: 4.9vw; /* 70.5px → 4.9vw */
    left: 4.17vw; /* 60px → 4.17vw */
    z-index: 1;
}

@media (max-width: 768px) {
    .form_case_transaction_actions {
        width: 90% !important;
        max-width: 90% !important;
        height: auto !important;
        min-height: 45vh !important;
        background-color: white !important;
        border-radius: 8vw !important;
        margin: 5vh auto !important;
        padding: 3vh 0 !important;
    }
    #form_case_transaction_card_cart {
        min-height: 60vh !important;
    }
    
    .main_title_in_transaction_action_case {
        font-size: 6vw !important;
        font-weight: bold !important;
        margin: 3vh 0 4vh 5vw !important;
    }
    
    .card_trans_button {
        position: absolute !important;
        font-size: 4.5vw !important;
        padding: 2vh 4vw !important;
        font-weight: normal !important;
        margin: 12.5vh 0 1.5vh 4% !important;
        width: 75% !important;
        height: 10vw !important;
        display: flex !important;
        background-color: white !important;
        transition: 0.5s !important;
        border-radius: 12vw !important;
        box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    }

    #card_trans_button {
        margin-top: 30vh !important;
    }
    #phone_number_trans_button_cart {
        margin-top: 30vh !important;
    }
    
    .card_icon {
        width: 10vw !important;
        height: 10vw !important;
        min-width: 10vw !important;
        max-width: 10vw !important;
        max-height: 10vw !important;
        user-select: none !important;
    }
    
    .span_card_button {
        position: relative !important;
        margin: 3vw 4vw !important;
        flex-grow: 1 !important;
        text-align: left !important;
        font-size: 4vw !important;
    }
    
    .arrow_icon {
        width: 8vw !important;
        height: 8vw !important;
        min-width: 8vw !important;
        max-width: 8vw !important;
        max-height: 8vw !important;
        user-select: none !important;
        margin-top: 0.5vh !important;
        margin-left: auto !important;
    }
    
    .card_trans_button:hover {
        transition: 0.5s !important;
        background-color: rgba(23, 119, 215, 0.3) !important;
        cursor: pointer !important;
    }
    
    .first_title_in_second_form_transaction {
        position: absolute !important;
        font-weight: bold !important;
        font-size: 3.5vh !important;
        margin: 0vh 0 0vh 4vh !important;
        user-select: none !important;
        display: flex !important;
    }
    
    .second_title_in_second_form_transaction {
        display: none !important;
        position: relative !important;
        font-weight: bold !important;
        font-size: 4.5vw !important;
        margin: 0 0 3vh 5vw !important;
        user-select: none !important;
    }
    
    .first_container_in_second_form_trans {
        display: none !important;
        position: relative !important;
        width: calc(90vw - 10vw) !important;
        height: auto !important;
        min-height: 35vh !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        margin: 2vh auto 3vh 5vw !important;
        border-radius: 6vw !important;
    }
    .pay_button_class {
        font-size: 2vh !important;
    }
    .pay_button_arrow {
        display: none !important;
    }
    
    .pay_caps_text_small {
        font-size: 1.8vh !important; 
    }
    
    .second_container_in_second_form_trans {
        position: relative !important;
        width: 75% !important;
        height: 50vh !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        margin: 8vh auto 3vh 7.5vh !important;
        border-radius: 6vw !important;
        padding: 3vh 4vw !important;
        box-sizing: border-box !important;
    }

    .yooicon {
        margin-top: -10vw;
        margin-right: 0vw !important;
    }

    .pay_caps_text_small  {
        position: absolute ;
        width: 100vw !important;
    }
    
    .pay_button {
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        background-color: rgba(23, 119, 215, 1) !important;
        width: 77.5% !important;
        height: 7vh !important;
        min-height: 44px !important;
        position: relative !important;
        margin: 0vh auto 0vh 2.5vw !important;
        border-radius: 12vw !important;
        color: white !important;
        display: flex !important;
        justify-content: center !important;
        font-size: 2vh !important;
        font-weight: bold !important;
        align-items: center !important;
    }
    
    .first_title_card {
        display: none !important;
        font-size: 4vw !important;
        color: grey !important;
        position: relative !important;
        margin: 2vh 0 1.5vh 5vw !important;
    }
    
    .input_data_card {
        position: relative !important;
        height: 7vh !important;
        min-height: 44px !important;
        width: 80% !important;
        padding-left: 5vw !important;
        margin: 1.5vh 0 2vh 0vw !important;
        color: black !important;
        background-color: white !important;
        border-radius: 12vw !important;
        border: none !important;
        outline: none !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        font-size: 2vh !important;
    }
    
    .input_timedata_card {
        position: relative !important;
        height: 7vh !important;
        min-height: 44px !important;
        width: 25vw !important;
        min-width: 100px !important;
        padding-left: 5vw !important;
        margin: 1.5vh 0 2vh 5vw !important;
        color: black !important;
        background-color: white !important;
        border-radius: 12vw !important;
        border: none !important;
        outline: none !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        font-size: 4vw !important;
    }
    
    .title_timedata_card {
        color: grey !important;
        font-size: 4vw !important;
        position: relative !important;
        margin: 2vh 0 1.5vh 5vw !important;
    }
    
    .banks_container {
        padding: 2vh 4vw !important;
        width: calc(100% - 8vw) !important;
        height: 35vh !important;
        margin: 1.5vh auto !important;
        background-color: none !important;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        scrollbar-width: thin !important;
    }
    
    .banks_container:hover {
        cursor: pointer !important;
    }
    
    .bank_container {
        width: 100% !important;
        height: 8vh !important;
        min-height: 50px !important;
        margin-top: 1.5vh !important;
        background-color: white !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        border-radius: 12vw !important;
        display: flex !important;
        align-items: center !important;
        transition: 0.5s !important;
    }
    
    .bank_container:first-child {
        margin-top: 0 !important;
    }
    
    .bank_container:hover {
        cursor: pointer !important;
        transition: 0.5s !important;
        background-color: rgba(23, 119, 215, 0.3) !important;
    }
    
    .bank_icon {
        width: 8vw !important;
        height: 8vw !important;
        min-width: 8vw !important;
        max-width: 40px !important;
        max-height: 40px !important;
        margin-left: 3vw !important;
        border-radius: 50% !important;
        user-select: none !important;
    }
    
    .bank_name {
        font-size: 4vw !important;
        margin-left: 4vw !important;
        user-select: none !important;
    }
    
    .select_bank_container {
        background-color: rgba(23, 119, 215, 0.3) !important;
        transition: 0.5s !important;
    }
    
    .plas_seven_label {
        color: black !important;
        font-size: 4vw !important;
        position: absolute !important;
        left: 9vw !important;
        top: 15vh !important;
        z-index: 1 !important;
    }
    
    /* Медиа запрос для очень маленьких экранов */
    @media screen and (max-width: 480px) and (max-height: 700px) {
        .second_container_in_second_form_trans {
            position: relative !important;
            width: 75% !important;
            height: 50vh !important;
            box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
            margin: 8vh auto 3vh 4vh !important;
            border-radius: 6vw !important;
            padding: 3vh 4vw !important;
            box-sizing: border-box !important;
        }
        .form_case_transaction_actions {
            min-height: 75vh !important;
        }
        
        .banks_container {
            height: 30vh !important;
        }
        
        .first_container_in_second_form_trans,
        .second_container_in_second_form_trans {
            min-height: 30vh !important;
        }
    }
}