:root {
  --burnnote-navy: #6EC1E4;
  --burnnote-teal: #262626;
  --burnnote-yellow: #f8c867;
  --burnnote-light-gray: #f5f5f5;
  --burnnote-dark-gray: #F5F7FA;
  --burnnote-gray: #ccc;
  --burnnote-white: #0000008A;
  --burnnote-muted: #6c757d;
}

body {
  background-color: var(--burnnote-dark-gray);
  color: var(--burnnote-white);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.burnnote-container {
  background: var(--burnnote-dark-gray);
  border: 1px solid var(--burnnote-navy);
  border-radius: 12px;
  box-sizing: border-box;
  padding: 32px;
  margin: 40px auto;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  color: var(--burnnote-white);
}

.burnnote-header {
  text-align: center;
  margin-bottom: 10px;
}
/*
.burnnote-header h2 {
  display: none;
}
*/
.burnnote-header .burnnote-subtext {
  font-size: 0.9rem;
  color: var(--burnnote-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.burnnote-container textarea {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 14px 16px;
  width: 100%;
  min-height: 160px;
  margin-bottom: 16px;
  font-size: 16px;
  resize: vertical;
  line-height: 1.5;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.burnnote-container textarea:focus {
  border-color: var(--burnnote-navy);
  outline: none;
  box-shadow: 0 0 0 2px rgba(110, 193, 228, 0.4);
}

.burnnote-container textarea::placeholder,
.burnnote-password-field::placeholder,
#burnnote-generated-link::placeholder {
  color: var(--burnnote-gray);
}

textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.burnnote-submit-btn,
.burnnote-reveal-btn,
#burnnote-copy-btn {
  background: linear-gradient(to top, #4286f4, #373B44);
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  max-width: 700px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Inter UI","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
}

.burnnote-generate-btn {
  font-size: 14px;
  padding: 10px 16px;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 700px;
}

.burnnote-submit-btn:hover,
.burnnote-reveal-btn:hover,
#burnnote-copy-btn:hover {
  background: #0B2948;
  color: white;
  box-shadow: rgba(80, 63, 205, 0.5) 0 1px 30px;
  transition-duration: .1s;
}

.burnnote-generate-btn:hover {
  background-color: #e0e0e0;
}

.burnnote-password-wrapper {
  margin-bottom: 16px;
}

.burnnote-password-inner {
  position: relative;
  width: 100%;
  max-width: 700px;
}

.burnnote-password-field {
  width: 100%;
  padding-right: 40px;
  box-sizing: border-box;
}

.toggle-password-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #888;
}

.burnnote-copy-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

#burnnote-copy-btn {
  margin: 0;
}

#burnnote-message {
  background: #ffffff;
  color: #1a1a1a;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  text-align: left;
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 100px;
  transition: all 0.3s ease;
}

.burnnote-loading {
  color: var(--burnnote-gray);
  font-style: italic;
}

.burnnote-newnote-link {
  text-align: center;
  margin-top: 24px;
}

.burnnote-newnote-link a {
  color: #4286f4;
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px dashed #4286f4;
  transition: all 0.2s ease;
}

.burnnote-newnote-link a:hover {
  color: #0b2948;
  border-bottom: 1px solid #0b2948;
}

.burnnote-hidden-field {
  display: none !important;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

@media (max-width: 600px) {
  .burnnote-password-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .burnnote-generate-btn {
    width: 100%;
  }

  .burnnote-submit-btn {
    width: 100%;
  }

  h2, .burnnote-subtext {
    text-align: center;
  }

  .burnnote-container {
    padding: 20px;
  }

  .toggle-password-icon {
    align-self: flex-end;
    margin-top: 6px;
  }
}
.burnnote-link-box {
  margin: 24px 0;
  max-width: 700px;
  width: 100%;
}

.burnnote-link-box label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #333;
}

.burnnote-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

#burnnote-generated-link {
  flex: 1;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  min-width: 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

#burnnote-copy-btn,
#burnnote-open-btn {
  background: linear-gradient(to top, #4286f4, #373B44);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}

#burnnote-copy-btn:hover,
#burnnote-open-btn:hover {
  background: #0B2948;
}

@media (max-width: 600px) {
  .burnnote-link-row {
    flex-direction: column;
    align-items: stretch;
  }

  #burnnote-copy-btn,
  #burnnote-open-btn {
    width: 100%;
  }
}
.burnnote-password-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .burnnote-password-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.burnnote-password-field {
  flex: 1;
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  min-width: 0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.burnnote-password-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

@media (max-width: 600px) {
  .burnnote-password-row {
    flex-direction: column;
    align-items: stretch;
  }
}

.burnnote-copy-row {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}
.burnnote-subtext {
  font-size: 0.9rem;
  color: var(--burnnote-muted);
  margin-bottom: 16px;
  font-style: italic;
}