body {
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 10px;
    background-color: #E6E4DC;
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
  }
  
  .container {
    max-width: 1200px;
    width: 100%;
  }
  
  h1 {
    text-align: center;
    font-weight: normal;
    margin-bottom: 5px;
    font-size: 20px;
    /* border-bottom: 1px solid #000; */
  }
  
  .controls {
    border: 1px solid #000;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .slider-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  label {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
  }
  
  .value-display {
    font-weight: normal;
  }
  
  .main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .canvas-box {
    border: 1px solid #000;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 300px;
    justify-content: flex-start;
  }
  
  canvas {
    display: block;
    max-width: 100%;
    background-color: #fff;
    /* border: 1px solid #000; */
  }
  
  input[type="range"] {
    width: 100%;
    background-color: #fff;
    -webkit-appearance: none;
    height: 10px;
    border: 1px solid #000;
  }
  
  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background-color: #0000ff;
    cursor: pointer;
  }
  
  input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    cursor: pointer;
    border: none;
  }
  
  .button {
    background-color: #666666;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    transition: background-color 0.2s;
  }
  
  .button:hover {
    background-color: #ffffff;
    color: #000000;
  }
  
  #file-input {
    display: none;
  }
  
  .message {
    margin-top: 10px;
    font-style: italic;
  }
  
  .action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
  }
  
  /* ASCII art header */
  .ascii-header {
    text-align: center;
    margin-bottom: 0px;
    font-size: 10px;
    white-space: pre;
    color: #000;
    line-height: 1;
  }
  
  /* Blinking cursor effect */
  .cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: #0000ff;
    animation: blink 2s step-end infinite;
    vertical-align: middle;
    margin-left: 0px;
  }
  
  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }
  
  /* Responsive layout for wider screens */
  @media (min-width: 701px) {
    .main-content {
      flex-direction: row;
      gap: 20px;
    }
    
    .controls {
      width: 30%;
      margin-bottom: 0;
    }
    
    .canvas-box {
      width: 70%;
    }
  }
  
  /* New Receipt Header Controls Styles */
  .receipt-header-controls {
    border-top: 1px dashed #000;
    border-bottom: 1px dashed #000;
    padding: 10px 0;
    margin: 5px 0;
  }
  
  .receipt-header-controls h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
  }
  
  .input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .text-input {
    font-family: 'Courier New', monospace;
    padding: 5px;
    width: 180px;
    background-color: #fff;
    border: 1px solid #000;
  }
  
  /* Receipt header text on canvas styles */
  .receipt-header-text {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #000;
    text-align: left;
    padding: 5px;
  }

#links-para{
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-family: Helvetica, sans-serif;
    font-size: 14px;
}

a {
    color: #0000ff
}
a:visited {
    color: #0000ff
}