:root {

    --white-color: #FFFF;
    --primary-red: #FF4747; /* Rojo primario */
    --secondary-red: rgba(255, 71, 71, .25); /* Rojo secundario */
    
}

* {

    box-sizing: border-box;
    user-select: none;
    -webkit-font-smoothing: antialiased;
    -webkit-user-drag: none;

}

p, h1, h2, h3, h4 {

    margin: 0;
        
}

button, input {

    all: unset;
    box-sizing: border-box;

}

button {

    cursor: pointer;
    transition: all .45s;
    
}

body {

    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    color: var(--white-color);
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-optical-sizing: auto;
    line-height: normal;
    font-style: normal;

}

.container {
    
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../assets/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    animation: .45s openNui;

}

@keyframes openNui {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.outer_edge { 

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: fit-content;
    height: fit-content;
    padding: .94rem;
    border: 1px dashed rgba(255, 71, 71, .1); /* Rojo claro */
    border-radius: 45px;

}

.secondary_bg {

    width: inherit;
    height: inherit;
    background: rgba(16, 16, 21, .2);
    border-radius: 40px;

}

.main_container {

    min-width: 904px;
    min-height: 712px;
    background: rgba(16, 16, 21, .5);
    border-radius: 30px;
    padding: 56px 44px 37px 44px;
    position: relative;

}

.title_block {

    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;

}

.title_block .left_border {

    width: 3px;
    height: 62px;
    margin-right: 11px;
    border-radius: 100px;
    background: var(--primary-red); /* Rojo primario */

}

.title_block .title h1 {

    font-size: 40px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 3px;

}

.title_block .title h1 span {

    font-weight: 900;

}

.title_block .title p {

    font-size: 15px;
    font-weight: 400;
    letter-spacing: 1.8px;

}

.main_content {

    display: flex;

}

.main_content .middle_border {

    width: 2px;
    height: 517px;
    background: rgba(255, 255, 255, .02);
    margin: 12px 22px 0 25px;

}

.configs_title {

    display: flex;
    align-items: center;
    gap: 17px;
    max-width: 270px;
    height: 40px;
    padding: 0 30px 0 15px;
    border-radius: 5px;
    border: 1px solid var(--primary-red); /* Rojo primario */
    background: var(--secondary-red); /* Rojo secundario */
    margin-bottom: 21px;

}

.configs_title h2 {

    font-size: 15px;
    font-weight: 900;
    letter-spacing: .75px;

}

.left_box {

    width: 413px;
    max-width: 413px;
    padding-top: 10px;

}

.configs_cont {

    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 25px;
    margin: 21px 0 31px 0;

}

.config_item h3 {

    font-size: 15px;
    letter-spacing: .75px;
    margin-bottom: 9px;

}

.configs_block {

    width: 100%;
    height: 37px;
    display: flex;
    gap: 10px;

}

.config_item .configs_block .input_bg {

    flex: 1;
    width: max-content;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 5px;
    padding: 0 15px;

}

.configs_block .input_bg input {

    width: 100%;
    height: 7px;
    border-radius: 500px !important;
    background: rgba(255, 71, 71, .2) !important; /* Rojo en el fondo del input */

}

input[type="range"]::-webkit-slider-thumb {
    
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 500px;
    border: 2px solid #232329;
    background: var(--primary-red); /* Rojo en el slider */
    border-radius: 50%;
    cursor: pointer;

}

.config_item .configs_block .selected_percentage_box {

    width: 39px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .05);
    border-radius: 5px;

}

.config_item .configs_block .selected_percentage_box span {

    font-size: 12px;

}

.left_box .save_btn {

    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    border-radius: 5px;
    background: var(--primary-red); /* Rojo en el botón de guardar */
    font-size: 15px;
    letter-spacing: .75px;

}

.left_box .save_btn:hover {

    letter-spacing: 4px;

}

.left_box .end_alert_txt {

    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, .15);
    letter-spacing: .6px;
    margin-top: 21px;

}

/* ------------------ */

.right_box h2 {

    font-size: 25px;
    letter-spacing: 1.25px;
    max-width: 330px;
    
}

.right_box .top_border {
    
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, .02);
    margin: 12px 0 14px 0;

}

.right_box .text_cont {

    display: flex;
    flex-direction: column;
    gap: 25px;

}

.text_cont .text_block h4 {

    font-size: 15px;
    letter-spacing: .75px;
    margin-bottom: 10px;

}

.text_cont .text_block p {

    font-size: 12px;
    font-weight: 300;
    letter-spacing: .6px;
    max-width: 348px;

}

.text_cont .text_block:nth-child(3) p {

    max-width: 348px;

}


/* -------- FPS --------- */

.fps_box {

    display: flex;
    align-items: center;
    gap: 13px;
    position: absolute;
    top: 20px;
    right: 20px;
        
}

.fps_box span {

    font-size: 15px;
    letter-spacing: .75px;
        
}

.fps_box .fps_block {

    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 55px;
    padding: 0 16px;
    border-radius: 5px;
    border: 1px solid var(--primary-red); /* Rojo en el borde del FPS */
    background: var(--secondary-red); /* Rojo claro en el fondo */
}

