/* =====================================
   PEER UP SURVEY – MODERN CLEAN STYLES
   Based on Tailwind-like design tokens
   ===================================== */

:root {
	--bg: #1a2a44;
	--surface: rgba(255, 255, 255, 0.06);
	--border: rgba(255, 255, 255, 0.12);
	--elev: rgba(0, 0, 0, 0.35);
	--accent: #00b8f1;
	--accent2: #6dffe7;
	--text: #ffffff;
	--muted: rgba(255, 255, 255, 0.78);
	--error: #ff6b6b;
	--radius: 18px;
}

body {
	margin: 0;
	color: var(--text);
	background: #bcbdbe;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter,
		Roboto, "Helvetica Neue", Arial, "Noto Sans";
	font-weight: 600;
	line-height: 1.6;
}

/* =====================================
   LAYOUT CONTAINER
   ===================================== */
.wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(2rem, 6vw, 5rem) 1rem;
}

.card {
	width: 100%;
	max-width: 520px;
	background: #fff;
	border: 1px solid var(--border);
	backdrop-filter: blur(12px);
	border-radius: var(--radius);
	box-shadow: 0 10px 30px var(--elev);
	padding: 28px 24px 40px;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.3s ease;
	z-index:9999;
}

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

/* =====================================
   TOP PROGRESS INDICATOR
   ===================================== */
.top {
	margin: 4px 0 22px;
}
.step-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: var(--muted);
}
.track {
	position: relative;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
	margin-top: 10px;
	opacity:0;
}
.bar {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0%;
	background: linear-gradient(90deg, var(--accent), var(--accent2));
	transition: width 0.3s ease;
}
 /* Step Progress Bar */
   .dots {
     display: flex;
     gap: 8px;
     align-items: center;
     justify-content: center;
   }

   .dot {
     width: 40px;
     height: 8px;
     border-radius: 6px;
     background-color: #E8E8EB;
     transition: background-color 0.3s ease;
     position: relative;
   }

   .dot.active {
     background-color: #100F1A;
   }

   .dot.completed {
     background-color: #100F1A;
   }

   /* Hover effects for interactive dots */
   .dot:not(.active):not(.completed):hover {
     background-color: #D0D0D0;
     cursor: pointer;
   }

   /* Mobile responsive */
   @media screen and (max-width: 768px) {
     .dot {
       width: 32px;
       height: 10px;
       border-radius: 5px;
     }
     
     .dots {
       gap: 6px;
     }
   }

   @media screen and (max-width: 480px) {
     .dot {
       width: 28px;
       height: 8px;
       border-radius: 4px;
     }
     
     .dots {
       gap: 4px;
     }
   }

/* =====================================
   QUESTION SECTIONS
   ===================================== */
h2 {
	margin: 8px 0 10px;
	font-size: 1.45rem;
}
.peerup-survey-card h2{
	font-size:16px !important;
	color:black !important;
	line-height:1 !important;
	padding-bottom:2rem;
	font-weight:300 !important;
	
}
label , input{
	font-weight:300 !important;
}
p {
	margin: 0 0 14px;
	color: var(--muted);
	font-weight: 600;
}

.screen {
	display: none;
	animation: fade 0.25s ease;
}
.screen.active {
	display: block;
}
@keyframes fade {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* =====================================
   RADIO + CHOICE BOXES
   ===================================== */
.choice {
	cursor: pointer;
	color:#000000;
}
.choice-input{
	display:flex;
	gap:5px;
}
.choice:hover {
	background: rgba(255, 255, 255, 0.14);
}
.choice:has(input[type="radio"]:checked) {
	border-color: var(--accent);
	background: rgba(255, 255, 255, 0.16);
}
input[type="radio"] {
	accent-color: #001d45;
	margin-right: 8px;
	cursor: pointer;
}

/* =====================================
   TEXT INPUTS & SELECTS
   ===================================== */
input[type="text"],
input[type="email"],
select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	margin-top: 10px;
	background: rgb(70 70 70 / 10%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #000;
	outline: none;
	transition: border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	font-weight: 600;
}
input[type="text"]::placeholder,
input[type="email"]::placeholder {
	color: #000;
}
input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
	border-color: var(--accent);
	background: rgba(255, 255, 255, 0.14);
	box-shadow: 0 0 0 3px rgba(0, 184, 241, 0.35);
}
#background{
	padding:10px;
	color:#000;
	font-weight:300;
}

/* =====================================
   SLIDERS
   ===================================== */
.slider-label {
	font-weight: 300;
    margin-top: 8px;
    text-align: left;
    color: #000 !important;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
/* Range Slider Styles */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 14px 0 18px;
  background: #E8E8EB;
  cursor: pointer;
  height: 16px;
  border-radius: 10px;
  outline: none;
}

/* Webkit browsers (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-track {
  background: #E8E8EB;
  height: 15px;
  border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #100F1A;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

/* Progress fill effect - will be updated dynamically with JavaScript */
input[type="range"] {
  background: #E8E8EB;
}

/* Focus states */
input[type="range"]:focus {
  outline: none;
}

input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(16, 15, 26, 0.2);
}

/* Hover effects */
input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}
/* =====================================
   SORTABLE LIST
   ===================================== */
.list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.item {
	background: rgba(255, 255, 255, 0.09);
    border: 1px solid #0003;
    border-radius: 14px;
    padding: 13px 14px;
    margin: 10px 0;
    cursor: grab;
    user-select: none;
    transition: background 0.2s ease, transform 0.1s ease, border 0.2s ease,
		outline 0.2s ease;
    color: #000;
    display: flex;
    justify-content: space-between;
    font-weight: 300;
}
.item:hover {
	background: rgba(255, 255, 255, 0.14);
}
.item.dragging {
	opacity: 0.6;
	outline: 2px solid var(--accent);
}

/* =====================================
   ERROR TEXT
   ===================================== */
.error {
	color: var(--error);
	font-size: 0.95rem;
	margin-top: 8px;
	text-align: left;
	min-height: 1em;
}

/* =====================================
   NAV BUTTONS
   ===================================== */
.nav {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	border-top: 1px solid #e5e5e5;
	padding-top:20px;
}

.btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}


/* =====================================
   THANK YOU STATE
   ===================================== */
.thankyou {
	padding: 60px 10px;
	text-align: center;
	font-size: 1.25rem;
	color: #000;
	font-weight: 700;
}

/* =====================================
   RESPONSIVE ADJUSTMENTS
   ===================================== */
@media (max-width: 560px) {
	.card {
		padding: 22px 18px 90px;
	}
	.nav {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.btn {
		width: 100%;
	}
}
#price-other{
	border
}