* {
  outline: none;
}

/* Style the scrollbar track */
#link-preview {
display: none; /* Keeps it out of the page flow */
position: fixed;
width: 0; /* No width or height until shown */
height: 0;
visibility: hidden; /* Invisible by default */
background-color: #ffffff;
border: 1px solid #ddd;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
border-radius: 8px;
overflow: hidden;
transition: visibility 0s, width 0.3s ease, height 0.3s ease; /* Smooth transition */
}

#link-preview.show {
display: block;
width: 300px;
height: 200px;
visibility: visible;
}

.signUpButton {
    
}

#link-preview iframe {
width: 100%;
height: 100%;
border: none;
}


.ToggleTextGPT {
  
}

.toggle-container {
  margin-right: 210px;
}

.ToggleTextDALLE {
      text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: bold;
  position: absolute;
  margin-top: 8px;
  margin-left: 15px;
  color: black;
}


.MarketingButton {
  
}

.MarketingButton:hover {
  
}

/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}

/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

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

input:checked + .ToggleTextDALLE {
  color: red;
}

input:checked + .slider {
background: linear-gradient(45deg, #fd00ff, #00f3ff);
}



input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}


.MarketingButton:active {
  
}

.SoundCloud {
  Color: #ff5500;
  transition: all 0.2s ease;
}

.SoundCloud:hover {
  background: #ff5500;
  color: white;
   border-color: #ff5500;
}

.SoundCloud:active {
  
}

.Spotify {
  color: #1ed760;
    transition: all 0.2s ease;
}

.Spotify:hover {
  background: #1ed760;
  color: white;
  border-color: #1ed760;
}

.Spotify:active {
  
}

.X {
  color: black;
    transition: all 0.2s ease;
    font-size: large;
}

.X:hover {
 background: black;
  color: white; 
}

.X:active {
  
}

.CashApp {
  color: rgb(0 189 70);
    transition: all 0.2s ease;
}

.CashApp:hover {
  background: rgb(0 189 70);
  color: white;
  border-color: rgb(0 189 70);
}

.CashApp:active {
  
}

.Instagram {
    transition: all 0.2s ease;
}

.Instagram:hover {
   background-image: url(https://i.ytimg.com/vi/8j9szxn-68c/maxresdefault.jpg);
   color: white;
  background-size: cover;
  border: 2px solid transparent;
}

.Instagram:active {
  
}

.YouTube {
  color: #ff0606;
    transition: all 0.2s ease;
}

.YouTube:hover {
  background: #ff0606;
  color: white;
  border-color: #ff0606;
}

.YouTube:active {
  
}

.MKSocial {
  background: white;
  border: 2px solid black;
  font-family: sans-serif;
  font-weight: bold;
  padding: 10px;
  
  margin-top: 5px;
   margin-left: 5px;
  
}

#saveModalSave {
  border: 3px solid #2cff9e;
  color: #2cff9e;
  background: white;
  transition: all 0.2s ease;
  height: 30px;
}

#saveModalSave:hover {
  background: #2cff9e;
  color: white;
}

#saveModalCancel {
  border: 3px solid #ff3c3c;
  color: #ff3c3c;
  background: white;
  transition: all 0.2s ease;
   height: 30px;
}

#saveModalCancel:hover {
  background: #ff3c3c;
  color: white;
}

#saveModalClose {
  border: none;
  height: 30px;
  width: 30px;
  padding: 7px;
  border-radius: 3px;


}

.ui-draggable-handle {
  text-transform: uppercase;
  letter-spacing: 3px;
  
  
}

#passwordInputModalSubmit {
 border-radius: 30px;
  border: none;
  background: #36acff;
  position: absolute;
  height: 26px;
  margin-top: 2px;
  margin-left: -53px;
  color: white;
  padding: 5px;
}

#passwordInputModalPassword {
 border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0px 6px 9px #00000038, inset 0px 0px 0px transparent;
  border-radius: 44px;
  width: 340px;
  cursor: default;
  padding: 5px;
}

#passwordInputModalPassword:hover {
  
}

#passwordInputModalPassword:focus {
  border-bottom: 2px solid #2cff9e;
  box-shadow: 0px 0px 0px #00000038, inset 0px 6px 7px #00000038;
  cursor: text;
}

