#logo {
    text-align: center;
    margin-bottom: 20px;
    white-space: nowrap;
	padding-bottom: 50px;
	
}
#logo img {
    vertical-align: middle;
    display: inline-block;
}
#logo .logo-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
    font-size: 45px;
	font-family: 'Roboto', sans-serif;
	
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
	font-family: 'Segoe UI', sans-serif;
     background-color: #2E303D;
     color: #FFFFFF;
     padding: 20px;
}

.wrapper {
      max-width: 1000px;
      margin: 0 auto;
    }


.Input {
  width: 100%;
  padding: 10px;
  border-radius: 2px;
  border: 0px;
  background-color: #282A36;
  color: #FFFFFF;
  box-sizing: border-box;
  transition: height 0.2s ease;
  resize: none;
  overflow-y: hidden;
  box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
  word-break: break-all;
  min-height: 36px;
}

.Output {
		
      width: 100%;
      height: 200px;
      padding: 10px;
      border-radius: 2px;
      border: 0px;
      background-color: #282A36;
      color: white;
      resize: vertical;
      box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
	  word-break: break-all;
    }

textarea:focus { outline: 1px solid #6D4AFF; }
::placeholder { color: #ADB5BD; }

button {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;	
  align-items: center;
  justify-content: center;
  background: #6D4AFF;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
  font-family: inherit;
  font-size: inherit;
  line-height: normal;
  min-height: 40px;
  width: 100%;
}

#link {
 color: #6D4AFF;
}

button:hover, .custom-file-upload:hover {
  background: #7F66FF;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

    .download-btn {
	display: inline-block; 
 margin: auto;
		max-width:90%;
      background: #6D4AFF;
    }

    .download-btn:hover {
      background: #7F66FF;
    }

.button-container {
  text-align: center; 
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.file-list, .result {
	  margin:auto;
	  max-width: 650px;
      background: #3A3C4C;
      padding: 15px;
      border-radius: 2px;
      margin-top: 15px;
	  margin-bottom: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      overflow: auto;
    }
.hidden, .hidden-input, .radio, br.mobile-only {
     display:none;
    }

.rule-options {
    margin-top: 15px;
    padding: 12px;
    background: #343545;
    border-radius: 4px;
    text-align: left;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rule-options-title {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.rule-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 6px;
}

.rule-option input[type="radio"] {
    accent-color: #6D4AFF;
}

h1 {
      text-align: center;
      font-weight: 600;
      font-size: 28px;
      margin-bottom: 25px;
      text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    }
.radio-fakeradio {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin: auto;
  margin-top: 10px;
  border-radius: 50%;
  border: 1px solid #adaba8; 
  background-color: #ffffff; 
  color: #0c0c14; 
  transition: 0.15s cubic-bezier(0.33, 1, 0.68, 1);
  transform: scale(0.85);
  cursor: pointer; 
}
.radio-fakeradio:before {
  content: "";
  width: 0.7142857143em;
  height: 0.7142857143em;
  border-radius: 50%;
  background: transparent;
  transform: scale(0);
  transition: 0.15s cubic-bezier(0.33, 1, 0.68, 1), 0.15s transform cubic-bezier(0.34, 1.56, 0.64, 1);
}
.radio:hover + .radio-fakeradio {
  border-color: #6d4aff;
}
.radio:checked + .radio-fakeradio:before {
  transform: scale(1);
  background-color: #6d4aff; 

}

.infobtn {
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    width: 650px;
    max-width: 700px; 
    margin: 0 auto; 

}



#warpButton {
	width: 100%;
    max-width: 400px;
    margin: 10px auto;
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
	background: linear-gradient(90deg, #eeac43, #f15874)
}

#warpButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#errorModal button {
    background: #6D4AFF;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    color: white;
    cursor: pointer;
}

#errorModal button:hover {
    background: #7F66FF;
}

.switch { 
    text-align: center; 
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

.toggle {
  display: inline-block;
  padding-top: 5px;
  margin-bottom:-5px;
      user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.toggle-switch {
  cursor: pointer;
  display: inline-block;
  background: #282A36;
  border-radius: 16px;
  width: 58px;
  height: 32px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
  scale:80%;
}
.toggle-switch:before, .toggle-switch:after {
  content: "";
}
.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  width: 24px;
  height: 24px;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: left 0.25s;
}
.toggle:hover .toggle-switch:before {
  background: linear-gradient(to bottom, #fff 0%, #fff 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.toggle-checkbox:checked + .toggle-switch {
  background: #6D4AFF;
}
.toggle-checkbox:checked + .toggle-switch:before {
  left: 30px;
}

.toggle-checkbox {
  position: absolute;
  visibility: hidden;
}

.toggle-label {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  position: relative;
  top: 2px;
  padding-right: 20px;
}

.toggle-checkbox:disabled + .toggle-switch {
    opacity: 0.5;
    cursor: not-allowed;
    background: gray;
}

.toggle-checkbox:disabled + .toggle-switch:before {
    background: #ADB5BD;
}

.toggle-checkbox:disabled ~ .toggle-label {
    opacity: 0.5;
    cursor: not-allowed;
    color: #ADB5BD;
}

.toggle-checkbox:disabled:hover + .toggle-switch:before {
    background: #ADB5BD;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #3A3C4C;
  margin: 15% auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.modal-content p {
  margin-bottom: 20px;
}

.modal-content a {
  color: #6D4AFF;
  text-decoration: none;
}

.modal-content a:hover {
  text-decoration: underline;
}

.close {
  position: absolute;
  right: 5px;
  top: -5px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #fff;
}

#selectWarpConfig {
  width: 100%;
  background: #6D4AFF;
  padding: 10px;
  border-radius: 4px;
  border: none;
  color: white;
  cursor: pointer;
}

#selectWarpConfig:hover {
  background: #7F66FF;
}


@media (max-width: 730px) {
button, 
input, 
textarea, 
select, 
a, 
.toggle-switch {
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}   

   #logo {
        padding-bottom: 20px;
    }
    
    #logo .logo-text {
        font-size: 28px;
        margin-left: 10px;
    }
    
    #logo img {
        max-width: 70px;
    }
    
    .infobtn {
        width: 100%;
        padding: 0 10px;
    }
    
    .file-list, .result {
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }
    
    .button-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .download-btn {
        max-width: 100%;
    }
    
    .switch {
  
        flex-direction: column;
        align-items: center;
    }
    
    .toggle {
        margin-bottom: 5px;
    }
    
    #warpButton {
        width: 90%;
        font-size: 16px;
    }
    
    #info1 {
        font-size: 14px;
        text-align: center;
        padding: 0 10px;
    }
    
    .modal-content {
        width: 90%;
        margin: 50% auto;
    }
}

