/* Cable Preview Styles */
.cable-preview-box {
    background: linear-gradient(to bottom, #fafafa, #f0f0f0);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px 15px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.preview-section {
    text-align: center;
    flex-shrink: 0;
    z-index: 2;
}

.preview-section img {
    max-height: 70px;
    max-width: 90px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.15));
}

.preview-left {
    margin-right: -5px;
}

.preview-right {
    margin-left: -5px;
}

.preview-center {
    flex: 1;
    position: relative;
    z-index: 1;
    min-width: 80px;
}

.preview-cable-line {
    height: 6px;
    background: linear-gradient(to right, #555, #777, #555);
    border-radius: 3px;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.preview-label {
    font-size: 0.65rem;
    color: #666;
    margin-top: 6px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
}

.preview-placeholder {
    width: 70px;
    height: 70px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
}

.preview-placeholder.has-image {
    border: none;
    background: none;
}
