* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

header {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  color: #667eea;
  margin-bottom: 10px;
}

header p {
  color: #666;
  font-size: 18px;
}

.logout-btn {
  background: #ff7675;
  padding: 10px 20px;
  font-size: 14px;
}

.logout-btn:hover {
  background: #d63031;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: #667eea;
  margin-bottom: 20px;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
}

.modal-content button {
  background: #667eea;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.modal-content button:hover {
  background: #5568d3;
}

.auth-modal {
  min-width: 350px;
}

.auth-modal form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-subtitle {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.error-message {
  color: #d63031;
  font-size: 14px;
  text-align: center;
  margin: 0;
  min-height: 20px;
}

.add-dare-form {
  background: white;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-dare-form h2 {
  color: #667eea;
  margin-bottom: 15px;
}

textarea {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 2px solid #ddd;
  border-radius: 5px;
  margin-bottom: 15px;
  font-family: inherit;
  resize: vertical;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #555;
  font-weight: 600;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 10px 20px;
  border-radius: 25px;
  border: 2px solid #ddd;
  background: white;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 600;
  user-select: none;
}

.pill:hover {
  border-color: #667eea;
  background: #f0f2ff;
}

.pill.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

button {
  background: #667eea;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #5568d3;
}

.dares-list {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dares-list h2 {
  color: #667eea;
  margin-bottom: 20px;
}

.dare-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid #667eea;
}

.dare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.dare-tags {
  display: flex;
  gap: 10px;
}

.tag {
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.intensity {
  background: #ffeaa7;
  color: #d63031;
}

.category {
  background: #ffeaa7;
  color: #d63031;
  text-transform: uppercase;
  font-weight: 700;
}

.gender {
  background: #74b9ff;
  color: #0984e3;
}

.gender::before {
  content: 'For: ';
}

.dare-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
}

.dare-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.added-by {
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.dare-actions {
  display: flex;
  gap: 8px;
}

.edit-btn,
.delete-btn {
  padding: 6px 12px;
  font-size: 13px;
}

.edit-btn {
  background: #55efc4;
  color: #00b894;
}

.edit-btn:hover {
  background: #00b894;
  color: white;
}

.delete-btn {
  background: #ff7675;
  color: white;
}

.delete-btn:hover {
  background: #d63031;
}

.hidden {
  display: none;
}