/* Feature #2: Highlight "Next Step" Animation */
.highlight-next {
    position: relative;
    border-radius: 8px;
    animation: pulse-guide 2s infinite;
}

@keyframes pulse-guide {
    0% { box-shadow: 0 0 0 0px rgba(0, 124, 186, 0.2); }
    50% { box-shadow: 0 0 0 10px rgba(0, 124, 186, 0); }
    100% { box-shadow: 0 0 0 0px rgba(0, 124, 186, 0); }
}

/* Visual cue for the user that they can unselect */









/* --- LAYOUT: LIST / ROW --- */
.layout-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 500px; /* Keep it neat */
}

.layout-list .list-row-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
}

/* Image Column */
.layout-list .list-col-img {
    flex: 0 0 50px;
    margin-right: 15px;
}
.layout-list .list-col-img img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.layout-list .list-img-placeholder {
    width: 50px; height: 50px; background: #f0f0f0; border-radius: 6px; display: block;
}

/* Info Column */
.layout-list .list-col-info {
    flex: 1; /* Takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.layout-list .swatch-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Action Column (Radio Circle) */
.layout-list .list-col-action {
    flex: 0 0 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.list-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    position: relative;
    transition: all 0.2s;
}

/* HOVER STATE */
.layout-list .list-row-item:hover:not(.disabled) {
    border-color: #999;
    background-color: #fafafa;
}

/* SELECTED STATE */
.layout-list .list-row-item.selected {
    border-color: #000; /* Or your brand color */
    background-color: #f9fdf9; /* Subtle tint */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.layout-list .list-row-item.selected .list-radio-circle {
    border-color: #000;
    background-color: #000;
}
/* The white dot inside the radio */
.layout-list .list-row-item.selected .list-radio-circle::after {
    content: '';
    position: absolute;
    top: 5px; left: 5px;
    width: 6px; height: 6px;
    background: #fff;
    border-radius: 50%;
}

/* DISABLED STATE */
.layout-list .list-row-item.disabled {
    opacity: 0.5;
    background: #f4f4f4;
    cursor: not-allowed;
    border-style: dashed;
}