* {
    box-sizing: border-box;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
  }
  
  body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
  }
  
  .header-bar {
    width: 100%;
    background: #003cff;
    padding: 10px 20px;
    text-align: center;
    position: relative;
    flex-shrink: 0;
  }
  
  .header-bar h1 {
    margin: 0;
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: bold;
  }
  
  .header-link {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .layout {
    display: flex;
    flex-grow: 1;
    width: 100%;
    height: 100%;
  }
  
  .sidebar {
    width: 320px;
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    border-right: 2px solid #000000;
  }
  
  .text-toolbar {
    width: 300px;
    background: #f9f9f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 2px solid #000000;
  }
  
  .controls,
  .buttons,
  .download-controls {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  input,
  select,
  button {
    font-family: Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
    background: #eeeeee;
    border: 1px solid #999999;
    padding: 6px 8px;
  }
  
  button:hover,
  select:hover {
    background: #dddddd;
    border-color: #666666;
    cursor: pointer;
  }
  
  input[type="range"] {
    width: 100%;
  }
  
  label {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .color-picker {
    width: 32px;
    height: 32px;
    border: 1px solid #999999;
    border-radius: 4px;
    cursor: pointer;
    background: #ffffff;
  }
  
  .canvas-wrapper {
    flex: 1;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  canvas {
    max-width: 95%;
    max-height: 95%;
    border: 2px solid #999999;
    background: #f5f5f5;
  }
  
  #cropOverlay {
    position: absolute;
    border: 2px dashed red;
    pointer-events: none;
    display: none;
    z-index: 10;
  }
  
  .crop-controls {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .crop-buttons {
    display: flex;
    gap: 10px;
  }
  
  .crop-buttons button {
    flex: 1;
  }
  
  .input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .about-content {
    padding: 40px;
    font-size: 1rem;
  }
  