
html { overflow-x: hidden;}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
	overflow-x: hidden;
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      background-color: #F7F5FF;
      color: #372580;
      padding: 20px;
    }

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

.container-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 550px;
  position: relative;
    margin: 0 auto; 
  left: -14px;
}
.container {
	line-height: 7px;
	margin: auto;
	max-width: 220px;
	margin-bottom: 15px;
	background: #ffffff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}
.container2, .container3, .container4, .container5 {
	align-content: center;
	margin: auto;
	margin-top: 0px;
	margin-right: -25px; 
	margin-bottom: 15px;
	background: #ffffff;
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	position: relative;
}

.container3 {
	max-width: 193px;
	margin: auto;
}

.container-columns.karing-active {
  left: -60px;
}

.container2.karing-active {
  margin-right: -110px;

}


.textarea1 {
	
      width: 100%;
      height: 200px;
      padding: 10px;
      border-radius: 8px;
      border: 1px solid #ADABA8;
      background-color: #ffffff;
      color: #372580;
      resize: vertical;
      box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.2s ease;
      box-sizing: border-box;
    }
textarea:focus { outline: 1px solid #6D4AFF; }
.jc, #domain {
	border-radius: 2px;
	border: 1px solid #888891;
	max-height: 20px;
	resize:none;
	margin-bottom: -3px;
	max-width: 140px;
	white-space: nowrap; 
    overflow-y: hidden; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

#domain {
	margin: 10px;
  scale: 118%;
margin-bottom: 15px;
}

.jc::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
#domain::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

#cpaInput, #mhaInput, #ktInput, #ratInput, #rkatInput, #rtInput {
  max-width: 50px;
  text-align: center;
}

button {
  align-items: center;
  justify-content: center;
  background: #6D4AFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
  font-family: inherit;
  font-size: large;
  line-height: normal;
  min-height: 40px;
  width: 100%;
}
.randombtn, .randombtn2 {
  display: block;
  margin:auto;
  margin-top: 25px;
}

.custom-file-upload {
  padding: 10px 20px;
  background: #6D4AFF;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: inherit;
  min-height: 40px;
  width: 140px; 
  height: 40px; 
  box-sizing: border-box;
  text-align: center;
  line-height: 20px; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  display: inline-block; 
}

#fileUploadLabel {
  width: 100%;
  text-align: center;
}


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

button:active, .custom-file-upload:active {
  background: #6D4AFF;
}


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

    .download-btn:hover {
      background: 4A2DC5;
    }

.button-container {
  text-align: center; 
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.file-list, .result {
	  margin:auto;
	  max-width: 650px;
      background: #ffffff;
      padding: 15px;
      border-radius: 10px;
      margin-top: 15px;
	  margin-bottom: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      overflow: auto;
    }
	
	.result {padding-top: 0px;}
.hidden, .hidden-input, .radio, br.mobile-only {
      display: none;
    }
	
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; 

}

.amnezia-icon {
max-width: 40px;
margin-bottom: -15px;
}

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

}
#BoostyButton,#tgButton,#BoostyNewButton, #warpButton {
	width: 90%;
    max-width: 400px;
    margin: 10px auto;


    font-size: 18px;
    cursor: pointer;
}

#newButtons {
    visibility: hidden;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, height 0.5s ease, visibility 0.5s ease;
}

#newButtons.show {
    visibility: visible;
    opacity: 1;
    height: 130px;
}	

#jc1{
max-width:	23px
}
#jmax1, #jmin1
{
max-width:	30px
}

#fp1, #fps1, #fpd1 {
	max-width:	52px
}



#logo {
	display: block; 
	margin: 0 auto; 
	max-width: 100%; 
	padding-bottom: 20px
	}

.glow-on-hover {
    width: 400px;
	max-width: 90%;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 8px;
	margin: 10px auto;
	min-height: 40px;
	line-height: normal;

}


.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 8px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 8px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


.switch { 
    text-align: center; 
	padding: 10px;
    padding-top: 15px;
}

.toggle {
  display: inline-block;
      user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.toggle-switch {
  cursor: pointer;
  display: inline-block;
  background: #f7f5ff;
  border-radius: 16px;
  width: 48px;
  height: 27px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;

  border: 1px solid #ADABA8;
}
.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: 19px;
  height: 19px;
  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: 25px;
}

.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;
}

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

.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);
}

select {background-color: #fff;
  border-radius: 2px;
  border: 1px solid #888891;
  width: 146px;
  min-height: 23.25px;}
  
select:focus-visible
{outline: 1px solid #6D4AFF;}  

.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: #F4F4F4;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 346px;
    position: relative;
	text-align: center;
}

