/**
 * EJ Decide — estilos do componente "A BASE".
 *
 * Sem fundo azul: componente neutro para ser inserido em qualquer página.
 */

.ejd-base-wrap {
	font-family: Montserrat, sans-serif;
	padding: 32px 0;
	color: #fff;
	background: transparent;
	background-image: none;
}

.ejd-base-counters {
	text-align: center;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 24px;
}

.ejd-base-nav {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-bottom: 12px;
}

.ejd-base-nav-btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.85);
	background: transparent;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

@media (max-width: 768px) {
	.ejd-base-nav-btn {
		width: 40px;
		height: 40px;
		font-size: 15px;
	}
}

.ejd-base-nav-btn:hover,
.ejd-base-nav-btn:focus,
.ejd-base-nav-btn:active {
	background-color: rgba(255, 255, 255, 0.15) !important;
	color: #fff !important;
	text-decoration: none;
}

.ejd-base-nav-btn.active {
	background: #ffdf9e;
	color: #2845A4;
	border-color: #ffdf9e;
}

.ejd-base-areas {
	margin: 0 auto;
}

.ejd-base-area {
	display: none;
}

.ejd-base-area.active {
	display: block;
}

.ejd-base-area-card {
	background: #fff;
	color: #2b1613;
	padding: 28px;
	border-radius: 28px;
}

@media (min-width: 768px) {
	.ejd-base-area-card {
		padding: 40px;
	}
}

.ejd-base-area-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e3e0da;
}

@media (max-width: 768px) {
	.ejd-base-area-header {
		gap: 12px;
		margin-bottom: 16px;
		padding-bottom: 12px;
		flex-direction: column;
	}
}

.elementor-kit-5 h3.ejd-base-area-title {
	font-size: 48px;
    font-weight: 800;
	color: #2845A4;
	line-height: 1.3;
	margin: 0;
	flex: 1;
}

@media (min-width: 768px) {
.elementor-kit-5 h3.ejd-base-area-title {
		font-size: 24px;
	}
}

.ejd-base-area-count {
	white-space: nowrap;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6b6b6b;
}

.ejd-base-proposals {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 16px;
	margin-bottom: 24px;
}

.ejd-base-proposals::-webkit-scrollbar {
	height: 8px;
}

.ejd-base-proposals::-webkit-scrollbar-track {
	background: #f0f0f0;
	border-radius: 4px;
}

.ejd-base-proposals::-webkit-scrollbar-thumb {
	background: #c0c0c0;
	border-radius: 4px;
}

.ejd-base-proposal {
	width: 450px;
	flex: 0 0 auto;
	background: #fff;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	scroll-snap-align: start;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

@media (max-width: 768px) {
	.ejd-base-proposal {
		padding: 16px;
	}
}

@media (max-width: 480px) {
	.ejd-base-proposal {
		width: 300px;
	}
}

.ejd-base-proposal > p {
	font-size: 15px;
	line-height: 1.55;
	color: #2b1613;
	margin: 0 0 20px;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

.ejd-base-vote {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
}

.ejd-base-btn {
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 8px 16px;
	border: 1px solid #2845A4;
	background: #fff;
	color: #2845A4;
	border-radius: 0;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ejd-base-btn:hover,
.ejd-base-btn:focus,
.ejd-base-btn:active {
	background-color: #2845A4 !important;
	color: #fff !important;
	border-color: #2845A4 !important;
	text-decoration: none;
}

.ejd-base-btn-primary {
	background: #2845A4;
	color: #fff;
	border-color: #2845A4;
}

.ejd-base-btn-primary:hover,
.ejd-base-btn-primary:active,
.ejd-base-btn-primary:focus {
	background-color: #1a2f75 !important;
	color: #fff !important;
	border-color: #1a2f75 !important;
	text-decoration: none;
}

.ejd-base-like-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #cf2e2e;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.ejd-base-like-btn:hover,
.ejd-base-like-btn:focus,
.ejd-base-like-btn:active {
	background-color: rgba(207, 46, 46, 0.1) !important;
	color: #cf2e2e !important;
	text-decoration: none;
}

.ejd-like-indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #cf2e2e;
}

.ejd-heart-icon {
	font-size: 16px;
	line-height: 1;
}

.ejd-base-vote-count {
	font-family: Montserrat, sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #2b1613;
	min-width: 1.2em;
}

.ejd-base-vote-message {
	display: block;
	width: 100%;
	flex-basis: 100%;
	font-size: 13px;
	margin-top: 8px;
}

.ejd-base-vote-message.ejd-message-error {
	color: #b00;
}

.ejd-base-add-proposal {
	border-top: 1px solid #e3e0da;
	padding-top: 24px;
}

.ejd-base-comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #e3e0da;
	border-radius: 4px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	resize: vertical;
	min-height: 100px;
	box-sizing: border-box;
}

.ejd-base-comment-form textarea:focus {
	outline: 2px solid #2845A4;
	outline-offset: 2px;
}

.ejd-base-form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 12px;
}

.ejd-base-form-message {
	font-size: 14px;
	margin: 12px 0 0;
}

.ejd-base-form-message.ejd-message-error {
	color: #b00;
}

/* Ajustes do popup de autenticação quando renderizado dentro do componente. */
.ejd-base-wrap .ejd-auth-popup {
	color: #2b1613;
}

.ejd-base-wrap .ejd-auth-popup h2 {
	color: #2b1613;
}

.ejd-base-wrap .ejd-auth-popup-close {
	color: #6b6b6b;
	background: transparent;
}

.ejd-base-wrap .ejd-auth-popup-close:hover,
.ejd-base-wrap .ejd-auth-popup-close:active,
.ejd-base-wrap .ejd-auth-popup-close:focus {
	color: #2b1613 !important;
	background-color: transparent !important;
	text-decoration: none;
}

.ejd-base-pending {
	color: #6b6b6b;
	font-style: italic;
	margin: 0;
}
