.wcpc-wrapper {
    margin: 20px 0;
    clear: both;
}

.wcpc-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 12px !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
}

.wcpc-panel {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.wcpc-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}

.wcpc-panel-header h4 {
    margin: 0;
    font-size: 18px;
}

.wcpc-price-badge {
    background: #059669;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.wcpc-instructions {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 15px;
}

.wcpc-section-label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.wcpc-locations-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.wcpc-location-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wcpc-location-card.wcpc-card-checked {
    border-color: #93c5fd;
    background: #f8fafc;
}

.wcpc-location-card.wcpc-card-editing {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.wcpc-location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.wcpc-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    cursor: pointer;
    font-size: 14px;
}

.wcpc-loc-title {
    font-weight: 600;
    color: #111827;
}

.wcpc-loc-price {
    color: #059669;
    font-weight: 600;
    font-size: 13px;
}

.wcpc-edit-layer-btn {
    padding: 4px 8px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.wcpc-location-upload {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5e7eb;
}

.wcpc-upload-sublabel {
    display: block;
    font-size: 12px;
    color: #374151;
    margin-bottom: 6px;
}

.wcpc-file-status {
    display: block;
    font-size: 12px;
    color: #059669;
    font-weight: 600;
    margin-top: 4px;
}

.wcpc-canvas-container {
    width: 100%;
    max-width: 450px;
    margin: 12px auto 18px auto;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

#wcpc-canvas {
    width: 100%;
    height: auto;
    display: block;
    cursor: grab;
    touch-action: none;
}

#wcpc-canvas:active {
    cursor: grabbing;
}

.wcpc-variant-notice {
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    padding: 6px 8px;
    border-top: 1px solid #e5e7eb;
}

.wcpc-active-layer-banner {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
}

.wcpc-hint {
    font-size: 11px;
    color: #3b82f6;
    margin-left: 6px;
}

.wcpc-control-group {
    margin-bottom: 14px;
}

.wcpc-control-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.wcpc-control-group input[type="range"] {
    width: 100%;
    margin-bottom: 12px;
}

.wcpc-btn-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.wcpc-btn-row .button {
    flex: 1;
    text-align: center;
    font-size: 13px !important;
    padding: 8px 10px !important;
}
