/* our-net custom styles */

:root {
  --primary-color: #5c6bc0;
  --primary-dark: #3949ab;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

/* Feature icons */
.feature-icon {
  font-size: 1.5rem;
}

/* Interest checkboxes */
.interest-check {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.interest-check:hover {
  border-color: var(--primary-color);
}

.interest-check input:checked + label {
  color: var(--primary-color);
  font-weight: 500;
}

.interest-check:has(input:checked) {
  border-color: var(--primary-color);
  background-color: rgba(92, 107, 192, 0.1);
}

/* Quiz options */
.quiz-option {
  padding: 1rem;
  border: 2px solid #dee2e6;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}

.quiz-option:hover {
  border-color: var(--primary-color);
}

.quiz-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(92, 107, 192, 0.1);
}

/* Match cards */
.match-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.match-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.match-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.compatibility-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Chat */
.chat-container {
  height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.message {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
}

.message.sent {
  background: var(--primary-color);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 0.25rem;
}

.message.received {
  background: #f0f0f0;
  border-bottom-left-radius: 0.25rem;
}

.chat-input {
  border-top: 1px solid #dee2e6;
  padding: 1rem;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 0.5rem;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .message {
    max-width: 85%;
  }
}