#saveModalFilename {
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0px 6px 9px #00000038, inset 0px 0px 0px transparent;
  border-radius: 5px;
  width: 222px;
  cursor: default;
  
}

#saveModalFilename:hover {
  border-bottom: 2px solid #36acff;
}

#saveModalFilename:focus {
  border-bottom: 2px solid #2cff9e;
  box-shadow: 0px 0px 0px #00000038, inset 0px 6px 7px #00000038;
  cursor: text;
}

#saveModalPassword {
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0px 6px 9px #00000038, inset 0px 0px 0px transparent;
  border-radius: 5px;
  width: 222px;
  cursor: default;
}

#saveModalPassword:hover {
  border-bottom: 2px solid #ff3c3c;
}

#saveModalPassword:focus {
  border-bottom: 2px solid #2cff9e;
  box-shadow: 0px 0px 0px #00000038, inset 0px 6px 7px #00000038;
  cursor: text;
}



.bubble {
display: inline-block;
padding: 5px;
border-radius: 10px;
background-color: #f0f0f0;
position: relative;
margin: 0 5px;
}

.bubble:hover .delete-icon {
display: inline;
}

.delete-icon {
display: none;
position: absolute;
top: 0;
right: 0;
cursor: pointer;
background-color: red;
border-radius: 50%;
width: 16px;
height: 16px;
line-height: 16px;
text-align: center;
color: white;
}



.SocialLink1 {

color: #00fff5;
  text-decoration: none;
  padding: 7px;
  border-radius: 5px;
  transition: all 0.2s linear;
  width: fit-content;
  
}

.SocialLink1:hover {
  background: white;
  color: cyan;
}

.SocialLink1:active {
  color: white;
  background: cyan;
}

#particles-js {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}



.copied-dialog {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background-color: #007bff;
color: white;
padding: 5px 10px;
border-radius: 5px;
font-size: 14px;
display: none;
}

.assistant {
   background: linear-gradient(135deg, lightgrey, #444);
color: #fff;
transition: all 0.2s ease;
float: left;
box-shadow: 3px 3px 4px 0px #00000054;
}

#webToggleButton {
background-color: #f0f0f0;
border: 1px solid #ccc;
padding: 5px 10px;
cursor: pointer;
}

#webToggleButton.web-enabled {
background-color: #007bff;
color: white;
}

.custom-context-menu {
position: absolute;
background-color: #f0f0f0;
border: 1px solid #ccc;
padding: 10px;
display: none;
z-index: 1000;
}

.custom-context-menu div {
padding: 5px;
cursor: pointer;
}

.custom-context-menu div:hover {
background-color: #007bff;
color: white;
}




.draggable {
position: absolute;
z-index: 1000;
background-color: white;
border: 1px solid transparent;
padding: 20px;
left: calc(50% - 150px);
top: calc(50% - 150px);
box-shadow: 5px 5px 12px rgba(0, 0, 0, 0.63);
}

#customSystemPromptModal {
position: fixed;
z-index: 1000;
background-color: white;
border: 1px solid black;
padding: 20px;
left: calc(50% - 150px);
top: calc(50% - 150px);
}

#customSystemPromptModal h3 {
text-align: center;
}

#customSystemPromptInput {
width: 100%;
padding: 10px;
margin-bottom: 10px;
}

#customSystemPromptSubmit,
#customSystemPromptClose {
border: none;
background-color: transparent;
font-size: 16px;
cursor: pointer;
}

#customSystemPromptSubmit {
color: #007bff;
margin-right: 10px;
}

#customSystemPromptClose {
float: right;
color: #ff0000;
}


/* Status message */
#system-message-status {
  font-size: 16px;
  color: white;
  border-radius: 5px;
  animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* Upload System Message button */
.UploadSystemMessage {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

/* Add some padding and scrolling to the conversation container */
#conversation {
  padding: 10px;

  overflow-y: auto;
}


.trash-icon {
position: absolute;
top: 5px;
right: 5px;
cursor: pointer;
}

