/**
 * Δάφνη — Φόρμα MailPoet «Ενημερωτικό δελτίο» στο υποσέλιδο.
 * Αντιγράφει την εμφάνιση της παλιάς φόρμας Elementor (πεδίο-χάπι, λευκό κουμπί δεξιά).
 * Ο περιέκτης στο υποσέλιδο έχει την κλάση dafnis-newsletter.
 */

.dafnis-newsletter .mailpoet_form,
.dafnis-newsletter form.mailpoet_form {
	position: relative;
	margin: 0;
	padding: 0 !important;
	background: transparent;
}

.dafnis-newsletter .mailpoet_paragraph {
	margin: 0 !important;
	line-height: normal !important;
}

/* Πεδίο email */
.dafnis-newsletter .mailpoet_text {
	display: block;
	width: 100% !important;
	height: 50px !important;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 8px 150px 8px 16px !important;
	font-family: "Noto Sans", sans-serif;
	font-size: 18px !important;
	line-height: 27px !important;
	color: #0c0d0e;
	background: #fff;
	border: 1px solid #d6d5d5;
	border-radius: 1000px;
	box-shadow: none;
}

.dafnis-newsletter .mailpoet_text::placeholder {
	color: #000;
	opacity: 1;
}

.dafnis-newsletter .mailpoet_text:focus,
.dafnis-newsletter .mailpoet_text:focus-visible {
	outline: none;
	box-shadow: none;
	border-color: #d6d5d5 !important;
}

