@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700&display=swap');

* {
    font-family: 'Noto Sans', sans-serif;
}

:root {
  /* Dark theme variables */
  --primary: #fe0;        
  --primary-hover: #ff5; 
  --background: #18191a;    
  --surface: #242526;       
  --text: #f8f9fa;           /* Slightly off-white */
  --text-secondary: #b0b3b8;  /* Warmer gray */
  --text-input-border: #555448;
  --text-input-background: #2c2c1f;
}

body {
  color: var(--text);
  background-color: var(--background);
}

h1 {
  font-size: 2rem;
  font-weight: 600;
}

hr {
  border-top: 1px solid rgb(51, 49, 49);
}

.primary-button {
  background-color: var(--primary);
  color: black;
  transition: background-color 0.2s ease;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
}

.primary-button:hover {
  background-color: var(--primary-hover);
}

.surface {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 60px;
  max-width: 800px;
  margin: 2rem auto;
}

.text-secondary {
  color: var(--text-secondary);
}

/* Form styles */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.question-container {
  background-color: var(--surface);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);  /* Lighter shadow */
  padding: 1rem;
}

.question-text {
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

.options-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.text-input, .email-input {
  background-color: var(--text-input-background);
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--text-input-border);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text);
  box-sizing: border-box; /* Include padding and border in width calculation */
}

.text-input:focus, .email-input:focus {
  outline: none;
  border-color: var(--primary);
}

.question-container.invalid {
    border-left: 3px solid #ff4444;
    padding-left: 1rem;
}

.text-area {
    max-width: 100%;
    max-height: 200px;
    min-height: 100px;
    resize: vertical;
}

/* Message Overlay */
.message-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-box {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.message-box button {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    border: none;
    background-color: var(--primary);
    color: black;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.message-box button:hover {
    background-color: var(--primary-hover);
}
