
    :root{
        --border: #d8d8d885;
        --body: #ffffff;
        --text: #313131;
        --bodyLoading: #080808;
        --card: #f5f5f5;
        --primary: #b83a2e;
        /* --primary: #77c2f1; */
        --footer: #363b3c;
        --dotted: #313131;
        --disabledClr: #d8d8d885;
      }

    .theme-dark {
      --border: #d8d8d818;
      --body: #171717;
      --text: rgb(240, 240, 240);
      --bodyLoading: #080808;
      --card: #d9d9d9;
        --footer: #d1d3d4;
      --primary: #5b92eb;
      --dotted: #444cf7;
      --transparancy: 1;
        --disabledClr: #d8d8d843;
    }
        body, html {
          background: var(--body);
           transition: background-color 0.3s, color 0.3s;
        }
    body{
         
      font-family: "Poppins", sans-serif;
        margin: 0;
    }
    .menu
    svg{
      color: var(--primary);
    }

    /* Switch styling */
    .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }

    .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: #ccc;
      transition: .4s;
      border-radius: 34px;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 26px; width: 26px;
      left: 4px; bottom: 4px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    } 

        input:checked + .slider {
      background-color: var(--primary);
    }

    input:checked + .slider:before {
      transform: translateX(26px);
    }
    #content {
      font-family: "Poppins", sans-serif;
      color: #3a3a3a;
    }
 
    @keyframes fadeIn {
      from {opacity: 0;}
      to {opacity: 1;}
    }

    /* Animasi slide ke atas dan fade out */
    @keyframes slideUpFadeOut {
      0% {
        opacity: 1;
        transform: translateY(0);
      }
      100% {
        opacity: 0;
        transform: translateY(-100%);
      }
    }
    .icon-link{
      width: 26px;
      height: 26px;
      color: var(--primary);
    }
    .icon-link:hover{
      border: 1px solid var(--primary);
      transition: all 1s ease;
      border-radius: 8px;
    }
   .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    /* background: #eee; */
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--border);
  }

  .header-logo {
    color: var(--text);
    font-weight: bold;
    font-size: 1.5rem;
  }

  @media (max-width: 650px) {
    .header-logo {
      display: none;
    }
  }
  .menu-toggle {
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    color: var(--text);
  }

  .fullscreen-menu {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease;

    z-index: 9999;
  }

  .fullscreen-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .fullscreen-menu a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }


  .main{
    margin: 0 auto; 
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 2.3rem;
    padding: 6rem 1rem 0;
    justify-content: center; 
  }
  
.footer{
   margin: 0 auto; 
    display: flex;
    justify-content: center;
}
  @media (max-width: 600px) {
    .menu-toggle {
      display: block;
    }
    .header-menu {
      display: none; 
    }
   
  }
  @media (max-width: 800px) {
    .main{
      
    flex-direction: column;
    }
    
  }
  .header-menu a {
    font-family: "Poppins", sans-serif;
    font-style: unset;
    color: var(--text);
    text-decoration: none;
    opacity: 0.8;
    padding: 4px 8px;
    border-radius: 3px;
  }
  .setting{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .3rem 0rem;
  }
  hr {
  border: none;
  height: 1px;
  background-color: var(--text);
  margin: 0.5rem 0;
  opacity: 0.1;
}
  .header-menu a:hover {
    opacity: 1;
    background-color: #d9d9d91b;
    transition: all 0.3s ease;
  }
  .preview {
    height: auto;
    pointer-events: none;
    background: var(--card); 
    background-image: radial-gradient(var(--dotted) 0.5px, var(--card) 0.5px);
    background-size: 10px 10px;
    display: flex; 
    align-items: end;
    font-size: 2rem;
    padding: 1.5rem 0px;
    color: #333;
    border-radius: 0.5rem;
    /* overflow-y: auto;
    overflow-x: hidden; */
    overflow: visible;
    position: relative;
  }
  #timestamp{
    display: none;
  }
  /* @media screen and (max-width: 800px) {
    .preview {
    width: 720px;
    }
    
  }
  @media screen and (max-width:635px) {
    .preview {
    width: 560px;
    }
    
  } */
   .menu-footer{
    gap: 0.5rem;
    display: flex;
    flex-direction: column;
   }
  .title-menu{
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 0.2rem;
    opacity: 0.8;
    font-weight: 600;
  }
  .group-setting {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    font-size: 18px;
  }
  
.custom-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-mark {
  width: 22px;
  height: 22px;
  border: 2.5px solid var(--primary);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.radio-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s ease;
}

.custom-radio input[type="radio"]:checked + .radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}

.custom-radio:hover .radio-mark {
  border-color: #999999;
}
.custom-radio {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  gap: 10px;
  color: var(--text);
  font-weight: 400;
}
.title-menu,
h1{
  color: var(--text);
}
.radio-group{
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.generate-button {
    background-color: var(--primary);
    display: flex;
    width: 100%;
    justify-content: center;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-family: "Doto", sans-serif;
    opacity: 0.9;
}
.generate-button:hover {
 
    opacity: 1;
    box-shadow: 0px 0px 6px rgba(223, 223, 223, 0.484);
    transition: all 0.3s ease;
}
.menu-list{
  padding: 0.5rem 8px;
  border-radius: 8px;
  margin: 8px auto;
}
.menu-list[disabled]{
  pointer-events: none;
  background-color: var(--disabledClr);
  border: 1px solid var(--border);
}
.menu{
  overflow: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.content{
  flex: 1;
}
.footer {
  font-weight: 500;
  color: var(--footer);
  opacity: 0.8;
  zoom: 0.8;
}
  
small{
  font-size: 0.8rem;
  color: var(--footer);
  font-weight: 400;
}
.setting a,
.footer a{
  color: var(--primary);
  text-decoration: none;
}
.setting a:hover,
.footer a:hover{
  opacity: 1;
  text-decoration: underline;
  transition: all 0.3s ease;
}
.code-area{
  border: solid var(--border) 1px;
  padding: 4px 0px 0px;
  border-radius: 20px;
  position: relative;
}

.copy-button{
  position: absolute;
  left: 10px;
  top: 10px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-color: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0.8;
}

.copy-button:hover{
  opacity: 1;
  box-shadow: 0px 0px 6px rgba(223, 223, 223, 0.484);
  transition: all 0.3s ease;
}
.copy-button > svg{
  color: var(--primary);
}
button{
  border: none;
}
.code-input{
   width: 100%;
  box-sizing: border-box;
  resize: vertical;
  border: none;
  color: var(--primary);
  font-family: 'Courier New', Courier, monospace;
  margin: 2px;
  border-radius: 8px;
  background-color: transparent;
}
.code-input:focus {     
  outline: none;
    border: none;
}
select {
  padding: 10px 12px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background-color: #fff;
  font-size: 16px;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  cursor: pointer;
}

select:focus {
  outline: none;
  border-color: var(--text);
  /* box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2); */
}

textarea {
  width: 100%;
  height: 120px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: monospace;
  font-size: 14px;
  resize: vertical;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: var(--primary);
}
