/* ============================================
   Contact Page Core Styles & Background (White Theme)
   ============================================ */
.room-glow {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(15, 8, 4, 0.45) 0%, transparent 70%),
    url("contact-background.png") no-repeat center center;
  background-size: cover;
  z-index: -2;
  filter: brightness(0.55) contrast(1.15);
}

/* Force glass reflection and overlays to never block clicks */
.tv-glass-reflection, .crt-overlay {
  pointer-events: none !important;
}

/* Container Layout */
.contact-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 10px;
  overflow: hidden;
}

.contact-layout {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  align-items: stretch;
  text-align: left;
}

/* Left Column: Contact details */
.contact-details {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.85);
  min-width: 0;
}

.contact-details h2, .contact-feedback h2 {
  font-family: 'VT323', monospace;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  padding-bottom: 3px;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-list .label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-list .value {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-list .value.font-vt {
  font-family: 'VT323', monospace;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1;
}

.contact-list a.value.link {
  font-family: 'Share Tech Mono', monospace;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  align-self: flex-start;
}

.contact-list a.value.link:hover {
  color: #fff;
  border-bottom-style: solid;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Right Column: Feedback input */
.contact-feedback {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 10px 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.85);
  min-width: 0;
}

.suggestion-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 8px 0;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

#comment-input {
  width: 100%;
  height: 68px;
  background: rgba(0, 0, 0, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  padding: 6px 8px;
  box-sizing: border-box;
  resize: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#comment-input:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

#comment-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.submit-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.submit-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

/* Success Receipt Screen */
.feedback-success {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
  align-items: flex-start;
  flex-grow: 1;
  padding: 10px 0;
  font-family: 'Share Tech Mono', monospace;
}

.success-line {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  animation: type-line 0.3s steps(30) forwards;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
}

.success-line:nth-child(1) { animation-delay: 0.2s; }
.success-line:nth-child(2) { animation-delay: 0.8s; }
.success-line:nth-child(3) { animation-delay: 1.4s; }
.success-line:nth-child(4) { animation-delay: 2.0s; }

.status-green {
  color: #00ff66 !important;
  text-shadow: 0 0 4px rgba(0, 255, 102, 0.5);
  font-weight: bold;
}

.note-text {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
}

.hidden {
  display: none !important;
}

@keyframes type-line {
  from { width: 0; }
  to { width: 100%; }
}

/* Responsive adjustment for small monitors */
@media (max-width: 480px) {
  .contact-layout {
    flex-direction: column;
    gap: 10px;
  }
}