/* Κουμπί «Εγγραφή» */
.dafnis-newsletter .mailpoet_submit {
	position: absolute;
	top: 0;
	right: 0;
	height: 50px !important;
	margin: 0 !important;
	padding: 10px 30px 10px 28px !important;
	font-family: "Noto Sans", sans-serif;
	font-size: 20px !important;
	font-weight: 400;
	line-height: 30px !important;
	color: var(--dafnis-text, #000);
	background: #fff;
	border: 0 !important;
	border-radius: 0;
	cursor: pointer;
}

.dafnis-newsletter .mailpoet_submit:hover,
.dafnis-newsletter .mailpoet_submit:focus-visible {
	color: var(--dafnis-primary-aa, #2f56a6);
	background: #fff;
}

.dafnis-newsletter .mailpoet_submit:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Κουκκίδες φόρτωσης δίπλα στο κουμπί */
.dafnis-newsletter .mailpoet_form_loading {
	position: absolute;
	top: 60px;
	right: 0;
}

.dafnis-newsletter .mailpoet_form_loading > span {
	background-color: #fff !important;
}

/* Σφάλμα επικύρωσης κάτω από το πεδίο */
.dafnis-newsletter .parsley-errors-list {
	margin: 8px 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: #fff;
}

/* Μηνύματα επιτυχίας / σφάλματος */
.dafnis-newsletter .mailpoet_message {
	margin: 0 !important;
	padding: 0 !important;
}

.dafnis-newsletter .mailpoet_validate_success,
.dafnis-newsletter .mailpoet_validate_error {
	margin: 10px 0 0;
	padding: 10px 16px;
	font-size: 16px;
	line-height: 1.4;
}

.dafnis-newsletter .mailpoet_validate_success {
	color: #2f532e;
	background: #d4e9d6;
}

.dafnis-newsletter .mailpoet_validate_error {
	color: #870000;
	background: #ffdede;
}

/* Φάση CAPTCHA: το MailPoet κρύβει το πεδίο email και δείχνει εικόνα + πεδίο κωδικού */
.dafnis-newsletter .mailpoet_captcha_hidden {
	display: none !important;
}

.dafnis-newsletter .mailpoet_captcha_container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	max-width: none;
	margin: 10px 0 0;
	text-align: left;
}

.dafnis-newsletter .mailpoet_captcha_container .mailpoet_captcha_image_wrapper {
	display: flex;
	margin: 0;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.dafnis-newsletter .mailpoet_captcha_container .mailpoet_captcha {
	display: block;
	margin: 0;
	max-width: 100%;
	height: auto;
}

.dafnis-newsletter .mailpoet_captcha_container .mailpoet_icon_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: #fff;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}

.dafnis-newsletter .mailpoet_captcha_container .mailpoet_icon_button img {
	width: 20px;
	height: 20px;
}

.dafnis-newsletter .mailpoet_captcha_container .mailpoet_captcha_label {
	flex: 1 1 100%;
	display: block;
	margin: 0;
}

.dafnis-newsletter .mailpoet_captcha_label .mailpoet_text_label {
	display: block;
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 1.4;
	color: #fff;
}

.dafnis-newsletter .mailpoet_captcha_label .mailpoet_text {
	max-width: none !important;
	padding-right: 16px !important;
}

.dafnis-newsletter .mailpoet_captcha_submit {
	flex: 1 1 100%;
}

.dafnis-newsletter .mailpoet_captcha_submit .mailpoet_submit {
	position: static;
	border-radius: 1000px;
}

.dafnis-newsletter .mailpoet_message .mailpoet_validate_error {
	margin-top: 0;
}

@media (max-width: 400px) {
	.dafnis-newsletter .mailpoet_text {
		padding-right: 125px !important;
		font-size: 16px !important;
	}

	.dafnis-newsletter .mailpoet_submit {
		padding: 10px 20px !important;
		font-size: 18px !important;
	}
}

/* ==================================================================
 * Σελίδες MailPoet (επιβεβαίωση διαγραφής / διαγραφή / διαχείριση).
 * Το δυναμικό κομμάτι μπαίνει με shortcode widget [mailpoet_page]
 * που έχει την κλάση dafnis-mp-page.
 * ===================================================================== */

.dafnis-mp-page {
	width: 100%;
	max-width: 640px !important;
	margin: 10px auto 0;
	align-self: center;
	font-size: 18px;
	line-height: 25px;
	text-align: center;
}

.dafnis-mp-page p {
	margin: 0 0 16px;
}

.dafnis-mp-page a {
	color: #3f6db5;
}

/* Επιβεβαίωση διαγραφής: ο σύνδεσμος γίνεται κουμπί */
.dafnis-mp-page .mailpoet_confirm_unsubscribe_email strong {
	display: block;
	margin-top: 4px;
}

.dafnis-mp-page .mailpoet_confirm_unsubscribe a {
	display: inline-block;
	margin-top: 16px;
	padding: 10px 24px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	background: #3f6db5;
	border: 2px solid #3f6db5;
	border-radius: 1000px;
}

.dafnis-mp-page .mailpoet_confirm_unsubscribe a:hover,
.dafnis-mp-page .mailpoet_confirm_unsubscribe a:focus-visible {
	color: #fff;
	background: #2d5293;
	border-color: #2d5293;
}

/* Φόρμα διαχείρισης συνδρομής */
.dafnis-mp-page .mailpoet-manage-subscription {
	text-align: left;
}

.dafnis-mp-page .mailpoet-manage-subscription h2 {
	margin: 0 0 8px;
	font-size: 22px;
	line-height: 30px;
}

.dafnis-mp-page .mailpoet-manage-subscription-section-description,
.dafnis-mp-page .mailpoet-change-email-info,
.dafnis-mp-page .mailpoet_field_description {
	display: block;
	font-size: 16px;
	line-height: 1.4;
	color: #3d3d3d;
}

.dafnis-mp-page .mailpoet_paragraph {
	margin: 0 0 20px;
}

.dafnis-mp-page .mailpoet_text_label,
.dafnis-mp-page .mailpoet_select_label {
	display: block;
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 600;
}

.dafnis-mp-page .mailpoet_text,
.dafnis-mp-page .mailpoet_select {
	width: 100%;
	height: 50px;
	box-sizing: border-box;
	padding: 8px 16px;
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	color: #0c0d0e;
	background: #fff;
	border: 1px solid #d6d5d5;
	border-radius: 8px;
	box-shadow: none;
}

.dafnis-mp-page .mailpoet_text:focus-visible,
.dafnis-mp-page .mailpoet_select:focus-visible {
	outline: 2px solid #3f6db5;
	outline-offset: 1px;
}

/* Μία μόνο λίστα: το μήνυμα «δεν υπάρχουν προτιμήσεις λίστας» μπερδεύει */
.dafnis-mp-page .mailpoet-manage-subscription-no-lists {
	display: none;
}

.dafnis-mp-page .mailpoet-manage-subscription-actions {
	text-align: center;
}

.dafnis-mp-page .mailpoet_submit {
	display: inline-block;
	height: auto;
	padding: 10px 24px;
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 25px;
	color: #3f6db5;
	background: transparent;
	border: 2px solid #3f6db5 !important;
	border-radius: 1000px;
	cursor: pointer;
}

.dafnis-mp-page .mailpoet_submit:hover,
.dafnis-mp-page .mailpoet_submit:focus-visible {
	color: #fff;
	background: #3f6db5;
}

/* Ερωτηματολόγιο αιτίας διαγραφής */
.dafnis-mp-page .mailpoet-unsubscribe-reason {
	margin-top: 24px;
	text-align: left;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason fieldset {
	margin: 0;
	padding: 20px 24px 8px;
	border: 1px solid #d6d5d5;
	border-radius: 8px;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason legend {
	padding: 0 8px;
	font-size: 16px;
	font-weight: 600;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason fieldset p {
	margin: 0 0 12px;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 16px;
	line-height: 1.4;
	cursor: pointer;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason input[type="radio"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: #3f6db5;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason > p {
	margin: 16px 0 0;
	text-align: center;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason button {
	padding: 10px 24px;
	font-family: "Noto Sans", sans-serif;
	font-size: 18px;
	line-height: 25px;
	color: #3f6db5;
	background: transparent;
	border: 2px solid #3f6db5;
	border-radius: 1000px;
	cursor: pointer;
}

.dafnis-mp-page .mailpoet-unsubscribe-reason button:hover,
.dafnis-mp-page .mailpoet-unsubscribe-reason button:focus-visible {
	color: #fff;
	background: #3f6db5;
}

.dafnis-mp-page .mailpoet_unsubscribe_reason_success {
	margin-top: 16px;
	padding: 10px 16px;
	color: #2f532e;
	background: #d4e9d6;
}

/* Άμεση επίσκεψη χωρίς σύνδεσμο email: κρύβει το ακατέργαστο [mailpoet_page] */
.dafnis-mp-slot:not(:has(*)) {
	display: none;
}

/* Κουτάκι «Συμφωνώ με την Πολιτική Απορρήτου» κάτω από το πεδίο email */
.dafnis-newsletter fieldset {
	margin: 18px 0 0 !important;
	padding: 0;
	border: 0;
}

.dafnis-newsletter .mailpoet_checkbox_label {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-size: 16px !important;
	line-height: 1.4 !important;
	color: #fff;
	cursor: pointer;
}

.dafnis-newsletter .mailpoet_checkbox {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: #fff;
	cursor: pointer;
}

.dafnis-newsletter .mailpoet_checkbox:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.dafnis-newsletter .mailpoet_checkbox_label a {
	color: #fff;
	text-decoration: underline;
}

.dafnis-newsletter .mailpoet_checkbox_label a:hover,
.dafnis-newsletter .mailpoet_checkbox_label a:focus-visible {
	text-decoration-thickness: 2px;
}

/* Μηνύματα επικύρωσης στο μπλε υποσέλιδο: λευκά για ανάγνωση */
.dafnis-newsletter .parsley-errors-list li {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #fff !important;
}

.dafnis-newsletter .mailpoet_paragraph:has(fieldset) .parsley-errors-list {
	margin-left: 30px;
}
