.configuration {
    box-sizing: border-box;
    position: relative;
    width: 400px;
    height: auto;
    background-color: white;
    padding: 0px 30px 30px 30px;
    box-shadow: 5px 0px 5px rgba(0, 0, 0, 0.2);

    display: flex;
    flex-direction: column;

    color: #000D44;

    justify-content: space-between;
}

#id_task {
    width: calc(100% - 42px - 0.5vw)
}

.selector_parent_div {
    width: 100%;
    margin-right: 0.5vw;
    display: flex;
    flex-direction: column;
}

#env_content {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    position: relative;
}

#options_form {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 19px;
    left: calc(100% + 1vw);
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 4px 5px 2px rgba(0, 13, 68, 0.20), 0px 0px 1px 0px rgba(0, 13, 68, 0.25);
    padding: 10px;
    border-radius: 8px;
    z-index: 2;
}

.options_form_div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px;
}

#options_button_save {
    cursor: pointer;
    height: 24px;
    color: white;
    background-color: #000D44;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#options_button_save:hover {
    color: #000D44;
    background-color: #EE686A;

}

.options_button {
    cursor: pointer;
    height: 44px;
    width: 44px;
    border: 2px solid #737999;
    border-radius: 8px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.json_form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.animate {
    animation: illuminate_background_color 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 2, escalar 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 2;
}

.animate_scale {
    animation: escalar 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 2;
}

.animate_color {
    animation: iluminate_color 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 2, escalar 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) 2;
}

@keyframes illuminate_background_color {
    0%, 100% {
        background-color: rgb(255, 255, 255);
        border-radius: 8px;
    }
    25%, 75% {
        background-color: #EE686A;
        border-radius: 8px;
    }
}

@keyframes iluminate_color {
    0%, 100% {
        color: #000D44;
    }
    25%, 75% {
        color: #EE686A;
    }
}

@keyframes escalar {
    0%, 100% {
        transform: scale(1);
    }
    20%, 80% {
        transform: scale(1.1);
    }
}

.options_button:hover {
    background-color: #E6E7ED
}

.description {
    height: 25vh;
    margin-bottom: 1vh;
}

.description_text {
    display: block;
    height: 15vh;
    width: 100%;
    overflow-y: auto;
    white-space: pre;
    line-height: 1.25;
}

.description_text::first-line {
    font-weight: bold;
}

#id_json_flow {
    box-sizing: border-box;
    width: 100%;
    height: 15vh;
}

.launcher {
    position: relative;
}

.launcher_buttons {
    box-sizing: border-box;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form_button_send {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 48px;
    border-radius: 8px;
    text-align: center;
    border: none;
    align-self: center;
}

.desktop_launcher {
    height: 48px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    border-radius: 8px;
}

.iframe_launcher {
    cursor: pointer;
    height: calc(48px + 4px);
    width: 50%;
    border-radius: 8px;
    margin-top: 5px;
}

.launcher_icon {
    margin-left: 15px;
    filter: invert(100%) sepia(6%) saturate(26%) hue-rotate(230deg) brightness(108%) contrast(107%);
}

.launcher_icon:hover {
    margin-left: 15px;
}

.mobile_launcher {
    position: relative;
    height: auto;
    width: 40%;
    z-index: 1;
    bottom: 0;
    right: 0;
}

.launchers_container_parent {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.5vw;
}

.launchers_container{
    width: 100%;
    display: flex;
    flex-direction: row;
    z-index: 1;
    gap: 5px;
}

.desktop_icon {
    height: 4vh;
}

.a_navy {
    font-family: 'PublicSans';
    color: #000D44;
    font-size: 16px;
}

/* Env configuration */
#id_xpressid_url {
    height: 20px;
    width: 258px;
    border: 2px solid #737999;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    font-size: 16px;
}

#id_xpressid_url:hover {
    border-color: #EE686A;
}

#id_xpressid_url:active {
    border-color: #000D44;
}

#id_xpressid_url:focus {
    border-style: none;
}

#id_xpressid_url:visited {
    border-style: none;
}

#id_xpressid_url_token {
    height: 20px;
    width: 258px;
    border: 2px solid #737999;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    font-size: 16px;
}