.modal-content p{
margin-bottom: 0px;
  margin-top: 5px;
  font-weight: bold;
  font-size: 20px;
  font-family: sans-serif;
}

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

.close:hover {
  color: black;
}

/* Серый цвет для неактивных блоков */
.container2:has(.toggle-checkbox:is(:not(:checked), :disabled)),
.container3:has(.toggle-checkbox:is(:not(:checked), :disabled)),
.container4:has(.toggle-checkbox:is(:not(:checked), :disabled)) {
  color: #8e8e93;
  cursor: not-allowed;
}
.container2:has(.toggle-checkbox:is(:not(:checked), :disabled)) > .musor1 > *:not(.toggle),
.container3:has(.toggle-checkbox:is(:not(:checked), :disabled)) > .musor1 > *:not(.toggle),
.container4:has(.toggle-checkbox:is(:not(:checked), :disabled)) > .musor1 > *:not(.toggle) {
  filter: grayscale(100%);
  opacity: 0.5;
  pointer-events: none;
}
.container2:has(.toggle-checkbox:is(:not(:checked), :disabled)) .toggle,
.container3:has(.toggle-checkbox:is(:not(:checked), :disabled)) .toggle,
.container4:has(.toggle-checkbox:is(:not(:checked), :disabled)) .toggle {
  color: #372580;
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.port-btn {
	margin-bottom: 5px;
    display: inline-block;
    border-radius: 25px;
    border: 1px solid #6d4aff;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    color: #374151; /* text-gray-700 */
    user-select: none;
    width: 56px;
    text-align: center;
}

.port-btn:hover {
    background-color: #f3f4f6; /* bg-gray-100 */
}

input[type="radio"]:checked + .port-btn {
    background-color: #4f46e5; /* bg-indigo-600 */
    color: white;
    border-color: #4f46e5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.switch {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	max-width: 520px;
	margin: 0 auto; 
	align-items: center;
}

#griddiv {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: center;
	justify-content: center;
}

#awg3 {
	width: 260px;
	text-align: center;
	margin: initial;
	margin-inline: -23px;
}

.container3 {margin-left: 60px;}

@media (max-width: 730px) {
	body {display: block}
button, textarea, .custom-file-upload {
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}  

.container-columns {
    display: block;
	max-width: 90%;
	left: 0px;
}	
.infobtn {
	max-width: 82%;
    min-width: 100%;
}

.container2.karing-active {
	margin-left: 45px;
	max-width:95%;
	
}

.container2 {
	width: fit-content;
    margin: 15px auto;
}
.container3 {margin:auto}

.switch {
	grid-template-columns: repeat(1, 1fr);
	padding-inline: 0; 
	text-wrap: balance; 
	gap: 10px;
}
#griddiv {grid-template-columns: repeat(1, 1fr)}
#awg3 {margin: 15px auto 0;}

#fp1, #fps1, #fpd1 {
	max-width: 60px;
	height: 60px;
}

#logo {max-width: 77%}	
body {padding: 0px;}
#jmax1, #jmin1 {max-width: 33px}
#jc1 {max-width: 26px}
br.mobile-only {display: block}
.container2.karing-active {left: -55px}
.container-columns.karing-active {left: 0px}

#BoostyButton,#DonationAlertsButton,#BoostyNewButton, #warpButton {
	width:90%;
    margin: 10px auto;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
	}
}

@media (max-width: 333px) {
	#output {padding-inline: 0}
	.whitelist-button__icon {display: none !important}
}



/* adButton */
.whitelist-button {
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(105deg, #ff7a18 0%, #ff3d57 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 14px 34px rgba(244, 67, 54, 0.32),
    0 0 0 5px rgba(255, 92, 64, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
  max-width: 400px;
  margin: 10px auto;
}
.whitelist-button__icon {
  position: absolute;
  top: 50%;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f04454;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(135, 24, 44, 0.2);
  transform: translateY(-50%);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}
.whitelist-button__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.whitelist-button:hover {
	background: linear-gradient(105deg, #ff7a18 0%, #ff3d57 100%);
  filter: saturate(1.06) brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(244, 67, 54, 0.38),
    0 0 0 6px rgba(255, 92, 64, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
}
.whitelist-button:hover .whitelist-button__icon {
  transform: translate(3px, -50%) scale(1.05);
  box-shadow: 0 10px 22px rgba(135, 24, 44, 0.26);
}
.whitelist-button:active {
  filter: brightness(0.98);
  transform: translateY(1px);
}
.whitelist-button:focus-visible {
  outline: 4px solid rgba(255, 61, 87, 0.25);
  outline-offset: 4px;
}
/* adButton */