.KLogo {
width: 50px;
  height: 50px;
  background: white;
  box-shadow: 2px 2px 2px 0px #0000006b;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 48vw;

  position: absolute;
  transition: all 0.2s ease;
}


.system-message {
  background-color: #f1f1f1;
  padding: 10px;
  margin: 10px;
  border-radius: 5px;
}

.KLogo:active {
  box-shadow: inset 2px 2px 2px 0px #0000006b;
  background: black;
  fill: white;
  
}

.K {
  height: 25px;
  width: 25px;
}

.K2 {

}

.KLogoPath {
  filter: drop-shadow(3px 3px 2px 0px #0000001f);
  fill: black;
  transition: all 0.2s ease;
}

.KLogoPath:hover {
  fill: url(#myGradient);
}

.KLogoPath:active {
  fill: white;
}

.code-tab {
display: inline-block;
background-color: #333;
color: white;
padding: 5px 10px;
border-radius: 5px 5px 0 0;
position: relative;
top: 1px;
z-index: 1;
font-size: 0.9em;
}

#messageInput:hover {
  border-bottom: 2px solid #3699ff;
}

#messageInput:focus {
  border-bottom: 3px solid #33e151;
  cursor: text;
}

.message-wrapper .code-container {
max-width: 100%;
overflow-x: auto;
white-space: pre-wrap;
word-wrap: break-word;
}

pre {
position: relative;

}

.code-container__tab {
position: absolute;
top: 0;
left: 0;
padding: 4px 8px;
background-color: #333;
color: #fff;
font-weight: bold;
z-index: 1;
}

::-webkit-scrollbar-thumb {
background:  linear-gradient(135deg, #00ffea, #b400ff);
border-radius: 50px;

transition: all 0.2s linear;
}

::-webkit-scrollbar-thumb:hover {
  background:  linear-gradient(135deg, #00ffea, #b400ff);
  border-radius: 50px;
  box-shadow: inset 2px 2px 2px 1px #000000b8;
}

::-webkit-scrollbar-track:hover {

  border-radius: 0px;
}

::-webkit-scrollbar-track {
  background: lightgrey;
transition: all 0.2s linear;
width: 5px;
border-radius: 50px;
}

::-webkit-scrollbar {
width: 5px;
transition: all 0.2s linear;
border-radius: 50px;
}

::-webkit-scrollbar:hover {

border-radius: 0px;
}





.language-tab {
display: inline-block;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 3px;
padding: 2px 5px;
font-size: 12px;
margin-right: 5px;
}

.copiedTextHistoryModal {
  box-shadow: 1px 1px 8px 0px black;
}

#copiedTextHistoryModal {
    box-shadow: 1px 4px 7px 0px #00000054;
  border: none !important;
}

.CTH {
    text-transform: uppercase;
  font-weight: 100;
  font-size: 20px;
  text-align: center;
  text-shadow: 1px 1px 2px #00000063;
  letter-spacing: 2px;
}

.CTHclose {
  border: 0px solid transparent;
  color: black;
  background: white;
  border-radius: 3px;
  padding: 7px 10px 10px 10px;
  transition: all 0.2s ease;
}

.MATTKEY-Div {
height: 100px;
  width: 310px;
  background: white;
  position: fixed;
 padding: 10px;
  display: none;
  z-index: 999;
}

.CTHclose:hover {
  
  background: red;
  color: white;
}

#CTHclose {
  border: 0px solid transparent;
  color: black;
  background: white;
  border-radius: 3px;
  padding: 10px 10px 10px 10px;
  transition: all 0.2s ease;
  text-transform: UPPERCASE;
  font-weight: bold;
}

.startMessage {
      background: linear-gradient(135deg, #00ffea, #b400ff);
  color: #fff;
  transition: all 0.2s ease;
  float: left;
  box-shadow: 3px 3px 4px 0px #00000054;
  font-weight: bold;
  text-shadow: 0px 0px 0px black;
  display: flex !important;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.copy-btn {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 20px;
  background: transparent;
  border: none;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
  background: linear-gradient(45deg, #00ff80, #00f3ff);
  padding: 10px 15px 10px 15px;
  font-weight: bold;
  margin-top: 1%;
  margin-right: 1%;
}

#CTHclose:hover {
  
  background: #ff5b5b;
  color: white;
}

#CTHclose:active {
  
  transform: scale(0.9)
}

.CTHclose:active {
  
  background: black;
  color: white;
}

#CopyHistoryItem {
transition: all 0.2s ease;
  padding: 10px;
  border-radius: 5px;
  width: fit-content;
  box-shadow: rgb(0 0 0 / 24%) 0px 5px 8px 0px, inset 0px 0px 0px 0px black !important;

}

