/* =========================================
   Panelling Configurator — Make My Panelling

   Plugin-specific styles. Extends the shared
   mmy-configurator.css from Core Make My.
   ========================================= */

/* --- Preview Containers --- */

.mmpnl-2d-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mmpnl-2d-container svg {
    max-width: 100%;
    max-height: 100%;
}

.mmpnl-3d-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.mmpnl-3d-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* --- Linked (disabled) Input --- */

.mmpnl-input.mmpnl-linked {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Link Widths Checkbox --- */

.mmpnl-link-widths {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.mmpnl-link-widths label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    cursor: pointer;
}

/* --- Split Line Info --- */

.mmpnl-split-info {
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff8e1;
    border-left: 3px solid #ffc107;
    font-size: 12px;
    color: #666;
    border-radius: 2px;
}

/* --- Preview Toggle --- */

.mmy-preview-toggle {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
}

.mmy-preview-toggle-btn {
    padding: 6px 16px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.mmy-preview-toggle-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.mmy-preview-toggle-btn:last-child {
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.mmy-preview-toggle-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}
