/* UI UTIL */
.text-center{
	text-align: center;
}

/* Pulse wrapper */
.ppls-pulse {
	max-width: 640px;
	margin: 1.5em 0;
	padding: 1.25em;
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	background: #fff;
}

/* Pulse title */
.ppls-pulse-title {
	margin: 0 0 1em;
	font-size: 1.25rem;
	font-weight: 600;
}

/* Question */
.ppls-question {
	margin-bottom: 1.25em;
}
.ppls-question-text {
	margin: 0 0 0.5em;
	font-weight: 500;
}

/* Yes/No input + emoji */
.ppls-question label {
	display: inline-flex;
	align-items: center;
	margin-right: 1em;
	cursor: pointer;
}
.ppls-question input[type="radio"] {
	margin-right: 0.4em;
}
.ppls-emoji {
	display: inline-block;
	font-size: 1.4rem;
	line-height: 1;
}
.ppls-emoji[data-emoji="happy"]::before {
	content: "\1F600";
}

.ppls-emoji[data-emoji="neutral"]::before {
	content: "\1F610";
}

.ppls-emoji[data-emoji="sad"]::before {
	content: "\1F61E";
}

/* Text input */
.ppls-question input[type="text"],
.ppls-question textarea {
	width: 100%;
	padding: 0.5em 0.6em;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}
.ppls-question textarea {
	min-height: 90px;
	resize: vertical;
}

/* Submit button */
.ppls-submit {
	margin-top: 1em;
}
.ppls-submit button {
	padding: 0.6em 1.2em;
	font-size: 1rem;
	border-radius: 4px;
	border: none;
	cursor: pointer;
}

/* Disabled button */
.ppls-submit button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Success and error messages */
.ppls-success {
	padding: 1em;
	border-radius: 4px;
	background: #f0f9f0;
	border: 1px solid #cce5cc;
}
.ppls-error {
	margin-top: 1em;
	color: #b00020;
	font-size: 0.95rem;
}
.ppls-help-text {
	margin-top: 4px;
	font-size: 12px;
	color: #666;
}

/* Inline question */
.ppls-option-btn {
	transition: transform 0.08s ease;
}

.ppls-option-btn:hover {
	transform: scale(1.05);
}

.ppls-option-btn:active {
	transform: scale(0.94);
}

.ppls-option-btn.is-selected {
	background: #2271b1;
	color: #fff;
	transform: scale(1.08);
	transition: all 0.15s ease;
}

.ppls-inline-question.is-loading {
	opacity: 0.7;
}

.ppls-feedback {
	opacity: 0;
	transform: translateY(6px);
	transition: all 0.2s ease;
}

.ppls-feedback.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ppls-inline-question {
	transition: opacity 0.3s ease;
}

.ppls-inline-question.is-fading {
	opacity: 0;
}

.ppls-inline-question[data-answered="1"] {
	display: none !important;
}

.ppls-inline-question {
    background: #F2F2F0;
    border-radius: 6px;
    padding: 15px;
	margin: 1em 0;
}

.ppls-inline-question p {
    margin-bottom: 10px;
}

.ppls-inline-question button {
    border-radius: 6px;
    background: lightslategray;
    padding: 8px 16px;
}

.ppls-option-label img.emoji {
	filter: grayscale(100%);
}