/* Preview Panel Styles */

.preview-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 50%;
    background-color: #1e1e1e;
    border-top: 1px solid #3c3c3c;
  }
  
  .preview-container.hidden {
    display: none;
  }
  
  .preview-container.fullscreen {
    height: 100%;
  }
  
  .preview-header {
    background-color: #252526;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3c3c3c;
    height: 35px;
  }
  
  .preview-controls {
    display: flex;
    gap: 10px;
  }
  
  /* Special styling for close button */
  #close-preview-btn {
    color: #ff9999;
  }
  
  #close-preview-btn:hover {
    background-color: #553333;
    color: #ff5555;
    border-color: #884444;
  }
  
  /* Special styling for maximize/restore buttons */
  #maximize-preview-btn, #restore-preview-btn {
    color: #99ccff;
  }
  
  #maximize-preview-btn:hover, #restore-preview-btn:hover {
    background-color: #335566;
    color: #55aaff;
    border-color: #446688;
  }
  
  #preview-frame {
    flex: 1;
    border: none;
    background-color: white;
    width: 100%;
    height: calc(100% - 35px);
  }
  
  /* Resizer between editor and preview */
  .resizer {
    height: 6px;
    background-color: #2d2d2d;
    cursor: row-resize;
    position: relative;
    z-index: 5;
    transition: background-color 0.2s ease;
  }
  
  .resizer:hover {
    background-color: #3c3c3c;
  }
  
  .resizer::after {
    content: "⋯";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #888;
  }