 .app-wrapper {
      margin: 1rem;
      background: #f2f2f2;
      font-family: Arial, sans-serif;
      color: #333;
      max-height: 750px!important;
      box-sizing: border-box;
    }
    .tab-container {
      background:#fff;
      max-width: 800px;
      margin: 0 auto;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
      overflow: hidden;
    }
    .tabs {
      display: flex;
      border-bottom: 1px solid #ddd;
      background: linear-gradient(90deg, #2c3e50, #34495e);
    }
    .tab-button {
      flex: 1;
      padding: 1rem;
      border: none;
      cursor: pointer;
      font-size: 1rem;
      font-weight: bold;
      transition: background 0.2s;
      background: transparent;
      color: #fff;
    }
    .tab-button:hover {
      background: rgba(255, 255, 255, 0.15);
    }
    .tab-button.active {
      background: linear-gradient(90deg, #34495e, #2c3e50);
      border-bottom: 3px solid #3498db;
      color: #fff;
    }
    .tab-content {
      display: none;
      padding: 1.5rem;
    }
    .tab-content.active {
      display: block;
    }

    .dropzone {
      width: 100%;
      height: 450px;
      border: 2px dashed #ccc;
      border-radius: 8px;
      position: relative;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      transition: border-color 0.3s;
    }
    .dropzone.highlight {
      border-color: #3498db;
    }
    .dropzone-prompt {
      color: #666;
      text-align: center;
    }
    #previewImg {
      max-width: 100%;
      max-height: 100%;
      display: none;
    }

    .status-area {
      font-weight: bold;
      color: #555;
      min-height: 24px;
      margin-bottom: 8px;
    }

    .clamp-message {
      color: red;
      font-weight: bold;
      margin-bottom: 8px;
      display: none;
    }

    .gradient-button {
      background: linear-gradient(90deg, #ff7a18, #af002d 70%);
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 0.8rem 1.5rem;
      font-size: 1.1rem;
      cursor: pointer;
      transition: transform 0.2s, opacity 0.2s;
      margin-top: 1rem;
      min-width: 160px;
      text-align: center;
      display: inline-block;
      white-space: nowrap;
    }
    .gradient-button:hover {
      transform: scale(1.02);
      opacity: 0.9;
    }
    .gradient-button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    .after-preview {
      width: 100%;
      border: 2px dashed #ccc;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      height: 450px;
    }
    #upscaledImg {
      max-width: 100%;
      max-height: 100%;
      display: none;
    }

    .try-another-btn {
      background: linear-gradient(90deg, #1abc9c, #9b59b6);
      color: #fff;
      border: none;
      border-radius: 6px;
      padding: 0.8rem 1.5rem;
      font-size: 1.1rem;
      cursor: pointer;
      transition: transform 0.2s, opacity 0.2s;
      margin-top: 1rem;
      min-width: 160px;
      text-align: center;
      display: inline-block;
      white-space: nowrap;
    }
    .try-another-btn:hover {
      transform: scale(1.02);
      opacity: 0.9;
    }