.metacontent {
    cursor:pointer;
    border:1px dotted #eeeeee;
    background-color:rgba(150,150,200,0.3);
    box-shadow: 0 0 8px 4px #999;
  }
  
  .metacontent:hover {
    background-color:#eeeeff;
    border:1px solid #cccccc;
    box-shadow: 0 0 8px 4px #99C;
  }
  
  /* Layout Preview Styles */
  .layout-preview {
    position: relative;
    border: 1px solid #e8e8e8;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .layout-preview:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .layout-edit-button {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    pointer-events: none;
  }
  
  .layout-preview:hover .layout-edit-button {
    opacity: 1;
    pointer-events: auto;
    font-family:Arial, Helvetica, sans-serif;
  }
  
  .layout-edit-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4), 0 2px 4px rgba(0,0,0,0.2);
  }
  
  /* Compact view styles for layout rendering */
  .layout-content.compact {
    padding: 0;
  }
  
  .layout-row.compact {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
  }
  
  .layout-col.compact {
    border: none;
    padding: 0;
    background: transparent;
  }
  
  .layout-preview {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 20px;
    min-height: 100px;
  }
          