#CopyHistoryItem:hover{
 transform: scale(1.01);
}

#CopyHistoryItem:active {
box-shadow: rgb(0 0 0 / 24%) 0px 0px 0px 0px, inset rgb(0 0 0 / 24%) 0px 5px 8px 0px !important;
transform: scale(0.99);
}

.copy-code-button {
background-color: white;
  border: none;
  border-radius: 3px;
  color: #333;
  cursor: pointer;
  font-weight: 900;
  font-size: 12px;
  padding: 5px 10px;
  top: 5px;
  transition: all 0.2s ease;
  position: relative;
  left: 90%;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.code-container {
    transition: all 0.2s ease;
  background-color: white;
  border-radius: 20px;
  padding: 20px;
  border: none;
  white-space: pre-wrap;
  font-family: 'Courier New', Courier, monospace;

  box-shadow: 0px 0px 0px black, inset 0px 0px 4px #00000082;

}


.code-container:hover {

  
  box-shadow: 0px 0px 7px #0000004f, inset 0px 0px 0px black;
 
}

.code-container:active {
  box-shadow: 0px 0px 0px black, inset 0px 0px 4px #00000082;
}




.copy-code-button:hover {
background-color: #0056b3;
color: white;
}

#saveModalClose:hover {
  color: white;
  background: red;
  outline: none;
  
}

body {
font-family: 'Roboto', sans-serif;
font-size: 14px;
line-height: 1.2;

background-color: #f5f5f5;
}

.message-list {
position: relative;
}

.message img {
max-width: 100%;
height: auto;
border-radius: 10px;
margin-top: 5px;
}

#wrapper {
   background-color: transparent;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  padding: 1rem;
  backdrop-filter: blur(7px);
}

.CloseMKDIV {
  border: 1px solid red;
  background: white;
  color: red;
  transition: all 0.2s ease;
  height: 30px;
  width: 30px;
  right: 0;
  position: absolute;
}

.CloseMKDIV:hover {
  background: red;
  color: white;
}

.CloseMKDIV:active {
  background: #b50000;
  border: 1px solid #b50000;
  color: white;
}

.user,
.gpt4,
.dalle,
.assistant,
.startMessage {
    display: inline-block;
  max-width: 70%;
  border-radius: 30px;
  padding: 12px 20px;
  margin-bottom: 8px;
  clear: both;
  position: relative;
  word-wrap: break-word;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.2s ease;
  white-space: pre-wrap;
}

.user {
background: linear-gradient(135deg, #00ffea, #b400ff);
color: #fff;
transition: all 0.2s ease;
float: right;
box-shadow: 3px 3px 4px 0px #00000054;
    font-weight: bold;
  text-shadow: 1px 1px 2px #00000085;
}

.user:hover {
  box-shadow: 3px 3px 4px 0px black;
}

.gpt4:hover {
  transform: scale(1.0);
}

.gpt4:active {
 
 transform: scale(0.99);
  box-shadow: 0px 0px 0px 0px black, inset 3px 3px 3px 0px #00000057;
}

.user:active {
  
  box-shadow: 5px 4px 8px 0px #00000096;
}


@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');




.gpt4 {
background: white;
box-shadow: 3px 3px 3px 0px #00000057, inset 0px 0px 0px 0px black;
float: left;


transition: all 0.2s ease;
    font-weight: bold;
  text-shadow: 1px 1px 2px #2a003482;
}



.dalle {
background-color: white;

 box-shadow: 3px 3px 4px 0px #00000054;
float: left;
transition: all 0.2s ease;
}

.user img,
.gpt4 img,
.dalle img {
max-width: 70%;
height: auto;
transition: all 0.2s ease;
 box-shadow: 3px 3px 4px 0px #00000054;
}

.user img,
.gpt4 img,
.dalle img:hover {
box-shadow: 1px 4px 19px 0px black;
}

.gpt4::after {
border-color: transparent #f1f1f1 transparent transparent;
border-width: 8px;
left: -8px;
top: 6px;
}

/* Rest of the CSS code */





.password-status {
display: none;
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
padding: 0.75rem 1.5rem;
border-radius: 25px;
color: white;
z-index: 10;
font-size: 1.1em;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.password-status p {
margin: 0;
font-weight: 500;
}

#password-accepted {
background-color: #28a745;
}

#password-denied {
background-color: #dc3545;
}