#id_xpressid_url_token:hover {
    border-color: #EE686A;
}

#id_xpressid_url_token:active {
    border-color: #000D44;
}

#id_xpressid_url_token:focus {
    border-style: none;
}

#id_xpressid_url_token:visited {
    border-style: none;
}


#id_xpressid_ip {
    height: 20px;
    width: 258px;
    border: 2px solid #737999;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    font-size: 16px;
}

#id_xpressid_ip:hover {
    border-color: #EE686A;
}

#id_xpressid_ip:active {
    border-color: #000D44;
}

#id_xpressid_ip:focus {
    border-style: none;
}

#id_xpressid_ip:visited {
    border-style: none;
}


#id_xpressid_client_id {
    height: 20px;
    width: 258px;
    border: 2px solid #737999;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    font-size: 16px;
}

#id_xpressid_client_id:hover {
    border-color: #EE686A;
}

#id_xpressid_client_id:active {
    border-color: #000D44;
}

#id_xpressid_client_id:focus {
    border-style: none;
}

#id_xpressid_client_id:visited {
    border-style: none;
}


#id_xpressid_client_secret {
    height: 20px;
    width: 258px;
    border: 2px solid #737999;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    font-size: 16px;
}

#id_xpressid_client_secret:hover {
    border-color: #EE686A;
}

#id_xpressid_client_secret:active {
    border-color: #000D44;
}

#id_xpressid_client_secret:focus {
    border-style: none;
}

#id_xpressid_client_secret:visited {
    border-style: none;
}

#id_xpressid_apikey {
    height: 20px;
    width: 258px;
    border: 2px solid #737999;
    padding: 12px 16px 12px 16px;
    border-radius: 8px;
    font-size: 16px;
}

#id_xpressid_apikey:hover {
    border-color: #EE686A;
}

#id_xpressid_apikey:active {
    border-color: #000D44;
}

#id_xpressid_apikey:focus {
    border-style: none;
}

#id_xpressid_apikey:visited {
    border-style: none;
}

.options_form_hint {
    margin-left: 1vh;
}

#configuration_half_screen {
    display: none;
}

.vd-selectors-parent {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.description_text_icon:hover {
    /* transform-origin: top right; */
    transform: scale(1.5);
    transition: all 0.2s;
}

.description_text_popup {
    max-width: 50vw;
    max-height: 50vh;
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 1vw);
    padding: 2vw;
    border-radius: 8px;
    overflow-y: auto;
    word-wrap: break-word;
    white-space: pre;
    background-color: white;
    z-index: 100;
    box-shadow: 0px 4px 5px 2px rgba(0, 13, 68, 0.20), 0px 0px 1px 0px rgba(0, 13, 68, 0.25); }

.description_icon_parent {
    position: relative;
}

