      @font-face {
        font-family: "Inter";
        src: url("/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
        font-weight: 100 900;
        font-style: normal;
        font-display: swap;
      }

      :root {
        font-family: "Inter", sans-serif;
        color: #172033;
        background: #f4f7fb;
      }

      * {
        box-sizing: border-box;
      }

      body {
        margin: 0;

        display: grid;
        grid-template-columns: 7fr 2fr;
        justify-items: center;
        z-index: 1;
        align-items: center;
        background: linear-gradient(45deg, #E94584, #24AADB, #27DBB1, #FFDC18, #FF3706);
        background-size: 600% 100%;

      }


      @keyframes gradient {
        0% {
          background-position: 0% 50%;
        }

        50% {
          background-position: 100% 50%;
        }

        100% {
          background-position: 0% 50%;
        }
      }

      main,
      .options {
        width: min(640px, 100%);
        padding: 32px 32px;
        padding-bottom: 32px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(20, 10, 30, 0.45);
        position: relative;
        margin: 24px;
        height: fit-content;
        transform: translateX(2%);

      }




      h1 {
        margin: 0 0 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-direction: column;

      }

      h1 .title {
        font-size: 1.9rem;
        font-weight: 600;
        word-spacing: 1.5px;
        line-height: 1.2;
        color: #fff;
        text-align: center;
      }

      h1 svg {
        width: 52px;
        height: 52px;
        padding-bottom: 1px;
      }

      p {
        transform: translateX(-2em);
        display: flex;
        justify-content: end;
        margin-top: 0;
        padding-top: 0;
        color: #667792;
        margin-bottom: 28px;
        font-size: 0.9rem;
      }

      .disabled {
        opacity: 0.5;
        pointer-events: none;
      }

      button {
        border: 0;
        border-radius: 8px;
        user-select: none;
        margin-bottom: 5px;
        padding: 10px 22px;
        color: #fff;
        background-color: rgb(23, 134, 224);
        cursor: pointer;
        font-size: 1.1rem;
        letter-spacing: 0.8px;
        font-weight: 600;
        width: 100%;
      }

      .inputContainer {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin-top: 3em;
        margin-bottom: 3.5em;
      }

      #urlInput::placeholder,
      #nameInput::placeholder {
        color: #fff;
        opacity: 0.4;
      }

      #urlInput,
      #nameInput {
        width: 100%;
        padding: 12px 20px;
        color: #fff;
        font-family: "Inter", sans-serif;
        background-color: rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        margin-bottom: 18px;
        border-radius: 8px;
        border: 0;
        outline: none;
        text-align: center;

      }

      #urlInput:focus,
      #nameInput:focus {
        outline: 1px solid #4f46e5 !important;
        outline-offset: 0;

        box-shadow: 0 0 3px 3px #4e46e542;
      }

      label[for="urlInput"],
      label[for="nameInput"] {
        font-size: 0.8rem;
        font-weight: 600;
        color: #fff;
        margin-bottom: 8px;
      }




      .urlInput-success {

        outline: 1px solid #16a34a !important;
        outline-offset: 0;
        box-shadow: 0 0 5px 3px #16a34a43;
      }

      .nameInput-success {

        outline: 1px solid #16a34a !important;
        outline-offset: 0;
        box-shadow: 0 0 5px 3px #16a34a43;
      }

      .nameInput-error {

        outline: 1px solid #e62727 !important;
        outline-offset: 0;
        box-shadow: 0 0 3px 3px #e627274c;
      }

      .urlInput-error {
        outline: 1px solid #e62727 !important;
        outline-offset: 0;
        box-shadow: 0 0 3px 3px #e627274c;
      }

      .buttonContainer {
        display: flex;
        justify-content: center;
        align-items: center;

      }

      .buttonContainer svg {
        margin-right: 0.6rem;
        width: 1.4rem;
        height: 1.4rem;
        transform: translateY(-1px);
      }

      button:hover {
        opacity: 0.8;
      }

      button:active {
        opacity: 0.6;
      }

      #status {
        min-height: 24px;
        margin-top: 1rem;
        font-weight: 600;
        font-size: 0.9rem;

        display: flex;
        justify-content: center;
        color: #fff;
      }

      .statusContainer {

        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        position: relative;
        padding: 0 2px;
      }

      .loader {
        width: 20px;
        height: 20px;
        border: 3px solid #ddd;
        border-top-color: #333;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        margin-top: 10px;

      }

      .hidden {
        display: none !important;
      }

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }

      .radio-group {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
        margin-top: 0.2rem;
      }

      .card {
        width: 100%;
        margin-top: 1em;

      }

      .radio-group input[type="radio"] {
        display: none;
      }

      .radio-group label {
        font-size: 0.9rem;
        font-weight: 500;
      }


      .radio-group .option-label {

        color: #64748B;
        padding: 6px 14px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        user-select: none;
        border: 1px solid transparent;
        border-color: #64748B;
      }


      .radio-group .option-label:hover {

        background-color: #18ff88c8;

        border: 1px solid #18ff88c8;
        color: #fff !important;
      }


      .radio-group .option-label svg {
        width: 1.2rem;
        height: 1.2rem;
        margin-right: 0.4rem;

      }


      .radio-group input[type="radio"]:checked+.option-label {
        color: #18ff88c8;
        border: 1px solid #18ff88c8;
        box-shadow: 0 0 1px 1px #18ff88c8;
        font-weight: 600;
      }

      .reset {
        position: absolute;
        right: 3em;
        width: 2em;
        display: flex;
        border-radius: 8px;
        padding: 6px 10px;
        cursor: pointer;
        background-color: #4078c2;
      }

      .reset:hover {
        background-color: #35484ac7;
      }

      .sidebar {
        width: min(640px, 100%);

        scrollbar-gutter: stable;
        background: rgba(0, 0, 0, 0.6);
        height: 100vh;

        padding-left: 1em;

        padding-top: 1em;
        word-break: normal;
        overflow-y: scroll;
        overflow-x: visible;
      }

      .sidebar-list {
        list-style: none;
        padding: 0;
        margin: 0;

      }

      .item {

        width: 100%;
        background-color: rgba(255, 255, 255, 0.1);

        padding: 1.2em;
        margin-bottom: 1em;
        font-size: 0.7rem;
        display: flex;
        gap: 10px;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 12px 35px rgba(23, 32, 51, 0.1);
        flex-wrap: wrap;
        position: relative;
      }

      .item-name,
      .item-timestamp,
      .item-category,
      .item-url,
      .item-output-path,
      .item-source-path,
      .item-status {
        color: #fff;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        padding: 0.5em;
        border-radius: 8px;
        box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.4);

      }

      .item-url,
      .item-output-path,
      .item-source-path {
        word-break: break-all;
        overflow-wrap: anywhere;

      }

      .item-name,
      .item-category,
      .item-timestamp,
      .item-status {
        width: calc(50% - 10px);
        display: flex;
        flex-direction: column;
      }

      #nameDisplay,
      #categoryDisplay,
      #timestampDisplay,
      #statusDisplay {
        line-height: 1.6em;
        text-align: center;
      }

      .item-id {

        background-color: rgba(255, 255, 255, 1);
        color: #000000;

        width: 2.5em;
        position: absolute;
        height: 2.5em;
        left: -1.5em;
        top: -0.5em;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1em;
        font-weight: 600;
        border-radius: 10px;
        border-right: 0px;
        transform: rotate(25deg);

      }

      .sidebar-header {
        width: 100%;
        background: linear-gradient(45deg, #24aadbbf, #18ff88c8, #24aadbbf, #27dbb1bf);
        padding: 0 1.4em;
        padding-right: 1em;
        display: flex;
        justify-content: space-between;
        margin-bottom: 1.5em;
        font-size: 0.8rem;
        align-items: center;
        position: sticky;
        top: 0;
        color: #fff;
        background-size: 600% 100%;

        animation: gradient 10s ease infinite;
        border-radius: 8px;
        box-shadow: 0 12px 35px rgba(23, 32, 51, 0.1);
        z-index: 9999999;
      }

      .sidebar-header-menu {
        cursor: pointer;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);

        width: 3em;
        height: 3em;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;

      }



      .sidebar-header-menu:hover {
        opacity: 0.8;
      }

      .sidebar-header-menu:active {
        opacity: 0.6;
      }

      input[type="checkbox"] {
        position: absolute;
        width: 3em;
        height: 3em;
        z-index: 9999;
        opacity: 0;
      }

      .options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        transform: scale(0);
        flex-wrap: wrap;
        gap: 1.2em;
        width: 80%;
        height: 60vh;
        background: rgba(0, 0, 0, 0.4);
        padding: 2.4em 1.5em;
      }

      .options .options-menu {
        display: flex;

        padding: 1.2em 1.5em;

        gap: 1.2em;
        width: 45% !important;
        flex-wrap: wrap;
      }

      .options .options-log {


        width: 45%;
        background-color: rgba(255, 255, 255, 0.1);
        height: 45vh;
        border-radius: 8px;
        display: flex;
        flex-direction: column;

      }

      .log-header {

        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        font-weight: 600;
        color: #fff;
        padding: 0.8em 1em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.1);
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        width: 100%;
      }

      input[type="checkbox"]:not(:checked)~.main {
        opacity: 1;
        visibility: visible;
        position: relative;
        transform: scale(1);
      }

      body:has(input[type="checkbox"]:checked) .options,
      input[type="checkbox"]:checked~.close {
        opacity: 1;
        visibility: visible;
        position: relative !important;
        transform: scale(1);

      }

      body:has(input[type="checkbox"]:checked) .main,
      input[type="checkbox"]:checked~.menu,
      input[type="checkbox"]:not(checked)~.close {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        transform: scale(0);

      }





      .options .deleteone,
      .options .deleteall,
      .options .cleardata,
      .options .movedata,
      .options .clearlog ,
      .options .removerecent {
        padding: 0.6em 0.8em;
        font-size: 0.8rem !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 1em;
        border-radius: 7px;
        box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.1);
      }



      .options .deleteone {

        user-select: none;
        margin-bottom: 5px;
        padding: 10px 22px;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.8px;
        font-weight: 600;

        background-color: rgb(202, 182, 32);
        color: #fff;
      }

      .options .deleteone svg,
      .options .deleteall svg,
      .options .cleardata svg,
      .options .movedata svg,
      .options .clearlog svg,
      .options .removerecent svg {

        margin-right: 0.7em;

      }

      .options .deleteall {
        width: 50%;
        user-select: none;
        margin-bottom: 5px;
        padding: 10px 22px;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.8px;
        font-weight: 600;

        background-color: rgb(208, 61, 61);
        color: #fff;
      }

      .options .deleteall:hover,
      .options .deleteone:hover,
      .options .cleardata:hover,
      .options .movedata:hover,
      .options .clearlog:hover,
      .options .removerecent:hover {
        opacity: 0.8;
      }

      .options .deleteall:active,
      .options .deleteone:active,
      .options .cleardata:active,
      .options .movedata:active,
      .options .clearlog:active,
      .options .removerecent:active {
        opacity: 0.6;
      }

      .deleteone-active {
        background-color: rgba(208, 191, 61, 0.1) !important;
        color: rgb(208, 191, 61) !important;
        border: 1px solid rgb(208, 191, 61) !important;
      }

      .options .cleardata {

        user-select: none;
        margin-bottom: 5px;
        padding: 10px 22px;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.8px;
        font-weight: 600;

        background-color: #16a34a;
        color: #fff;
      }

      .options .movedata {

        user-select: none;
        margin-bottom: 5px;
        padding: 10px 22px;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.8px;
        font-weight: 600;

        background-color: rgb(113, 90, 195);
        color: #fff;
      }

      .options .clearlog {

        user-select: none;
        margin-bottom: 5px;
   
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.8px;
        font-weight: 600;

        background-color: rgb(208, 127, 61);
        color: #fff;

      }
     .options .removerecent {

        user-select: none;
        margin-bottom: 5px;
        padding: 10px 22px;
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 0.8px;
        font-weight: 600;

        background-color:  rgb(61, 142, 208);
        color: #fff;

      }
      .log-content {
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0.8em 1em;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        font-size: 0.8rem;
        color: #fff;
        display: flex;
        flex-direction: column;
      }

      ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
      }

      ::-webkit-scrollbar-track {
        background: transparent;
      }

      ::-webkit-scrollbar-thumb {
        background-color: #64748b;
        border-radius: 9999px;
      }

      ::-webkit-scrollbar-thumb:hover {
        background-color: #5e6672;
      }

      * {
        scrollbar-width: thin;
        scrollbar-color: #7e858e transparent;
      }

      .log-line {
        color: oklch(92.291% 0.02393 262.14);
        font-size: 0.9em;
        padding: 0.4em;
        overflow-wrap: break-word;
      }

      .log-timestamp {
        color: oklch(75.776% 0.03622 261.955);
        font-size: 0.8em;
        padding-right: 0.7em;
        line-height: 1.5em;
      }

      @media (max-width: 768px) {
        h1 .title {
          font-size: 1.4rem;
        }

        p {
          transform: translateX(1em);
        }

        main,
        .options {
          width: 100%;
          transform: translateX(0%);
          margin: 0;
          border-radius: 0;
          padding-top: 1.5em;
          min-height: 88dvh !important;
        }


        .sidebar {
          width: 100%;
          height: 90dvh;
          padding-left: 0.5em;
          padding-right: 0.5em;
          box-sizing: border-box;

          border-top: rgba(0, 0, 0, 0.4) 1px solid;
          overflow-y: auto;
          overflow-x: hidden;

          transition: all 1s ease-in-out;
          z-index: 1000;
        }

        .options {
          width: 100%;

          padding: 1em;
          box-sizing: border-box;
          flex-direction: column;
          flex-wrap: nowrap;
          margin: 0;
          justify-content: center;
          align-items: center;

        }

        .options .options-menu {
          width: 100% !important;
        }

        .options .options-log {
          width: 100%;
          height: 45dvh;

        }

        .options .deleteone,
        .options .deleteall,
        .options .cleardata,
        .options .movedata,
        .options .clearlog,
        .options .removerecent {
          width: fit-content;
          font-size: 0.6rem !important;
          padding: 0.6em 1em;
        }

        .options .deleteone svg,
        .options .deleteall svg,
        .options .cleardata svg,
        .options .movedata svg,
        .options .clearlog svg,
        .options .removerecent svg {
          width: 0.9rem;
        }

        .sidebar.expanded {
          top: 0;
          bottom: auto;
          height: 100dvh;
          position: fixed;
          bottom: 0;
          left: 0;
          background: linear-gradient(90deg, #5a3251, #0E4854);
          background-size: 300% 100%;
          padding-bottom: 16em;
        }

        body {
          display: flex;
          flex-direction: column;
          height: 100dvh;
        }

        #status {
          text-align: center;
          font-size: 0.8rem;
          padding: 0.4em 0.8em;
        }

        .item-id {
          left: -0.8em;
          top: -0.8em;
          width: 2.1em;
          height: 2.1em;
        }
      }

      .more-options {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
      }

      .more-options svg {
        width: 1.2rem;
        height: 1.2rem;
        color: #ffffff67;
      }

      .more-options:hover svg {
        color: #ffffff;
      }

      .more-options:active svg {
        color: #ffffffa1;
      }