@import "./v-1-1-14-25__colors.css";

.send_page{
    z-index: 15;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--backgound-color);
    background-color: rgba(255, 0, 0, 0);
    transform: translateX(100%);
    display: none;
    flex-direction: column;
}

.send_title{
    z-index: 21;
    position: absolute;
    text-align: center;
    color: var(--receive-title-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 25px;
    margin: 0;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
}

#qr_reader__scan_region img{
    display: none !important;
}

img[alt="Info icon"] {
    display: none;
}

.send_page_main_container{
    width: 100%;
    height: 100%;
    display: flex;
    min-height: 530px;
    flex-direction: column;
    position: relative;
}

.close_send_page{
    z-index: 21;
    position: absolute;
    top: 15px;
    left: 10px;
    width: 18px;
    height: 25px;
    background-color: rgba(25, 97, 159, 0);
    transform: rotate(180deg);
    border: none;
}

#qr_reader__header_message{
    border: none !important;
    font-size: 18px !important;
}

#qr_reader{
    border: none !important;
    width: 100%;
    max-height: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    margin: auto;
}

video{
    max-height: 100% !important;
    transform: scale(1.4) !important;
}

.receive_page_main_container{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.send_top_div{
    width: 100%;
    height: 60px;
}

.send_middle_div{
    width: 100%;
    height: calc(100% - 60px - 100px);
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.send_bottom_div{
    width: 100%;
    height: 100px;
}

.camera_error{
    color: var(--send-camera-error-color);
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    width: 70%;
    margin: auto;
    font-family: 'Montserrat','Roboto Flex', sans-serif;
}

.three_button_container{
    display: flex;
    align-items: center;
    height: 100px;
}

.three_button_container button{
    width: 26%;
    max-width: 400px;
    border: none;
    background-color: var(--send-three-button-background-color);
    border:2px solid var(--send-three-button-border-color);
    border-radius: 10px;
    color: var(--button-container-button-color);
    font-size: 25px;
    word-wrap: break-word;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    height: 60%;
    margin-top: 15px;
    margin-bottom: auto;
    transition: .3s;
}

.three_button_container .button_left{
    border-radius: 0 10px 10px 0;
    max-width: none;
}

.three_button_container .button_right{
    border-radius: 10px 0 0 10px;
    max-width: none;
}

.three_button_container button img{
    width: 40px;
    vertical-align: -6px;
}

.send_middle{
    padding-bottom: 0 !important;
}

.switch_between_emails_button_container{
    display: flex;
    flex-direction: row;
    margin-bottom: 30px;
}

.switch_between_emails_button_container button{
    width: 50%;
    border: 1px solid var(--primary-color);
    padding: 5px 0;
    font-size: 15px;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    background-color: var(--send-switch-to-email-button-background);
    color: var(--send-switch-to-email-button-text);
    transition: .2s;
    line-height: 25px;
}

.switch_between_emails_button_container button:first-child{
    border-radius: 10px 0 0 10px;
}

.switch_between_emails_button_container button:last-child{
    border-radius: 0 10px 10px 0;
}

.text_edit_container{
    display: flex;
    flex-direction: column;
    max-width: 350px;
    width: 85%;
    height: 90%;
    margin: auto;
}

.text_edit_container label, .need_link_email_text{
    color: var(--send-text-edit-label-color);
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 400;
    font-size: 18px;
    padding-left: 5px;
}

.go_to_menu_email_here{
    color: var(--go-to-menu-email-text-color);
}

.text_edit_container input{
    display: block;
    width: calc(100% - 20px);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 10px 5px 10px;
    border-radius: 10px;
    background-color: var(--send-text-edit-input-background-color);
    border: 1px solid var(--send-text-edit-input-border-color);
    color:var(--send-text-edit-input-text-color);
    font-size: 18px;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

.text_edit_container input:focus{
    outline: 1px solid var(--send-text-edit-input-outline-color);
}

.text_edit_button_container{
    display: flex;
    width: 100%;
    height: 50px;
}

.text_edit_button_container button{
    padding-left: 10px;
    align-items: center;
    display: flex;
    border-radius: 10px;
    border: none;
    transition: .3s;
}

.text_edit_button_container .send_to_walletano_ln_address{
    width: 70%;
    margin-right: auto;
    border: 1px solid var(--send-to-walletano-ln-address-border-color);
    background-color: var(--send-to-walletano-ln-address-background-color);
    color: var(--send-to-walletano-ln-address-text-color);
    font-size: 15px;
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
}

.text_edit_button_container .send_to_walletano_ln_address span{
    max-width: calc(100% - 40px);
    overflow: hidden;
    padding-top: 5px;
    padding-bottom: 5px;
}

.text_edit_button_container .send_to_walletano_ln_address img{
    margin: auto;
    margin-right: 10px;
    width: 20px;
}

.text_edit_button_container .send_to_ln_address{
    width: 27%;
    margin-left: auto;
    background-color: var(--send-to-ln-address-background-color);
}

.text_edit_button_container .send_to_ln_address img{
    margin: auto;
    width: 35px;
}

.text_edit_button_container .send_to_walletano_ln_address:disabled{
    border: 1px solid var(--send-to-walletano-ln-address-hover-color);
}

.text_edit_button_container .send_to_ln_address:disabled{
    background-color: var(--send-to-ln-address-disabled-color);
}

.send_page .three_button_container button:disabled{
    background-color: var(--send-three-button-background-color);
    border:2px solid var(--send-three-button-disabled-color);
}

.switch_between_emails_button_container button:disabled{
    background-color: var(--send-switch-to-email-button-disabled);
    color: var(--send-switch-to-email-button-disabled-text);
}

@media (hover) {
    .send_page .three_button_container button:disabled:hover{
        background-color: var(--send-three-button-background-color);
        border:2px solid var(--send-three-button-disabled-color);
    }

    .send_page .three_button_container button:hover{
        background-color: var(--send-three-button-background-hover-color);
    }

    .text_edit_button_container .send_to_walletano_ln_address:hover{
        background-color: var(--send-to-walletano-ln-address-hover-color);
    }

    .text_edit_button_container .send_to_ln_address:hover{
        background-color: var(--send-to-ln-address-hover-color);
    }

    .text_edit_button_container .send_to_walletano_ln_address:disabled:hover{
        border: 1px solid var(--send-to-walletano-ln-address-hover-color);
        background-color: var(--send-to-walletano-ln-address-background-color);
    }
    
    .text_edit_button_container .send_to_ln_address:disabled:hover{
        background-color: var(--send-to-ln-address-disabled-color);
    }
    .switch_between_emails_button_container button:hover{
        background-color: var(--send-switch-to-email-button-hover);
    }
    .switch_between_emails_button_container button:disabled:hover{
        background-color: var(--send-switch-to-email-button-disabled);
    }
    .go_to_menu_email_here:hover{
        cursor: pointer;
    }
}

@media only screen and (min-width: 600px) {
    .three_button_container .button_left{
        border-radius: 10px;
        margin-left: auto;
        margin-right: 5%;
    }
    
    .three_button_container .button_right{
        border-radius: 10px;
        margin-right: auto;
        margin-left: 5%;
    }

    .three_button_container .button_right, .three_button_container .button_left, .three_button_container .button_center{
        max-width: 150px;
    }
}

@media only screen and (max-width: 450px) {
    .button_container button{
        font-size: 25px !important;
    }
}  
