body {
  font-family: Verdana, sans-serif;
  margin: 50px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

.input-container {
  margin-bottom: 20px;
}

label {
  display: block;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  box-sizing: border-box;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  min-height: 16px;
}

/* Adjust the .output class to prevent overlapping */
.output {
  margin-top: 20px;
  padding: 10px;
  overflow: auto;
  box-sizing: border-box;
}

/* Specific styles for the mobile signature preview */
#mobileOutput {
  max-width: 300px; /* Ensure the mobile signature doesn't exceed its container */
  margin:0;
}

/* Remove any default margins on the output div */
.output {
  margin: 0 auto 20px auto;
}

/* Adjust social icon spacing in the preview */
.output table tr td img {
  margin-right: 5px;
}

.output table tr td:last-child img {
  margin-right: 0;
}

button {
  padding: 10px 20px;
  font-size: 16px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.email-container .email-fields {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.email-fields input[type="text"] {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
}

.email-fields select {
  width: 150px;
  padding: 10px;
  margin-left: 5px;
}

.help-content {
  display: none;
  margin-top: 10px;
}

.caret {
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 5px;
}

.caret.down {
  transform: rotate(90deg);
}

.dark-mode {
  background-color: #1a1a1a;
  color: #FFFFFF;
}

.dark-mode a {
  color: #FFFFFF;
}

.dark-mode input,
.dark-mode select,
.dark-mode textarea {
  background-color: #333333;
  color: #FFFFFF;
}

.dark-mode label {
  color: #FFFFFF;
}

.dark-mode .error-message {
  color: #FF8888;
}

.dark-mode .output {
  background-color: #1a1a1a;
}

.dark-mode .output * {
  color: #FFFFFF !important;
}

.dark-mode .output img {
  filter: brightness(0.8);
}

.signature-content a {
  color: #000000;
  text-decoration: none;
}

.signature-content p {
  color: #000000;
}

.logo-color-selector {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.logo-color-selector select {
  flex: 1;
}

.color-preview {
  width: 30px;
  height: 39px;
  margin-left: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Shao Kahn Image Styles */
#shaoKahnContainer {
  position: fixed;
  bottom: -360px;
  /* Start off-screen */
  right: 20px;
  width: 332px;
  height: 360px;
  overflow: hidden;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  /* Start invisible */
}

#shaoKahnImage {
  width: 100%;
  height: auto;
}

/* Animation Keyframes */
@keyframes popOut {
  0% {
    bottom: -360px;
    opacity: 0;
  }

  30% {
    bottom: 0;
    opacity: 1;
  }

  100% {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes slideOut {
  0% {
    bottom: 0;
    opacity: 1;
  }

  100% {
    bottom: -360px;
    opacity: 1;
  }
}

/* Apply Animation */
.show-shao-kahn #shaoKahnContainer {
  animation: popOut 0.5s ease-out forwards, slideOut 1s ease-in 2.5s forwards;
}

/* Headings for Previews */
h2 {
  margin-top: 40px;
}

/* This fix is to address the differences between the clients and desktop rendering of the social icons. It only affects the browser preview */

.chrome-fix {
  width:24px !important;
  display:inline-block;
}

.chrome-fix-spacer {
  width:5px !important;
  display:inline-block;
}

/* Styles for Important Notes in the Help Section */
.note {
  background-color: #ffffcc;
  padding: 10px;
  border: 1px solid #cccc99;
  margin: 10px 0;
  border-radius: 5px;
}

