    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }
    
    :root {
      --primary: #003d99;
      --primary-light: #1e5fd9;
      --primary-soft: #e8f0fe;
      --sec: #1e62c9;
      --accent: #00a676;
      --light-gray: #f9fafc;
      --medium-gray: #eef2f6;
      --border-color: #dde3e9;
      --text-dark: #1a2639;
      --text-muted: #54657e;
      --white: #ffffff;
      --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 61, 153, 0.05);
      --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 61, 153, 0.02);
      --radius: 20px;
      --radius-sm: 14px;
    }
    
    body {
      background-color: var(--light-gray);
      color: var(--text-dark);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      transition: background-color 0.2s;
    }
    
    /* dark mode variables */
    body.dark {
      --light-gray: #1a2634;
      --medium-gray: #2a3647;
      --border-color: #3f4b5d;
      --text-dark: #edf2f9;
      --text-muted: #a6b7ce;
      --white: #1e2a3a;
      --primary-soft: #1f3b5c;
      background-color: #131c2b;
    }
    
    .app-header {
      background: var(--primary);
      color: white;
      padding: 1.2rem 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom-left-radius: 30px;
      border-bottom-right-radius: 30px;
      box-shadow: 0 6px 14px rgba(0, 61, 153, 0.25);
    }
    
    .app-header h1 {
      font-size: 1.8rem;
      font-weight: 600;
      letter-spacing: -0.3px;
    }
    
    .header-actions {
      display: flex;
      align-items: center;
      gap: 1.5rem;
    }
    
    .menu-icon {
      width: 30px;
      height: 30px;
      cursor: pointer;
      filter: brightness(0) invert(1);
    }
    
    /* toggle switch */
    .NightDayswitch {
      position: relative;
      display: inline-block;
      width: 70px;
      height: 32px;
    }
    
    .NightDayswitch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    
    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #b3daf5;
      transition: 0.3s;
      border-radius: 40px;
      display: flex;
      align-items: center;
      padding: 0;
    }
    
    .theme-icon {
      height: 35px;
      width: 35px;
      border-radius: 50%;
      background: white;
      transition: transform 0.3s;
      object-fit: cover;
    }
    
    input:checked+.slider .theme-icon {
      transform: translateX(36px);
    }
    
    /* main container */
    .upload-container {
      max-width: 700px;
      margin: 2.5rem auto;
      padding: 0 1.5rem;
      width: 100%;
    }
    
    .card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow-md);
      padding: 2.2rem 2rem;
      transition: background 0.2s;
      border: 1px solid var(--border-color);
    }
    
    .card-header {
      margin-bottom: 2rem;
    }
    
    .card-header h2 {
      font-size: 1.9rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.3rem;
    }
    
    .card-header p {
      color: var(--text-muted);
      font-size: 1rem;
    }
    
    .form-grid {
      display: flex;
      flex-direction: column;
      gap: 1.6rem;
    }
    
    .input-field {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .input-field label {
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text-dark);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .input-field label i {
      color: var(--primary);
      width: 20px;
    }
    
    .input-field input,
    .input-field select,
    .input-field textarea {
      background: var(--light-gray);
      border: 1.5px solid var(--border-color);
      border-radius: var(--radius-sm);
      padding: 0.9rem 1.2rem;
      font-size: 1rem;
      color: var(--text-dark);
      transition: 0.15s;
      outline: none;
      width: 100%;
    }
    
    .input-field input:focus,
    .input-field select:focus,
    .input-field textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 61, 153, 0.15);
    }
    
    textarea {
      resize: vertical;
      min-height: 100px;
    }
    
    /* price double input (range + number) */
    .price-group {
      display: flex;
      align-items: center;
      gap: 1.2rem;
      flex-wrap: wrap;
    }
    
    .price-group input[type="range"] {
      flex: 2;
      min-width: 200px;
      padding: 0;
      height: 8px;
      background: var(--medium-gray);
      border-radius: 20px;
      -webkit-appearance: none;
    }
    
    .price-group input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 22px;
      height: 22px;
      background: var(--primary);
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 2px 10px rgba(0, 61, 153, 0.4);
    }
    
    .price-group input[type="number"] {
      width: 120px;
      text-align: center;
      font-weight: 600;
    }
    
    .price-hint {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-top: 0.2rem;
    }
    
    /* file upload area */
    .file-area {
      background: var(--primary-soft);
      border: 2px dashed var(--primary);
      border-radius: var(--radius-sm);
      padding: 2rem 1.5rem;
      text-align: center;
      transition: 0.2s;
      cursor: pointer;
      margin-top: 0.5rem;
    }
    
    .file-area:hover {
      background: rgba(0, 61, 153, 0.05);
    }
    
    .file-area i {
      font-size: 2.8rem;
      color: var(--primary);
      margin-bottom: 0.6rem;
    }
    
    .file-area .file-name {
      font-weight: 600;
      color: var(--primary);
      margin-top: 0.8rem;
      word-break: break-word;
    }
    
    .file-info {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-top: 0.3rem;
    }
    
    input[type="file"] {
      display: none;
    }
    
    /* checkbox row */
    .checkbox-field {
      display: flex;
      align-items: left;
      gap: 0.8rem;
      margin-top: 0.2rem;
    }
    
    .checkbox-field input[type="checkbox"] {
      width: 20px;
      height: 20px;
      accent-color: var(--primary);
      cursor: pointer;
    }
    
    .checkbox-field label {
      font-weight: 500;
      cursor: pointer;
    }
    
    .action-buttons {
      display: flex;
      gap: 1.2rem;
      margin-top: 2rem;
      flex-wrap: wrap;
    }
    
    .btn {
      padding: 1rem 2rem;
      border-radius: 50px;
      font-weight: 700;
      font-size: 1.1rem;
      border: none;
      cursor: pointer;
      transition: 0.15s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex: 1 1 auto;
    }
    
    .btn-primary {
      background: var(--primary);
      color: white;
      box-shadow: 0 8px 16px -6px rgba(0, 61, 153, 0.4);
    }
    
    .btn-primary:hover {
      background: #002b70;
      transform: scale(1.02);
    }
    
    .btn-outline {
      background: transparent;
      border: 2px solid var(--primary);
      color: var(--primary);
    }
    
    .btn-outline:hover {
      background: var(--primary-soft);
    }
    
    .footer-note {
      text-align: center;
      margin-top: 2rem;
      color: var(--text-muted);
      font-size: 0.9rem;
    }
    
    /* Loading & alert from original */
    #Loading {
      position: fixed;
      top: 0px;
      left: 0px;
      height: 100vh;
      width: 100vw;
      z-index: 4;
      background: #f8f9fade;
      margin: auto;
      display: none;
    }
    
    .osari-loading {
      display: grid;
      justify-content: center;
      align-items: center;
      height: 100%;
      background: #f8f9fa;
      font-family: "Arial", sans-serif;
    }
    
    .osari-loader {
      text-align: center;
      max-width: 300px;
      padding: 40px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 134, 197, 0.1);
      background: white;
    }
    
    .osari-logo {
      color: #0086c5;
      font-size: 32px;
      font-weight: 700;
      margin-bottom: 20px;
      letter-spacing: 1px;
    }
    
    .osari-spinner {
      width: 60px;
      height: 60px;
      margin: 0 auto 25px;
      position: relative;
    }
    
    .osari-spinner-ring {
      display: block;
      width: 100%;
      height: 100%;
      border: 5px solid rgba(0, 134, 197, 0.2);
      border-top: 5px solid #0086c5;
      border-radius: 50%;
      animation: osari-spin 1.2s linear infinite;
      box-shadow: 0 2px 10px rgba(0, 134, 197, 0.15);
    }
    
    .osari-spinner-core {
      position: absolute;
      width: 24px;
      height: 24px;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #0086c5;
      border-radius: 50%;
      animation: bounce 0.8s infinite alternate;
      box-shadow: 0 2px 10px rgba(0, 134, 197, 0.3);
    }
    
    @keyframes bounce {
      0% {
        transform: translateX(0) translateY(0) scale(1, 1);
        animation-timing-function: ease-in;
      }
      
      35% {
        transform: translateX(6px) translateY(-30px) scale(1.1, 0.9);
        animation-timing-function: ease-out;
      }
      
      65% {
        transform: translateX(-22px) translateY(0) scale(1, 1);
        animation-timing-function: ease-in;
      }
      
      90% {
        transform: translateX(10px) translateY(-10px) scale(1.05, 0.95);
        animation-timing-function: ease-out;
      }
      
      100% {
        transform: translateX(0) translateY(0) scale(1, 1);
        animation-timing-function: ease-in;
      }
    }
    
    .osari-text {
      color: #555;
      font-size: 16px;
      margin-top: 20px;
      position: relative;
    }
    
    .osari-text:after {
      content: "...";
      position: absolute;
      animation: osari-dots 1.5s steps(5, end) infinite;
    }
    
    @keyframes osari-spin {
      0% {
        transform: rotate(0deg);
      }
      
      100% {
        transform: rotate(360deg);
      }
    }
    
    @keyframes osari-dots {

      0%,
      20% {
        content: ".";
      }
      
      40% {
        content: "..";
      }
      
      60%,
      100% {
        content: "...";
      }
    }
    
    .osari-progress {
      width: 100%;
      height: 6px;
      background: rgba(0, 134, 197, 0.1);
      border-radius: 3px;
      margin-top: 30px;
      overflow: hidden;
    }
    
    .osari-progress-bar {
      height: 100%;
      width: 30%;
      background: linear-gradient(90deg, #0086c5, #00a1f0);
      border-radius: 3px;
      animation: osari-progress 2s ease-in-out infinite;
    }
    
    @keyframes osari-progress {
      0% {
        transform: translateX(-100%);
      }
      
      100% {
        transform: translateX(300%);
      }
    }
    
    body.dark .osari-loader {
      background: #1e2a3a;
    }
    
    body.dark .osari-loading {
      background: #1a2634;
    }
    
    body.dark .osari-logo {
      color: #fff;
    }
    
    body.dark .osari-text {
      color: #ccc;
    }
    
    body.dark .osari-spinner-ring {
      border-top: 5px solid #fff;
      border-color: rgba(255, 255, 255, 0.2);
    }
    
    body.dark .osari-spinner-core {
      background-color: #fff;
    }
    
    body.dark .osari-progress-bar {
      background: linear-gradient(90deg, #f0faff, #c9e4f1);
    }