﻿/* ---------- INPUT CONTAINER ---------- */
.results-input-container {
    margin: 20px 0;
}

/* ---------- LABEL ---------- */
.results-input-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-bold-gray);
}

/* ---------- INPUT WRAPPER ---------- */
.results-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-borders);
    padding: 10px 14px;
    transition: all 0.2s ease-in-out;
}

    .results-input-wrapper:focus-within {
        border-bottom: 1px solid var(--color-borders); /* mantener separación con el contenedor */
        background-color: var(--color-white);
    }
.results-mixed-input-container {
    display: flex;
    justify-content: flex-end; /* Alinea todo el contenido a la derecha */
    align-items: flex-end; /* Alinea verticalmente al fondo, si es necesario */
}

.results-mixed-input {
    border: 1px dashed var(--color-borders);
    transition: all 0.2s ease-in-out;
    text-align: right;
    font-size: 1rem;
    padding: 6px 10px;
    margin: 8px;
    width: 160px;
}


/* ---------- INPUT ---------- */
.results-input {
    border: none;
    outline: none;
    padding: 6px 0px;
    width: 120px;
    font-size: 0.95rem;
    background: transparent;
    color: var(--color-black);
}

    .results-input:focus-visible {
        outline: none;
    }

/* Number inputs sin spinners */
input[type=number].results-input::-webkit-inner-spin-button,
input[type=number].results-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number].results-input {
    -moz-appearance: textfield;
    text-align: right;
}

/* ---------- ICONO (gear) ---------- */
.results-gear {
    font-size: 1rem;
    padding: 8px;
    cursor: pointer;
    color: var(--color-bold-gray);
    transition: color 0.2s ease-in-out;
}

    .results-gear:hover {
        color: var(--color-primary);
    }

/* ---------- UNIDAD ---------- */
.results-unit {
    font-weight: 500;
    color: var(--color-bold-gray);
}

/* ---------- INFO SAVED ---------- */
.results-info {
    font-weight: 500;
    color: var(--color-bold-gray);
}

/* ---------- PARAM LINK ---------- */
.results-param-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

    .results-param-link:hover {
        color: var(--color-black);
    }

/* ---------- PARAM CONTAINER ---------- */
.results-param-container {
    display: none;
    padding: 14px;
    border: 1px solid var(--color-borders);
    border-top: none; /* se une visualmente al wrapper */
    transition: all 0.2s ease-in-out;
}
/* ---------- CLEAR INPUT BUTTON ---------- */
.results-clear-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}


/* ---------- RADIO BUTTONS ---------- */
.results-radio {
    width: 24px; /* ancho del cuadrado */
    height: 24px; /* alto del cuadrado */
    appearance: none; /* elimina el estilo por defecto */
    border: 1px solid var(--color-borders);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
    background-color: var(--color-white);
}

    /* Cuando está seleccionado */
    .results-radio:checked {
        background-color: var(--color-secondary);
        border-color: var(--color-secondary);
    }

    /* Opcional: efecto hover */
    .results-radio:hover {
        transform: scale(1.05);
    }

.results-section-title {
    margin: 6px 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-black);
}

/* ---------- LIST ITEM (placeholder) ---------- */
.results-list-group-item {
    padding: 0px 4px;
}

.results-change-codification {
    text-align: right;
}

.results-input-wrapper {
    padding: 12px 30px;
}