/* Plugin Cuadros - CSS Simple */

#cuadros-fondo {
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    flex-shrink: 0;
    flex-grow: 0;
}

#cuadros-wrapper {
    position: relative;
    box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.25);
}

#layer-marco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 3;
}

#layer-paspartu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#layer-doble-marco {
    position: absolute;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 4;
}

#layer-imagen {
    position: absolute;
    overflow: hidden;
    z-index: 2;
}

#layer-imagen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.cuadros-selection-order-notice {
    margin: 0 0 12px;
    padding: 10px 12px;
    border: 1px solid #dcdcde;
    border-left: 4px solid #2271b1;
    background: #f7fbff;
    color: #1d2327;
    font-size: 13px;
    line-height: 1.4;
    box-sizing: border-box;
    display: inline-block;
    width: auto;
    max-width: 100%;
    overflow: hidden;
}

.cuadros-steps-inline {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    width: auto;
    max-width: 100%;
}

.cuadros-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 10px;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    background: #ffffff;
    color: #50575e;
    white-space: normal;
    flex: 0 1 430px;
    min-width: 220px;
    max-width: 100%;
    box-sizing: border-box;
}

.cuadros-step-text {
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.cuadros-step-item.is-active {
    border-color: #dba617;
    background: #fff8e5;
    color: #1d2327;
}

.cuadros-step-item.is-completed {
    border-color: #00a32a;
    background: #edfaef;
    color: #14532d;
}

.cuadros-step-status {
    margin-top: 8px;
    font-size: 12px;
    text-align: center;
    display: none;
}

.cuadros-step-status.is-warning {
    color: #8a5500;
}

.cuadros-step-status.is-success {
    color: #166534;
}

@media (max-width: 680px) {
    .cuadros-selection-order-notice {
        display: block;
        width: 100%;
    }

    .cuadros-steps-inline {
        gap: 6px;
        width: 100%;
    }

    .cuadros-step-item {
        flex: 1 1 auto;
        min-width: 0;
        padding: 7px;
    }

    .cuadros-step-text {
        font-size: 11px;
        line-height: 1.25;
    }
}

form.variations_form select.cuadros-select-bloqueado {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #f6f7f7;
}
