.titulo-ubi{
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 14px;
    width: 100%;
}

.titulo-ubi strong{
    font-size: 16px;
    margin: 0;
    white-space: nowrap;
}

.jmcp-top-row{
    width: calc(100% - 335px);
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.jmcp-header-actions{
    display: flex;
    justify-content: flex-end;
}

.titulo-ubi p{
    margin: 0;
    color: #666;
    font-size: 14px;
}
.fieldset-jmcp-locations{
    display: flex;
    flex-direction: column;
}
.jmcp-location-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid black;
    background: #F6F7F7;
    color: black;
    width: calc(100% - 335px);
    box-sizing: border-box;
    min-height: 60px;
}

.jmcp-location-item select {

    flex: 1;
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 16px;
    border: 1px solid black !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 15px;
    box-sizing: border-box;
}

.jmcp-location-item select:focus {
    border: 2px solid black !important;
    outline: none !important;
    box-shadow: none !important;
}
#jmcp-add-location{
    align-self: flex-start;
    margin-top: 8px;
}

/*Mensajes alertas*/

#jmcp-location-message {
    margin-top: 8px;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 4px;
    line-height: 1.4;
    width: 70%;
    box-sizing: border-box;
    display: block;
    margin-left: 334px;

}

.jmcp-location-message-error {
    color: #8a1f11;
    background: #f6e7e7;
    border-left: 4px solid #d63638;
}

.jmcp-location-message-success {
    color: #2f6f44;
    background: #e7f4ea;
    border-left: 4px solid #46b450;
}

.jmcp-location-error {
    border: 1px solid #d63638 !important;
    background: #fff6f6;
}

.jmcp-remove-location.button,
#jmcp-add-location.button,
#jmcp-add-location,
.jmcp-remove-location {

    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 9px !important;
    min-height: 39px !important;
    height: 36px !important;
    border: 1px solid black !important;
    font-size: 12px !important;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jmcp-remove-location:hover,
#jmcp-add-location:hover {
    transform: translateY(-1px);
}

#job_canton,
.fieldset-job_canton,
label[for="job_canton"] {
    display: none !important;
}
@media screen and (max-width: 1024px) {

    .jmcp-header-actions{
        width: 100%;
        margin-left: 0;
    }

    #jmcp-add-location{
        width: 100%;
    }
    .titulo-ubi{
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .jmcp-top-row{
        width: 100%;
        margin-left: 0;
    }

    .jmcp-header-actions{
        width: 100%;
    }

    #jmcp-add-location{
        width: 100%;
    }

    .titulo-ubi strong{
        font-size: 15px;
    }

    .titulo-ubi p{
        font-size: 13px;
    }

    .jmcp-location-item {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        padding: 12px;
        gap: 10px;
        min-height: auto;
    }

    .jmcp-location-item select {
        width: 100% !important;
        flex: unset;
        min-width: 100%;
        height: 42px;
        font-size: 14px;
    }

    .jmcp-remove-location {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 13px !important;
    }

    #jmcp-add-location {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        height: 42px !important;
    }
}