 body {
          font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
          background: var(--bs-body-bg);
          font-size: 14px;
      }

    .sos-header {
        color: #212529;
        transition: opacity 0.2s ease;
    }
    
    .sos-header:hover {
        opacity: 0.85;
    }
    
    
    
    .sos-logo {
        width: 58px;
        height: 58px;
        padding: 5px;
    
        background-color: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 14px;
    
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
        flex-shrink: 0;
    }
    
    .sos-logo img {
        max-width: 48px;
        max-height: 48px;
    
        width: auto;
        height: auto;
    
        object-fit: contain;
    }
    
    
    .sos-name {
        font-size: 21px;
        font-weight: 700;
        line-height: 1.2;
        color: #212529;
        letter-spacing: 0.3px;
    }
    
    .sos-subtitle {
        margin-top: 3px;
    
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
    
        color: #6c757d;
        letter-spacing: 0.3px;
    }
    
    
    @media (max-width: 576px) {
    
        .sos-logo {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            margin-right: 0.75rem !important;
        }
    
        .sos-logo img {
            max-width: 42px;
            max-height: 42px;
        }
    
        .sos-name {
            font-size: 18px;
        }
    
        .sos-subtitle {
            font-size: 11px;
        }
    }

      .card {
          --bs-card-border-radius: 1rem;
          --bs-card-inner-border-radius: calc(1rem - 1px);
          border: 0;
          box-shadow: var(--bs-box-shadow-sm);
      }
      .btn { --bs-btn-border-radius: .7rem; font-weight: 500; }
      .form-control, .form-select { border-radius: .7rem; }
      .form-control:focus, .form-select:focus {
          box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), .15);
      }

      .page-wrapper {
          position: relative;
          min-height: 100vh;
          display: flex;
          flex-direction: column;
          isolation: isolate;
          overflow: hidden;
      }
      .bg-scene {
          position: fixed;
          inset: 0;
          z-index: -1;
          pointer-events: none;
          overflow: hidden;
          background: linear-gradient(180deg, var(--bs-info-bg-subtle) 0%, var(--bs-body-bg) 100%);
      }
      .bg-scene .orb {
          position: absolute;
          border-radius: 50%;
          filter: blur(70px);
          animation: orb-float 18s ease-in-out infinite alternate;
      }
      .bg-scene .orb-1 {
          width: 420px; height: 420px;
          top: -140px; left: -100px;
          background: var(--bs-info);
          opacity: .22;
      }
      .bg-scene .orb-2 {
          width: 480px; height: 480px;
          bottom: 60px; right: -140px;
          background: var(--bs-primary);
          opacity: .14;
          animation-duration: 24s;
          animation-direction: alternate-reverse;
      }
      @keyframes orb-float {
          to { transform: translate(60px, 40px) scale(1.08); }
      }

      .bg-scene .cloud {
          position: absolute;
          left: 0;
          margin-left: 105vw;
          width: 120px;
          height: 34px;
          border-radius: 50px;
          background: var(--bs-body-bg);
          opacity: .85;
          animation: cloud-drift linear infinite;
      }
      .bg-scene .cloud::before,
      .bg-scene .cloud::after {
          content: "";
          position: absolute;
          border-radius: 50%;
          background: inherit;
      }
      .bg-scene .cloud::before { width: 56px; height: 56px; top: -26px; left: 18px; }
      .bg-scene .cloud::after  { width: 44px; height: 44px; top: -18px; left: 62px; }
      .bg-scene .cloud-1 { top: 12%; animation-duration: 80s; animation-delay: -20s; }
      .bg-scene .cloud-2 { top: 26%; width: 90px; height: 26px; animation-duration: 120s; animation-delay: -70s; opacity: .7; }
      .bg-scene .cloud-3 { top: 8%;  width: 150px; height: 40px; animation-duration: 100s; animation-delay: -55s; }
      @keyframes cloud-drift {
          from { margin-left: 105vw; }
          to   { margin-left: -300px; }
      }

      /* Lapisan paralaks: bukit jauh dan depot BBM */
      .bg-scene .parallax {
          position: absolute;
          left: 0;
          bottom: 0;
          width: 200%;
          display: flex;
          animation: parallax-left linear infinite;
          will-change: transform;
      }
      .bg-scene .parallax svg {
          display: block;
          flex: 0 0 50%;
          width: 50%;
          height: var(--layer-h);
      }
      .bg-scene .parallax.far {
          --layer-h: 150px;
          animation-duration: 110s;
          color: color-mix(in srgb, var(--bs-info) 20%, var(--bs-body-bg));
      }
      .bg-scene .parallax.near {
          --layer-h: 110px;
          animation-duration: 48s;
          color: color-mix(in srgb, var(--bs-info) 36%, var(--bs-body-bg));
      }
      @keyframes parallax-left {
          to { transform: translateX(-50%); }
      }

      @media (prefers-reduced-motion: reduce) {
          .bg-scene *,
          .bg-scene *::before,
          .bg-scene *::after { animation: none !important; }
          .bg-scene .cloud { margin-left: 0; }
          .bg-scene .cloud-1 { left: 18%; }
          .bg-scene .cloud-2 { left: 55%; }
          .bg-scene .cloud-3 { left: 78%; }
      }

     
      .app-header {
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          background: rgba(var(--bs-body-bg-rgb), .78);
          border-bottom: 1px solid var(--bs-border-color-translucent);
      }

   
      .success-check-wrap {
          width: 72px;
          height: 72px;
      }
      .success-check {
          width: 100%;
          height: 100%;
      }
      .success-check__circle {
          stroke: #16a34a;
          stroke-width: 2.5;
          stroke-dasharray: 151;
          stroke-dashoffset: 151;
          animation: circle-draw 0.5s ease-out forwards;
      }
      .success-check__mark {
          stroke: #16a34a;
          stroke-width: 3.5;
          stroke-linecap: round;
          stroke-linejoin: round;
          stroke-dasharray: 34;
          stroke-dashoffset: 34;
          animation: mark-draw 0.35s ease-out 0.45s forwards;
      }
      @keyframes circle-draw {
          to { stroke-dashoffset: 0; }
      }
      @keyframes mark-draw {
          to { stroke-dashoffset: 0; }
      }

      .ref-id-card {
          max-width: 280px;
          border: 1px solid #e2e8f0;
          border-radius: 12px;
          padding: 14px 18px;
          background: #f8fafc;
      }
      .ref-id-label {
          display: block;
          font-size: 0.72rem;
          color: #94a3b8;
          letter-spacing: 0.02em;
          margin-bottom: 4px;
      }
      .ref-id-value {
          display: flex;
          align-items: center;
          justify-content: center;
          gap: 10px;
      }
      .ref_id_text {
          font-family: 'SFMono-Regular', Consolas, monospace;
          font-size: 1.05rem;
          font-weight: 600;
          color: #1e293b;
          letter-spacing: 0.03em;
      }
      .btn-copy {
          border: none;
          background: transparent;
          color: #64748b;
          font-size: 1.05rem;
          line-height: 1;
          padding: 4px;
          border-radius: 6px;
          transition: background-color 0.15s ease, color 0.15s ease;
      }
      .btn-copy:hover {
          background-color: #e2e8f0;
          color: #334155;
      }
      .btn-copy .ri-check-line { display: none; color: #16a34a; }
      .btn-copy.copied .ri-file-copy-line { display: none; }
      .btn-copy.copied .ri-check-line { display: inline; }
      
    fieldset {
        min-width: 0;
        margin-top: 1rem;
        padding: 1rem 1rem 1.1rem;
        border: 1px solid var(--bs-border-color);
        border-radius: .75rem;
        background: rgba(var(--bs-body-bg-rgb), .6);
    }
    
    
    fieldset > legend {
        float: none;
        width: auto;
        margin: 0;
        padding: 0 .5rem;
        font-size: .9rem;
        font-weight: 600;
        color: var(--bs-body-color);
    }
    
    .form-control,
    .form-select,
    .input-group-text {
        font-size: .875rem;
    }
    .input-group-text {
        background: var(--bs-tertiary-bg);
    }
    .input-group-text label {
        font-size: .8125rem;
        font-weight: 500;
    }
    .form-label {
        font-size: .8125rem;
        color: var(--bs-secondary-color);
    }
    .error-text {
        font-size: .8125rem;
    }
    .form-check-input {
        cursor: pointer;
    }
    
    /* Baris produk yang dicentang diberi highlight */
    .input-group:has(.product-checkbox:checked) .input-group-text {
        background: var(--bs-primary-bg-subtle);
        border-color: var(--bs-primary-border-subtle);
        color: var(--bs-primary-text-emphasis);
    }
    
    .form-control[readonly],
    .form-select[readonly] {
        background-color: var(--bs-secondary-bg);
        color: var(--bs-secondary-color);
        opacity: 1;
        cursor: not-allowed;
    }
    .form-control[readonly]:focus,
    .form-select[readonly]:focus {
        border-color: var(--bs-border-color);
        box-shadow: none;
    }
    
    .form-select[readonly] {
        pointer-events: none;
    }