/* Media query half desktop */
@media (min-width: 660px) and (max-width: 1100px) {
    .configuration {
        box-sizing: border-box;
        background-color: white;
        flex: 1;
        width: 99vw;
        flex-direction: row;
        justify-content: space-between;
        margin: 0 5vw 0 0.5vw;
        padding: 0px 30px 2vw 30px;
        border-radius: 8px;
        box-shadow: 5px 0px 5px rgba(0, 0, 0, 0.2);

    }

    .vd-selectors-configuration{
        width: 250px;
        height: auto;
        position: fixed;
        top: calc(80px + 1vw + 60px);
        right: -400px;
        z-index: 5;
        background-color: white;
        border-radius: 8px 0px 0px 8px;
        padding: 1vw;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    }

    #configuration_selectors.show {
        right: 0px;
        animation: right_to_left 0.5s ease-in-out;
    }

    #configuration_selectors.hide {
        right: -400px;
        animation: left_to_right 0.5s ease-in-out;
    }

    @keyframes right_to_left {
        0% {
            right: -400px;
        }
        100% {
            right: 0px;
        }
    }

    @keyframes left_to_right {
        0% {
            right: 0px;
        }
        100% {
            right: -400px;
        }
    }

    #configuration_title {
        display: none;
    }

    .configuration_item_25_half {
        width: 30%;
    }

    .configuration_item_30_half {
        width: 35%;
    }

    .configuration_item_40_half {
        width: 35%;
    }

    .description_text {
        height: 19vh;
        width: 90%;
        overflow-y: auto;
        overflow-wrap: break-word;
    }

    #id_json_flow {
        flex: 1;
        width: 90%;
    }

    .launchers_container_parent {
        position: relative;
        display: flex;
        flex-direction: row;
        gap: 0.5vw;
    }

    .launcher_buttons {
        width: 60%;
        padding: 2px;
        display: flex;
        flex-direction: column;
    }

    .mobile_launcher {
        position: relative;
        top: 0;
        right: 0;
        width: 40%;
        height: auto;
        z-index: 1;
        
    }

    .form_button_send {
        width: 100%;
    }

    #configuration_half_screen {
        cursor: pointer;
        display: flex;
    }

    .configuration_half_screen {
        height: 60px;
        width: 220px;
        display: flex;
        flex-direction: row;
        align-items: center;
        position: fixed;
        top: calc(80px + 0.5vw);
        right: 0;
        z-index: 2;
        padding-left: 0.5vw;
        background-color: white;
        border-radius: 10px 0px 0px 10px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    }

    .configuration_half_screen:hover {
        background-color: #EE686A;
        color: #000D44;
    }

    #env_content {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        position: relative;
        height: auto;
    }

    #options_form {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: -80px;
        right: 50px;
        left: unset;
        background-color: rgb(255, 255, 255);
        box-shadow: 0px 4px 5px 2px rgba(0, 13, 68, 0.20), 0px 0px 1px 0px rgba(0, 13, 68, 0.25);
        padding: 10px;
        border-radius: 8px;
        z-index: 2;
    }
    
    .description_text_popup {
        top: -100%;
        max-width: 60vw;
    }

}

/* Media query mobile */
@media (max-width: 660px) {
    .configuration {
        box-sizing: border-box;
        height: auto;
        width: 100vw;
        background-color: white;
        padding: 0px 30px 30px 30px;
        box-shadow: 5px 0px 5px rgba(0, 0, 0, 0.2);

        display: flex;
        flex-direction: column;

        color: #000D44;
    }

    #id_json_flow {
        box-sizing: border-box;
        width: 50%;
        height: 10vh;
    }

    .description {
        width: 100%;
        height: 20vh;
        margin-bottom: 10px;
    }

    .description_text {
        height: 15vh;
        width: 100%;
        overflow-y: auto;
        overflow-wrap: break-word;
    }

    .json_form {
        width: 100%;
    }

    #id_json_flow {
        width: 100%;
        height: 15vh;
    }

    .launcher {
        box-sizing: border-box;
        position: relative;
    }

    .launcher_buttons {
        box-sizing: border-box;
        width: 100%;
        padding: 2px;
        display: flex;
        flex-direction: column;
    }

    .form_button_send {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;

        width: 100%;
        height: 50px;
        border-radius: 8px;
        text-align: center;
        border: none;
        align-self: flex-start;
    }

    .launchers_container{
        width: 100%;
        display: flex;
        flex-direction: row;
        z-index: 1;
        gap: 5px;
    }

    .desktop_launcher {
        height: 50px;
        width: 45vw;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 5px;
        border-radius: 8px;
    }

    .iframe_launcher {
        height: 54px;
        width: 45vw;
        border-radius: 8px;
        margin-top: 5px;
    }

    .mobile_launcher {
        display: none;
    }

    #options_form {
        display: flex;
        flex-direction: column;
        position: absolute;
        top:100px;
        left:0;
        background-color: rgb(255, 255, 255);
        box-shadow: 0px 4px 5px 2px rgba(0, 13, 68, 0.20), 0px 0px 1px 0px rgba(0, 13, 68, 0.25);
        padding: 10px;
        border-radius: 8px;
        right: 0;
        max-width: 300px;
    }

    .description_icon_parent {
        position: unset;
    }

    .description_parent {
        position: relative;
    }

    .description_text_popup {
        top: 60px;
        left: 0;
        max-width: calc(100vw - 90px);
        max-height: 70vh;
    }
}