/* styles.css - extracted from PRIVATEstyle.css */
body {
  background: #000000;
  color: #ffffff;
  font-family: 'Times New Roman', serif;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 18px;
  position: relative;
  overflow-x: hidden;
}
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
.star {
  position: absolute;
  background-color: white;
  width: 2px;
  height: 2px;
}
.side-box {
  position: fixed;
  top: 0;
  height: 200vh;
  width: 50px;
  background: #000000;
  z-index: 1;
}
.left-side { left: 0; }
.right-side { right: 0; }
.title-container {
  overflow: hidden;
  background: #222222;
  padding: 20px 0;
  border-bottom: 2px solid #ffcc00;
  margin-bottom: 20px;
  position: relative;
  z-index: 0;
  text-align: center;
}
.static-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scrolling-title {
  display: inline-block;
  white-space: nowrap;
  animation: scrollTitle 15s linear infinite;
}
.title-histora {
  color: #ffcc00;
  font-weight: bold;
  font-style: normal;
  font-size: 48px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin: 0;
  display: block;
  line-height: 1.1;
}
.title-anon {
  color: #ffcc00;
  font-weight: normal;
  font-style: italic;
  font-size: 45px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin: 0;
  display: inline-block;
  padding-right: 50px;
}
.title-quote {
  color: #ffcc00;
  font-size: 22px;
  font-family: 'Times New Roman', serif;
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 0;
  display: block;
  max-width: 90vw;
  word-break: break-word;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
@media (max-width: 600px) {
  .title-histora {
    font-size: 32px;
  }
  .title-quote {
    font-size: 16px;
  }
}
@keyframes scrollTitle {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.main-container {
  display: flex;
  width: 80%;
  margin: 0 auto;
  gap: 20px;
  position: relative;
  z-index: 0;
  justify-content: space-between; /* Added */
}
.section {
  flex: 1;
  min-width: 0; /* Added */
  flex-basis: calc(50% - 10px); /* Added */
  max-width: calc(50% - 10px); /* Added */
  background: #222222;
  border: 2px solid #ffcc00;
  padding: 20px;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
h2 {
  color: #ffcc00;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin-top: 0;
}
.file-list {
  list-style: none;
  padding: 0;
  max-height: 400px;
  overflow-y: auto;
  text-align: left;
}
.file-list li {
  background: #111111;
  border: 2px solid #333333;
  margin-bottom: 10px;
  padding: 12px;
  font-size: 16px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}
.file-info {
  color: #bbbbbb;
  font-size: 14px;
  display: block;
  margin-top: 2px;
}
.search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.search-input {
  flex: 1;
  padding: 12px;
  border: 2px solid #ffcc00;
  font-size: 16px;
  font-family: 'Times New Roman', serif;
  color: #ffffff;
  background-color: #111111;
  box-sizing: border-box;
  margin-bottom: 0;
}
.reload-button {
  background-color: #111111;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 8px 12px;
  cursor: pointer;
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
}
.reload-button:hover { background-color: #222222; }
.upload-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
input[type="file"] {
  padding: 12px;
  margin: 12px 0;
  border: 2px solid #ffcc00;
  font-size: 16px;
  font-family: 'Times New Roman', serif;
  color: #ffffff;
  background-color: #111111;
  width: 100%;
  box-sizing: border-box;
}
.switch-container {
  display: flex;
  align-items: center;
  margin: 12px 0;
  width: 100%;
  justify-content: center;
  gap: 10px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #860000;
  border: 2px solid #ffcc00;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: #ffcc00;
}
input:checked + .slider { background-color: #005c00; }
input:checked + .slider:before { transform: translateX(28px); }
.switch-label {
  color: #ffcc00;
  font-weight: bold;
  font-size: 16px;
}
.upload-button {
  width: 100px;
  height: 100px;              
  margin-top: 20px;
  background-image: url('/uploads/Arrowup.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ffcc00;
  border: 2px solid #000;
  cursor: pointer;
}
.feedback-send-button {
  width: 140px;
  height: 40px;
  margin-top: 20px;
  background-color: #ffcc00;
  color: #000;
  border: 2px solid #000;
  border-radius: 6px;
  font-family: 'Times New Roman', serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.feedback-send-button:hover {
  background-color: #ffe066;
  color: #222;
}
.progress-container {
  width: 100%;
  background-color: #111111;
  margin-top: 20px;
  border: 1px solid #ffcc00;
  display: none;
}
.progress-bar {
  width: 0%;
  height: 20px;
  background-color: #ffcc00;
  text-align: center;
  line-height: 20px;
  color: black;
  font-weight: bold;
}
.divider {
  height: 2px;
  background-color: #ffcc00;
  width: 80%;
  margin: 0 auto 20px auto;
}
a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: underline;
  color: #ff9900;
}
.footer {
  margin-top: 20px;
  padding: 10px;
  font-size: 14px;
}
.api-key-container {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #222;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

/* Shared Feedback and Abuse Page Styles */
.feedback-page .main-container,
.abuse-page .main-container,
.contact-page .main-container {
  max-width: 800px;
  margin: 0 auto;
}

.feedback-page .section,
.abuse-page .section,
.contact-page .section {
  flex: 1;
  max-width: 100%;
  min-width: 100%;
}

/* Form Selector Styles */
.form-selector {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.form-selector button {
  background-color: #111111;
  border: 2px solid #ffcc00;
  color: #ffcc00;
  padding: 8px 16px;
  cursor: pointer;
  font-family: 'Times New Roman', serif;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-selector button.active {
  background-color: #ffcc00;
  color: #000000;
}

.form-container {
  display: none;
}

.form-container.active {
  display: block;
}

/* Form Input Styles */
#feedbackMessage,
#reportLinks,
#apiKeyReason {
  width: 100%;
  min-height: 180px;
  padding: 12px;
  margin: 10px 0;
  background-color: #111111;
  border: 1px solid #444444;
  border-radius: 3px;
  color: #ffffff;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

#reportEmail,
#reportReason,
#apiKeyEmail {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  background-color: #111111;
  border: 1px solid #444444;
  border-radius: 3px;
  color: #ffffff;
  font-family: 'Times New Roman', serif;
  font-size: 16px;
  height: 42px;
  transition: border-color 0.2s ease;
}

#feedbackMessage:hover,
#reportLinks:hover,
#reportEmail:hover,
#reportReason:hover,
#apiKeyEmail:hover,
#apiKeyReason:hover {
  border-color: #666666;
}

#feedbackMessage:focus,
#reportLinks:focus,
#reportEmail:focus,
#reportReason:focus,
#apiKeyEmail:focus,
#apiKeyReason:focus {
  outline: none;
  border-color: #ffcc00;
  box-shadow: 0 0 2px rgba(255, 204, 0, 0.2);
}

#reportEmail::placeholder,
#reportReason::placeholder,
#reportLinks::placeholder,
#apiKeyEmail::placeholder,
#apiKeyReason::placeholder {
  color: #666666;
  font-style: italic;
}

#feedbackStatus,
#reportStatus,
#apiKeyStatus {
  margin: 20px 0;
  padding: 10px;
  color: #ffcc00;
  font-weight: bold;
}

.back-link {
  margin-top: 30px;
}

.back-link a {
  padding: 8px 16px;
  border: 1px solid #ffcc00;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.back-link a:hover {
  background-color: #ffcc00;
  color: #000000;
  text-decoration: none;
}

/* Contact Button and Info Styles */
.contact-button {
  background-color: #2c2c2c;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  padding: 10px 30px;
  font-size: 18px;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  border-radius: 5px;
  margin: 15px 0 5px 0;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: #ffcc00;
  color: #000000;
  transform: scale(1.05);
}

.contact-info {
  color: #888888;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  margin-top: 5px;
  font-style: italic;
}

.smol-ui-link {
  text-align: center;
  margin-top: 12px;
}
.smol-link {
  color: #ffcc00;
  font-weight: bold;
  font-size: 16px;
  text-decoration: underline;
}
.smol-link:hover {
  color: #ff9900;
}
