/* Tailwind-inspired CSS with custom travel theme */
/* Reset and base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html, body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Custom Colors */
:root {
  --primary-blue: #1e40af;
  --primary-blue-light: #3b82f6;
  --primary-blue-dark: #1e3a8a;
  --secondary-orange: #f97316;
  --secondary-orange-light: #fb923c;
  --accent-green: #059669;
  --accent-green-light: #10b981;
}

/* Font Families */
.font-sans { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }
.font-heading { font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif; }

/* Font Weights */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Font Sizes */
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* Colors */
.text-white { color: rgb(255 255 255); }
.text-gray-50 { color: rgb(249 250 251); }
.text-gray-100 { color: rgb(243 244 246); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-gray-800 { color: rgb(31 41 55); }
.text-primary-blue { color: var(--primary-blue); }

/* Background Colors */
.bg-white { background-color: rgb(255 255 255); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-gray-100 { background-color: rgb(243 244 246); }
.bg-primary-blue { background-color: var(--primary-blue); }
.bg-primary-blue-light { background-color: var(--primary-blue-light); }
.bg-secondary-orange { background-color: var(--secondary-orange); }
.bg-secondary-orange-light { background-color: var(--secondary-orange-light); }
.bg-accent-green { background-color: var(--accent-green); }
.bg-transparent { background-color: transparent; }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-primary-blue { --tw-gradient-from: var(--primary-blue); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-primary-blue-light { --tw-gradient-to: var(--primary-blue-light); }
.to-secondary-orange { --tw-gradient-to: var(--secondary-orange); }

/* Blue gradient utilities */
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-blue-700 { --tw-gradient-to: #1d4ed8; }
.hover\\:from-blue-700:hover { --tw-gradient-from: #1d4ed8; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.hover\\:to-blue-800:hover { --tw-gradient-to: #1e40af; }

/* Layout */
.min-h-screen { min-height: 100vh; }
.min-h-\[42vh\] { min-height: 42vh; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }

/* Display */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.inline { display: inline; }

/* Flexbox */
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.items-flex-start { align-items: flex-start; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }

/* Grid */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Gap */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Padding */
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Margin */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

/* Width/Height */
.w-20 { width: 5rem; }
.h-20 { height: 5rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }

/* Min height utilities */
.min-h-\[60px\] { min-height: 60px; }
.min-h-\[48px\] { min-height: 48px; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0px; }
.inset-0 { inset: 0px; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-gray-100 { border-color: rgb(243 244 246); }
.border-0 { border-width: 0px; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)); }

/* Text Alignment */
.text-center { text-align: center; }

/* Line Height */
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Opacity */
.opacity-95 { opacity: 0.95; }
.opacity-0 { opacity: 0; }
.hover\\:opacity-10:hover { opacity: 0.1; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Transform */
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hover\\:-translate-y-1:hover { --tw-translate-y: -0.25rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.hover\\:-translate-y-2:hover { --tw-translate-y: -0.5rem; transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }

/* Hover States */
.hover\\:text-gray-100:hover { color: rgb(243 244 246); }
.hover\\:bg-white\/10:hover { background-color: rgb(255 255 255 / 0.1); }
.hover\\:bg-secondary-orange-light:hover { background-color: var(--secondary-orange-light); }
.hover\\:bg-primary-blue:hover { background-color: var(--primary-blue); }
.hover\\:text-white:hover { color: rgb(255 255 255); }
.hover\\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Responsive Design */
@media (min-width: 768px) {
  .md\\:flex-row { flex-direction: row; }
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\\:text-5xl { font-size: 3rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* Additional utilities for forms and components */

/* Spacing utilities */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Width/Height additions */
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-full { width: 100%; }

/* Max width additions */
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }

/* Padding additions */
.pl-12 { padding-left: 3rem; }
.pr-4 { padding-right: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-6 { padding-bottom: 1.5rem; }

/* Colors additions */
.text-red-600 { color: rgb(220 38 38); }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-primary-blue { border-color: var(--primary-blue); }
.focus\\:border-primary-blue:focus { border-color: var(--primary-blue); }
.focus\\:bg-white:focus { background-color: rgb(255 255 255); }
.focus\\:shadow-sm:focus { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.focus\\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* Text utilities */
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }

/* Border utilities */
.border-t { border-top-width: 1px; }
.rounded-2xl { border-radius: 1rem; }

/* Gradient backgrounds */
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-gray-50 { --tw-gradient-from: rgb(249 250 251); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-gray-100 { --tw-gradient-to: rgb(243 244 246); }
.from-accent-green { --tw-gradient-from: var(--accent-green); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.to-accent-green-light { --tw-gradient-to: var(--accent-green-light); }

/* Focus ring */
.focus\\:ring-primary-blue:focus { --tw-ring-color: var(--primary-blue); box-shadow: 0 0 0 3px rgb(30 64 175 / 0.1); }

/* Hover text colors */
.hover\\:text-primary-blue-dark:hover { color: var(--primary-blue-dark); }

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transform: translate3d(0,0,0);
  }

  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -8px, 0);
  }

  70% {
    animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
    transform: translate3d(0, -4px, 0);
  }

  90% {
    transform: translate3d(0,-1px,0);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Tab functionality */
.tab-pane {
  display: none !important;
}

.tab-pane.active {
  display: block !important;
}

.tab-button.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* Scrollbar hide for horizontal scroll */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* Backdrop blur */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* Additional utility classes */
.min-w-full { min-width: 100%; }
.overflow-x-auto { overflow-x: auto; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* Block display */
.block { display: block; }

/* Hidden utility */
.hidden { display: none !important; }

/* Additional padding/margin utilities */
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-3 { padding-right: 0.75rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-12 { margin-bottom: 3rem; }
.ml-8 { margin-left: 2rem; }
.mt-6 { margin-top: 1.5rem; }
.pt-6 { padding-top: 1.5rem; }

/* Width/Height utilities */
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }

/* Text utilities */
.text-gray-500 { color: rgb(107 114 128); }
.text-gray-400 { color: rgb(156 163 175); }
.text-gray-800 { color: rgb(31 41 55); }
.text-gray-600 { color: rgb(75 85 99); }
.text-gray-700 { color: rgb(55 65 81); }
.text-red-500 { color: rgb(239 68 68); }
.text-red-600 { color: rgb(220 38 38); }
.text-green-600 { color: rgb(22 163 74); }
.text-blue-600 { color: rgb(37 99 235); }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-relaxed { line-height: 1.625; }

/* Additional colors */
.text-white\/90 { color: rgb(255 255 255 / 0.9); }
.bg-white\/10 { background-color: rgb(255 255 255 / 0.1); }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-gray-100 { background-color: rgb(243 244 246); }
.bg-gray-50 { background-color: rgb(249 250 251); }
.bg-red-50 { background-color: rgb(254 242 242); }
.bg-red-500 { background-color: rgb(239 68 68); }
.bg-green-100 { background-color: rgb(220 252 231); }
.bg-green-500 { background-color: rgb(34 197 94); }
.bg-blue-100 { background-color: rgb(219 234 254); }
.bg-red-100 { background-color: rgb(254 226 226); }
.border-gray-200 { border-color: rgb(229 231 235); }
.border-gray-300 { border-color: rgb(209 213 219); }
.border-red-200 { border-color: rgb(254 202 202); }
.border-green-300 { border-color: rgb(134 239 172); }
.border-blue-300 { border-color: rgb(147 197 253); }
.border-red-300 { border-color: rgb(252 165 165); }
.border-blue-200 { border-color: rgb(191 219 254); }
.border-green-200 { border-color: rgb(187 247 208); }
.border-red-200 { border-color: rgb(254 202 202); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-y-0 { top: 0px; bottom: 0px; }
.left-0 { left: 0px; }

/* Additional border utilities */
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-transparent { border-color: transparent; }

/* Hover effects */
.hover\\:border-primary-blue-light:hover { border-color: var(--primary-blue-light); }
.hover\\:bg-accent-green-light:hover { background-color: var(--accent-green-light); }
.hover\\:bg-primary-blue-dark:hover { background-color: var(--primary-blue-dark); }
.hover\\:bg-gray-700:hover { background-color: rgb(55 65 81); }
.hover\\:bg-gray-50:hover { background-color: rgb(249 250 251); }
.hover\\:bg-green-50:hover { background-color: rgb(240 253 244); }
.hover\\:bg-blue-50:hover { background-color: rgb(239 246 255); }
.hover\\:bg-red-50:hover { background-color: rgb(254 242 242); }
.hover\\:border-green-200:hover { border-color: rgb(187 247 208); }
.hover\\:border-blue-200:hover { border-color: rgb(191 219 254); }
.hover\\:border-red-200:hover { border-color: rgb(254 202 202); }
.hover\\:text-gray-700:hover { color: rgb(55 65 81); }

/* Additional spacing utilities */
.pl-6 { padding-left: 1.5rem; }
.mt-3 { margin-top: 0.75rem; }

/* Border utilities */
.border-l-2 { border-left-width: 2px; }

/* Transform utilities */
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Button styles */
.btn-travel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid;
  cursor: pointer;
}

.btn-primary-travel {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
}

.btn-primary-travel:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

.btn-secondary-travel {
  background-color: var(--secondary-orange);
  color: white;
  border-color: var(--secondary-orange);
}

.btn-secondary-travel:hover {
  background-color: var(--secondary-orange-light);
  border-color: var(--secondary-orange-light);
}

.btn-outline-travel {
  background-color: white;
  color: rgb(55 65 81);
  border-color: rgb(209 213 219);
}

.btn-outline-travel:hover {
  background-color: rgb(249 250 251);
  border-color: rgb(156 163 175);
}

.btn-danger-travel {
  background-color: rgb(239 68 68);
  color: white;
  border-color: rgb(239 68 68);
}

.btn-danger-travel:hover {
  background-color: rgb(220 38 38);
  border-color: rgb(220 38 38);
}

/* Vote icon styles */
.vote-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid;
  border-radius: 0.5rem;
  background-color: rgb(249 250 251);
  border-color: rgb(209 213 219);
  color: rgb(55 65 81);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.vote-icon:hover {
  background-color: rgb(243 244 246);
}

.vote-icon.selected {
  border-width: 2px;
}

.vote-icon.preferred.selected {
  background-color: rgb(220 252 231);
  border-color: rgb(134 239 172);
  color: rgb(21 128 61);
}

.vote-icon.available.selected {
  background-color: rgb(219 234 254);
  border-color: rgb(147 197 253);
  color: rgb(29 78 216);
}

.vote-icon.not-available.selected {
  background-color: rgb(254 226 226);
  border-color: rgb(252 165 165);
  color: rgb(185 28 28);
}

/* Vote counts */
.vote-counts {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgb(107 114 128);
}

.vote-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Custom Polls Section Styling */
.suggestion-form {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgb(229 231 235);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: rgb(55 65 81);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.error-message {
  font-size: 0.875rem;
  color: rgb(239 68 68);
  font-weight: 500;
  margin-top: 0.25rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(209 213 219);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Poll Type Selector */
.poll-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.poll-type-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid rgb(229 231 235);
  border-radius: 0.75rem;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.poll-type-btn:hover {
  border-color: var(--primary-blue-light);
  background-color: rgb(239 246 255);
}

.poll-type-btn.active {
  border-color: var(--primary-blue);
  background-color: rgb(219 234 254);
}

.poll-type-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.poll-type-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.poll-type-title {
  font-weight: 600;
  color: rgb(17 24 39);
  margin-bottom: 0.25rem;
}

.poll-type-desc {
  font-size: 0.875rem;
  color: rgb(107 114 128);
}

.help-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgb(219 234 254);
  border: 1px solid rgb(147 197 253);
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.help-icon {
  font-size: 1.25rem;
}

.help-text {
  font-size: 0.875rem;
  color: rgb(29 78 216);
}

/* Poll Cards */
.suggestion-card {
  background: white;
  border: 1px solid rgb(229 231 235);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.suggestion-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgb(229 231 235);
}

.suggestion-info {
  flex: 1;
}

.suggestion-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(17 24 39);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Poll Organizer Controls */
.poll-organizer-controls {
  display: flex;
  flex-shrink: 0;
  margin-left: 1rem;
}

.organizer-controls-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Yes/No Poll Options */
.yes-no-options {
  margin: 1.5rem 0;
}

.yes-no-option {
  background: rgb(249 250 251);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgb(229 231 235);
}

.poll-question-header {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(17 24 39);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.poll-question-number {
  background: var(--primary-blue);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.poll-question-title {
  flex: 1;
}

/* Comments Section */
.comments-section {
  border-top: 1px solid rgb(229 231 235);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

.comments-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(55 65 81);
  margin-bottom: 1rem;
}

.comment-form {
  margin-bottom: 1.5rem;
}

.comment-form-field {
  margin-bottom: 1rem;
}

.comment-form .form-input {
  min-height: 4rem;
  resize: vertical;
}

.comment-add-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

.no-comments {
  text-align: center;
  padding: 2rem;
  color: rgb(107 114 128);
  font-style: italic;
}

/* Comments Display */
.comments-display {
  space-y: 1.5rem;
}

.comment-thread {
  margin-bottom: 1.5rem;
}

.comment {
  background: white;
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-author {
  font-weight: 600;
  color: rgb(17 24 39);
}

.comment-time {
  font-size: 0.875rem;
  color: rgb(107 114 128);
}

.comment-reply-btn {
  font-size: 0.875rem;
  color: var(--primary-blue);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s ease;
}

.comment-reply-btn:hover {
  background-color: rgb(239 246 255);
}

.comment-content {
  line-height: 1.6;
  color: rgb(55 65 81);
}

.comment-reply {
  margin-left: 1.5rem;
  border-left: 3px solid rgb(219 234 254);
  background: rgb(248 250 252);
}

.comment-replies {
  margin-left: 1.5rem;
  border-left: 2px solid rgb(229 231 235);
  padding-left: 1rem;
}

/* Reply Form */
.reply-form {
  background: rgb(248 250 252);
  border: 1px solid rgb(229 231 235);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 0.75rem;
  margin-left: 1.5rem;
}

.reply-form .form-input {
  min-height: 3rem;
}

.reply-form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cancel-reply-btn {
  background: rgb(107 114 128);
  color: white;
}

.cancel-reply-btn:hover {
  background: rgb(75 85 99);
}

/* Rank Order Polls */
.rank-order-section {
  margin: 1.5rem 0;
  background: rgb(248 250 252);
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.rank-order-section h5 {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgb(55 65 81);
  margin-bottom: 1rem;
}

.rank-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rank-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid rgb(209 213 219);
  border-radius: 0.5rem;
  padding: 1rem;
}

.rank-option-text {
  font-weight: 500;
  color: rgb(17 24 39);
}

.rank-input {
  width: 4rem;
  padding: 0.5rem;
  border: 1px solid rgb(209 213 219);
  border-radius: 0.25rem;
  text-align: center;
  font-weight: 600;
}

.rank-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Vote Summary and Results */
.vote-summary {
  background: rgb(249 250 251);
  border: 1px solid rgb(229 231 235);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.rank-results {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
}

.rank-results h5 {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(55 65 81);
  margin-bottom: 1rem;
}

.rank-results-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: ranking;
}

.rank-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgb(229 231 235);
  counter-increment: ranking;
}

.rank-result-item::before {
  content: counter(ranking) ".";
  font-weight: 700;
  color: var(--primary-blue);
  margin-right: 0.5rem;
  min-width: 1.5rem;
}

.rank-option-name {
  font-weight: 500;
  color: rgb(17 24 39);
  flex: 1;
}

.rank-score {
  font-size: 0.875rem;
  color: rgb(107 114 128);
  font-weight: 500;
}

/* Voting Section Improvements */
.voting-section {
  background: rgb(248 250 252);
  border: 1px solid rgb(219 234 254);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.voting-section h5 {
  font-size: 1rem;
  font-weight: 600;
  color: rgb(55 65 81);
  margin-bottom: 1rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .poll-type-selector {
    grid-template-columns: 1fr;
  }
  
  .suggestion-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .poll-organizer-controls {
    margin-left: 0;
  }
  
  .organizer-controls-group {
    justify-content: flex-start;
  }
  
  .rank-option {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .rank-input {
    width: 100%;
  }
}