  body {
    background: #f8f6fc;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  }

  .app-card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    padding: 1.8rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.02);
  }

  .preset-btn {
    min-width: 100px;
    margin: 4px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.1s;
  }

  .preset-btn.active-preset {
    background: #2d1b3d;
    color: white;
    border-color: #2d1b3d;
    box-shadow: 0 4px 10px rgba(45, 27, 61, 0.2);
  }

  .crop-preview-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
  }

  #cropPreview {
    width: 100%;
    height: auto;
    border-radius: 18px;
    background: #e9e3f0;
  }

  .crop-overlay {
    position: absolute;
    border: 3px dashed #ff7b9c;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: all 0.05s;
    border-radius: 12px;
  }

  .size-badge {
    background: #f0ebf7;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #2d1b3d;
  }

  .upload-zone {
    border: 2px dashed #cfc3db;
    border-radius: 32px;
    padding: 2.5rem 1rem;
    background: #fcfaff;
    transition: 0.15s;
    cursor: pointer;
  }

  .upload-zone:hover {
    border-color: #8f7aa3;
    background: #f8f2ff;
  }

  .file-list-item {
    background: #f5f0fa;
    border-radius: 60px;
    padding: 8px 16px 8px 20px;
    margin: 6px 6px 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
  }

  .file-list-item:hover {
    background: #ece4f5;
  }

  .file-list-item .file-name {
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-crop-action {
    border-radius: 60px;
    padding: 10px 24px;
    font-weight: 600;
    background: #2d1b3d;
    color: white;
    border: none;
  }

  .btn-crop-action:hover {
    background: #1f112b;
    color: white;
  }

  .btn-outline-crop {
    border-radius: 60px;
    border: 1px solid #2d1b3d;
    color: #2d1b3d;
    background: transparent;
  }

  .btn-outline-crop:hover {
    background: #2d1b3d;
    color: white;
  }

  .lock-icon {
    cursor: pointer;
    color: #6b4d7a;
  }

  .lock-icon.locked {
    color: #2d1b3d;
  }

  #imageListContainer {
    max-height: 220px;
    overflow-y: auto;
  }

  .crop-handle {
    position: absolute;
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #ff7b9c;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    cursor: grab;
  }

  .crop-handle.nw {
    top: -9px;
    left: -9px;
    cursor: nw-resize;
  }

  .crop-handle.ne {
    top: -9px;
    right: -9px;
    cursor: ne-resize;
  }

  .crop-handle.sw {
    bottom: -9px;
    left: -9px;
    cursor: sw-resize;
  }

  .crop-handle.se {
    bottom: -9px;
    right: -9px;
    cursor: se-resize;
  }

  .aspect-label {
    font-size: 0.8rem;
    background: #e7dff0;
    padding: 2px 12px;
    border-radius: 30px;
  }

  #customWidth,
  #customHeight {
    border-radius: 40px;
    border: 1px solid #dad2e5;
    padding: 10px 16px;
    background: white;
  }

  #customWidth:focus,
  #customHeight:focus {
    border-color: #2d1b3d;
    box-shadow: 0 0 0 3px rgba(45, 27, 61, 0.15);
  }

  .badge-bulk {
    background: #d3c4e0;
    color: #1f112b;
  }

  .footer-credit {
    opacity: 0.5;
    font-size: 0.8rem;
  }

  .selected-file {
    border: 2px solid #2d1b3d !important;
    background: #e8def0 !important;
  }