
/* Variables globales */
:root{
    --primary_color: rgb(229, 229, 229);
    --secondary_color: rgb(24, 24, 24);
    --accent_color: rgb(218, 144, 53);
    --aux_color: rgb(129, 129, 129);
    --aux_alt_color: rgb(174, 174, 174);
    --error_color: rgb(174, 0, 0);
    --error_aux_color: rgb(242, 216, 216);
}

/* Estilos por defecto */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: var(--primary_color);
    font-family: 'Courier New', Courier, monospace;
    min-width: 300px;
}

.screenblock{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100vw;
    z-index: 1000000;
    background-color: rgba(0, 0, 0, 0.3);
}

.context_menu{
    z-index: 1000001;
    position: absolute;
    padding: 5px;
    background-color: var(--primary_color);
    border-radius: 5px;
    min-width: 150px;
}

.context_menu_title{
    font-weight: bold;
    padding: 5px;
}

.context_menu_option{
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.context_menu_option.disabled{
    color: var(--aux_color);
    cursor: not-allowed;
    user-select: none;
}

.context_menu_option:not(.disabled):hover{
    background-color: var(--aux_alt_color);
}

.context_menu_option_icon{
    max-height: 25px;
    max-width: 25px;
}

.context_menu_option.disabled .context_menu_option_icon{
    opacity: 0.5;
}

.context_menu_option_name{
    flex-grow: 1;
    padding-top: 2px;
}

.text_accent{
    color: var(--accent_color);
}

.bold{
    font-weight: bold;
}

.loading{
    height: 100px;
    width: 100px;
}

#view_limiter{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
}

.fullscreen_prompt{
    z-index: 1000001;
    min-width: min(400px, 100vw);
    width: 50%;
    max-width: calc(100vw - 80px);
    margin: auto;
    position: relative;
    background-color: var(--aux_alt_color);
    border: 2px solid var(--secondary_color);
    border-radius: 5px;
    margin-top: 20px;
}

.fullscreen_prompt_title{
    border: 2px solid var(--secondary_color);
    font-size: 1.8em;
    background-color: var(--aux_color);
    color: var(--primary_color);
    border-radius: 10px;
    padding: 5px 15px;
    margin: auto;
    max-width: calc(100% - 40px);
    text-align: center;
}

.fullscreen_prompt_form{
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fullscreen_prompt_form_field{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}

.fullscreen_prompt_form_field_label{
    font-size: 1.1em;
}

.fullscreen_prompt_form_field:hover .fullscreen_prompt_form_field_label{
    color: var(--accent_color);
    font-weight: bold;
    text-shadow: 0px 0px 6px var(--secondary_color);
}

.fullscreen_prompt_form_field_text input{
    text-align: center;
    font-size: 1.1em;
    border-radius: 5px;
    border: none;
    padding: 3px 8px;
}

.fullscreen_prompt_form_field_color input{
    height: 40px;
    width: 40px;
}

.fullscreen_prompt_form_field_editable_list{
    width: 100%;
}

.fullscreen_prompt_form_field_editable_list_elements{
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background-color: var(--primary_color);
    padding: 7px;
    border-radius: 3px;
}

.fullscreen_prompt_form_field_editable_list_element{
    background-color: var(--aux_color);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 0px;
}

.fullscreen_prompt_form_field_editable_list_element_label{
    color: var(--primary_color);
    padding: 3px 6px;
    font-size: 1.2em;
}

.fullscreen_prompt_form_field_editable_list_element_remove{
    background-image: url(/icons/close.png);
    width: 25px;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    padding-left: 3px;
    box-sizing: content-box;
    border-radius: inherit;
    cursor: pointer;
}

.fullscreen_prompt_form_field_editable_list_element_remove:hover{
    background-color: var(--accent_color);
}

.fullscreen_prompt_form_field_editable_list_add{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 10px;
}

.fullscreen_prompt_form_field_editable_list_add_param{
    border: none;
    text-align: center;
    font-size: 1em;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.fullscreen_prompt_form_field_editable_list_add_button{
    width: 35px;
    height: 30px;
    cursor: pointer;
    border: none;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    background-image: url(/icons/plus-alt.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.fullscreen_prompt_form_field_editable_list_add_button:hover{
    background-color: var(--accent_color);
}

.fullscreen_prompt_buttons{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 12px;
}

.fullscreen_prompt_button{
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 1.3em;
}

.fullscreen_prompt_button:hover {
    background-color: var(--accent_color);
}