.container {
width: 98%;
  max-width: 100%;
  position: initial;
  display: contents;
}

#wrapper {

background-color: transparent;
border-radius: 5px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
padding: 1rem;
backdrop-filter: blur(7px);
-webkit-backdrop-filter: blur(7px);
}



.chat-area {
height: calc(100vh - 300px); /* Adjust the height as needed */

border-radius: 5px;
overflow-y: auto;
padding: 1rem;
margin-bottom: 1rem;
word-wrap: break-word;
  white-space: pre-line;
position: relative;
}

.input-field {
display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

#messageInput {
margin-top: 15px;

  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0.5rem;
  width: 99%;
  transition: all 0.1s linear;
  font-weight: 900;
  cursor: default;
}

#messageInput::placeholder {
  color: magenta;
  font-weight: 100;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 1px 1px 2px lightgrey;
}

#buttonArea {
display: flex;
justify-content: center;
flex-wrap: wrap;
color: black;
gap: 2.5rem;
}

.btn {
flex: 1;
}

/* Add clear conversation button styling */
/* Add clear conversation button styling */
.clear-conversation-btn {

}

.clear-conversation-btn:hover {

}

#draggableModal {
   display: block;
  position: absolute;
  z-index: 1000;
  background-color: white;
  padding: 20px;
  left: 818px;
  top: 72.5781px;
  box-shadow: 5px 5px 12px #000000a1;
}

#draggableModalTitle {
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 3px;
}

#draggableModal input,
#draggableModal button {
margin-bottom: 10px;
}

#draggableModal .close {
cursor: pointer;
}

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

#error-modal .modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
}

#error-modal .close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}

#error-modal .close:hover,
#error-modal .close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}

#save-conversation-modal {
display: none;
}


@media (min-width: 768px) {
body {
  padding: 0rem;
}
}

#button-container {
  display: none;
}

.button-86 {
   all: unset;
  width: 280px;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  letter-spacing: 3px;
  font-weight: bold;
}

.button-86::after,
.button-86::before {
content: '';
position: absolute;
bottom: 0;
right: 0;
z-index: -99999;
transition: all .4s;
}

.button-86::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #ff00f5, #00b8ff);
  border-radius: 0px;
}

.button-86::after {
  
transform: translate(10px, 10px);
width: 35px;
height: 35px;
background: #ffffff15;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border-radius: 50px;
}

.button-86:hover::before {
transform: translate(0%, 0%);
width: 100%;
height: 100%;
}

.button-86:hover::after {
border-radius: 0px;
transform: translate(0, 0);
width: 100%;
height: 100%;
    filter: brightness(0.5);
    -webkit-filter: brightness(0.5);
    box-shadow: inset 0px 0px 11px 0px black;
}

.button-86:active::after {
transition: 0.2s;
    transform: translate(1%, 5%);
    text-shadow: 2px 2px 2px cyan;
}

