.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: 95% !important;
        max-width: 450px !important;
        height: auto !important;
        min-height: 500px !important;
        background-color: white !important;
        border-radius: 30px !important;
        margin: 20px auto !important;
        padding: 20px 0 !important;
    }
    
    .main_title_in_transaction_action_case {
        font-size: 24px !important;
        font-weight: bold !important;
        margin: 20px 0 30px 20px !important;
    }
    
    .card_trans_button {
        font-size: 18px !important;
        padding: 15px 20px !important;
        font-weight: normal !important;
        position: relative !important;
        margin: 10px 0 10px 20px !important;
        width: calc(100% - 40px) !important;
        display: flex !important;
        background-color: white !important;
        transition: 0.5s !important;
        border-radius: 50px !important;
    }
    
    .card_icon {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        user-select: none !important;
    }
    
    .span_card_button {
        position: relative !important;
        margin: 0 15px !important;
        flex-grow: 1 !important;
        text-align: left !important;
    }
    
    .arrow_icon {
        width: 25px !important;
        height: 25px !important;
        min-width: 25px !important;
        user-select: none !important;
        margin-top: 2px !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 {
        font-weight: bold !important;
        font-size: 22px !important;
        margin: 20px 0 10px 20px !important;
        user-select: none !important;
        display: flex !important;
    }
    
    .second_title_in_second_form_transaction {
        position: relative !important;
        font-weight: bold !important;
        font-size: 18px !important;
        margin: 0 0 20px 20px !important;
        user-select: none !important;
    }
    
    .first_container_in_second_form_trans {
        position: relative !important;
        width: calc(100% - 40px) !important;
        height: auto !important;
        min-height: 250px !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        margin: 10px auto 20px 20px !important;
        border-radius: 25px !important;
    }
    
    .second_container_in_second_form_trans {
        position: relative !important;
        width: calc(100% - 40px) !important;
        height: auto !important;
        min-height: 250px !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        margin: 10px auto 20px 20px !important;
        border-radius: 25px !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    .pay_button {
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        background-color: rgba(23, 119, 215, 1) !important;
        width: calc(100% - 40px) !important;
        height: 50px !important;
        position: relative !important;
        margin: 20px auto 20px 20px !important;
        border-radius: 50px !important;
        color: white !important;
        display: flex !important;
        justify-content: center !important;
        font-size: 18px !important;
        font-weight: bold !important;
        align-items: center !important;
    }
    
    .first_title_card {
        font-size: 16px !important;
        color: grey !important;
        position: relative !important;
        margin: 15px 0 5px 20px !important;
    }
    
    .input_data_card {
        position: relative !important;
        height: 50px !important;
        width: calc(100% - 60px) !important;
        padding-left: 20px !important;
        margin: 5px 0 10px 20px !important;
        color: black !important;
        background-color: white !important;
        border-radius: 50px !important;
        border: none !important;
        outline: none !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        font-size: 16px !important;
    }
    
    .input_timedata_card {
        position: relative !important;
        height: 50px !important;
        width: 100px !important;
        padding-left: 20px !important;
        margin: 5px 0 10px 20px !important;
        color: black !important;
        background-color: white !important;
        border-radius: 50px !important;
        border: none !important;
        outline: none !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        font-size: 16px !important;
    }
    
    .title_timedata_card {
        color: grey !important;
        font-size: 16px !important;
        position: relative !important;
        margin: 10px 0 5px 20px !important;
    }
    
    .banks_container {
        padding: 15px !important;
        width: calc(100% - 30px) !important;
        height: 300px !important;
        margin: 10px 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: 60px !important;
        margin-top: 10px !important;
        background-color: white !important;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3) !important;
        border-radius: 50px !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: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        margin-left: 10px !important;
        border-radius: 50% !important;
        user-select: none !important;
    }
    
    .bank_name {
        font-size: 16px !important;
        margin-left: 15px !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: 16px !important;
        position: absolute !important;
        left: 35px !important;
        top: 115px !important;
        z-index: 1 !important;
    }
    
    /* Медиа запрос для очень маленьких экранов */
    @media screen and (max-width: 380px) {
        .form_case_transaction_actions {
            width: 98% !important;
            padding: 15px 0 !important;
        }
        
        .main_title_in_transaction_action_case {
            font-size: 22px !important;
            margin-left: 15px !important;
        }
        
        .card_trans_button {
            margin-left: 15px !important;
            width: calc(100% - 30px) !important;
            padding: 12px 15px !important;
        }
        
        .first_container_in_second_form_trans,
        .second_container_in_second_form_trans {
            margin-left: 15px !important;
            width: calc(100% - 30px) !important;
        }
    }
}