.ClearConversation {
        color: black;
  height: 50px;
  width: 320px;
  border: none;
  border-radius: 0px;
  box-shadow: 1px 1px 3px #0000001f;
  background: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.ClearConversation:hover {
      background: linear-gradient(139deg, #000b8b, #ff00f7);
  color: white;
  transform: scale(1.05);
}

.ClearConversation:focus {
  background: linear-gradient(135deg, #ff4040, #6485ff);
  transform: scale(0.95);
  color: white;
}

.MATTKEY {
          color: black;
  height: 50px;
  width: 320px;
  
  border-radius: 0px;
  box-shadow: 1px 1px 3px #0000001f;
  background: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  border: 4px solid transparent;
  transition: all 0.2s ease;
}

.MATTKEY:hover {
  transform: scale(1.05);
  border: 4px solid white;
  background: black;
  color: white;
}

.MATTKEY:active {
  
}

.LoadConversation {
        color: black;
  height: 50px;
  width: 320px;
  border: none;
  border-radius: 0px;
  box-shadow: 1px 1px 3px #0000001f;
  background: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.LoadConversation:hover {
   background: linear-gradient(45deg, #00e7ff, #ff00f7);
  color: white;
  transform: scale(1.05);
}

.LoadConversation:focus {
  background: linear-gradient(138deg, #00e7ff, #ff00f7);
  transform: scale(0.95);
  color: white;
}
/*#00e7ff*//*#00fdff*/
.SaveConversation {
        color: black;
  height: 50px;
  width: 320px;
  border: none;
  border-radius: 0px;
  box-shadow: 1px 1px 3px #0000001f;
  background: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.SaveConversation:hover {
     background: linear-gradient(135deg, #ff00ae, #00e7ff);
  color: white;
  transform: scale(1.05);
}

.SaveConversation:focus {
  background: linear-gradient(135deg, #05fd5f, #00e7ff);
  transform: scale(0.95);
  color: white;
}

.CopyHistoryButton {
        color: black;
  height: 50px;
  width: 320px;
  border: none;
  border-radius: 0px;
  box-shadow: 1px 1px 3px #0000001f;
  background: white;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.CopyHistoryButton:hover {
  background: linear-gradient(139deg, #ff00f7, #000b8b);
  color: white;
  transform: scale(1.05);
}

.CopyHistoryButton:focus {
  background: linear-gradient(139deg, #ff00f7, #000b8b);
  transform: scale(0.95);
  color: white;
}

/* Reset */

/* Main Styles */
.button {
display: none;
background-color: #c0392b;
width: 300px;
height: 100px;
line-height: 100px;
margin: auto;
color: #fff;
position: absolute;

cursor: pointer;
overflow: hidden;
border-radius: 5px;
box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}
.button span,
.button .icon {
display: block;
height: 100%;
text-align: center;
position: absolute;
top: 0;
}
.button span {
width: 72%;
line-height: inherit;
font-size: 22px;
text-transform: uppercase;
left: 0;
transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}
.button span:after {
content: "";
background-color: #a53125;
width: 2px;
height: 70%;
position: absolute;
top: 15%;
right: -1px;
}
.button .icon {
width: 28%;
right: 0;
transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4);
}
.button .icon .fa {
font-size: 30px;
vertical-align: middle;
transition: all 0.25s cubic-bezier(0.31, -0.105, 0.43, 1.4), height 0.25s ease;
}
.button .icon .fa-remove {
height: 36px;
}
.button .icon .fa-check {
display: none;
}
.button.success span, .button:hover span {
left: -72%;
opacity: 0;
}
.button.success .icon, .button:hover .icon {
width: 100%;
}
.button.success .icon .fa, .button:hover .icon .fa {
font-size: 45px;
}
.button.success {
background-color: #27ae60;
}
.button.success .icon .fa-remove {
display: none;
}
.button.success .icon .fa-check {
display: inline-block;
}
.button:hover {
opacity: 0.9;
}
.button:hover .icon .fa-remove {
height: 46px;
}
.button:active {
opacity: 1;
}







.container2 {
display: none;
position: absolute;
  margin-top: 15px;
  width: 100%;

  
}

.toggle {
margin: 4px;
display: inline-block;
}

.toggle {
box-shadow: inset 0 0 35px 5px rgba(0, 0, 0, 0.25), inset 0 2px 1px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 1px 0 rgba(0, 0, 0, 0.25);
border-radius: 8px;
background: #9998;
position: relative;
height: 140px;
width: 140px;
}
.toggle:before {
box-shadow: 0 0 17.5px 8.75px #fff;
border-radius: 118.3px;
background: #9998;
position: absolute;
margin-left: -50.4px;
margin-top: -50.4px;
opacity: 0.2;
content: "";
height: 100.8px;
width: 100.8px;
left: 50%;
top: 50%;
}
.toggle .button {
-webkit-filter: blur(1px);
-moz-filter: blur(1px);
filter: blur(1px);
transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.5), inset 0 -3px 4px -1px rgba(0, 0, 0, 0.2), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 3px 4px -1px rgba(255, 255, 255, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.8), inset 0 20px 30px 0 rgba(255, 255, 255, 0.2);
border-radius: 96.32px;
position: absolute;
background: lightgrey;
margin-left: -48.16px;
margin-top: -48.16px;
display: block;
height: 96.32px;
width: 96.32px;
left: 50%;
top: 50%;
}
.toggle .label {
transition: color 300ms ease-out;
text-shadow: 1px 1px 3px #ccd0d4, 0 0 0 rgba(0, 0, 0, 0.8), 1px 1px 4px #fff;
line-height: 139px;
text-align: center;
position: absolute;
font-weight: 550;
font-size: 42px;
display: block;
opacity: 0.9;
height: 100%;
width: 100%;
color: rgba(0, 0, 0, 0.4);
}
.toggle input {
opacity: 0;
position: absolute;
cursor: pointer;
z-index: 1;
height: 100%;
width: 100%;
left: 0;
top: 0;
}
.toggle input:active ~ .button {
box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 30px 1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 25px 0 rgba(0, 0, 0, 0.4), inset 0 0 10px 1px rgba(255, 255, 255, 0.6);
}
.toggle input:active ~ .label {
font-size: 40px;
color: rgba(0, 0, 0, 0.45);
}
.toggle input:checked ~ .button {
box-shadow: 0 15px 25px -4px rgba(0, 0, 0, 0.4), inset 0 -8px 25px -1px rgba(255, 255, 255, 0.9), 0 -10px 15px -1px rgba(255, 255, 255, 0.6), inset 0 8px 20px 0 rgba(0, 0, 0, 0.2), inset 0 0 5px 1px rgba(255, 255, 255, 0.6);
}
.toggle input:checked ~ .label {
font-size: 40px;
color: rgba(0, 0, 0, 0.4);
}


@media (max-width: 600px) {
#balanceDisplay {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  font-size: 1em;
  margin: 10px 5px 0 5px;
  width: 100%;
}
#balanceDisplay button {
  width: 100%;
  font-size: 1em;
  padding: 10px 0;
  margin: 0;
}
#balanceText {
  text-align: left;
  margin-bottom: 2px;
  word-break: break-all;
}
}

/* Auth Modal & Button Styles - Modern, Themed, and Compact */
.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(103,61,230,0.18), 0 1.5px 8px #00f3ff33;
  padding: 32px 22px 22px 22px;
  min-width: 320px;
  max-width: 95vw;
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #673DE6;
  cursor: move;
}
.auth-modal h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
  color: #673DE6;
  letter-spacing: 2px;
  font-size: 1.35em;
}
.auth-input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 13px;
  padding: 10px 13px;
  border-radius: 8px;
  border: 1.5px solid #d1d1e0;
  font-size: 1em;
  font-family: 'Quicksand', sans-serif;
  background: #f8f8ff;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px #e6e6fa33;
  display: block;
}
.auth-input:focus {
  border: 1.5px solid #673DE6;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px #00f3ff33;
}
.auth-btn {
    background: #ffffff;
    color: #673DE6;
    border: 2px solid #673DE6;
    border-radius: 16px;
    padding: 8px 0;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 8px #673de61a;
    width: 70px;
    letter-spacing: 1px;
    TEXT-TRANSFORM: UPPERCASE;
    transition: 0.2s ease 0s;
}
.auth-btn:hover, .auth-btn:focus {
  background: #4b28b7;
  color: #fff;
  border-color: #4b28b7;
  box-shadow: 0 4px 16px #00f3ff33;
}
#authError {
  color: #e74c3c;
  font-size: 0.98em;
  margin-bottom: 8px;
  display: none;
  text-align: center;
  width: 100%;
}
@media (max-width: 500px) {
  .auth-modal {
    min-width: 90vw;
    width: 98vw;
    padding: 18px 4vw 18px 4vw;
  }
  .auth-btn {
    font-size: 1em;
    padding: 8px 0;
    max-width: 100%;
  }
}