/* Κοινό στυλ για τα modal πελάτη (εγγραφή, διεύθυνση κλπ) */
.f4c-modal {
	background: rgba(17, 17, 17, .55) !important;
	padding: 16px !important;
}
.f4c-modal-card {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: 48px auto 0;
	padding: 34px 34px 30px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
	color: #111;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Ubuntu', Arial, sans-serif;
	text-align: left;
	box-sizing: border-box;
}
.f4c-modal-card *,
.f4c-modal-card *::before,
.f4c-modal-card *::after {
	box-sizing: border-box;
}
/* ίδια γραμματοσειρά παντού μέσα στο modal (το CSS του site αλλάζει π.χ. τα p σε serif), εκτός από τα εικονίδια */
.f4c-modal-card,
.f4c-modal-card *:not(i):not([class*="fa-"]) {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 'Ubuntu', Arial, sans-serif !important;
}
.f4c-modal-close {
	position: absolute;
	top: 18px;
	right: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 999px;
	background: #f2f2f2;
	color: #111;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}
.f4c-modal-close:hover {
	background: #e6e6e6;
}
.f4c-modal-title {
	margin: 26px 56px 0 0;
	color: #111;
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.15;
}
.f4c-modal-text {
	margin: 30px 0 22px;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
}
.f4c-modal-text a {
	color: #111;
	text-decoration: underline;
	cursor: pointer;
}
.f4c-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	margin-bottom: 14px;
	padding: 0 18px;
	border: 1px solid #ececec;
	border-radius: 14px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.f4c-field:focus-within {
	border-color: #111;
	box-shadow: 0 0 0 3px rgba(17, 17, 17, .07);
}
.f4c-field > i {
	flex: 0 0 auto;
	width: 24px;
	color: #111;
	font-size: 24px;
	text-align: center;
}
.f4c-field input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	height: 58px;
	padding: 0;
	border: 0 !important;
	outline: 0;
	background: transparent;
	color: #111;
	font-family: inherit;
	font-size: 19px;
}
.f4c-field input::placeholder {
	color: #555;
}
.f4c-field .autocomplete_section {
	position: absolute !important;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 99999;
	max-height: 260px;
	margin: 6px 0 0;
	padding: 6px 0;
	overflow-y: auto;
	list-style: none;
	border: 1px solid #e5e5e5 !important;
	border-radius: 14px;
	background: #fff !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
	font-size: 15px !important;
}
.f4c-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 58px;
	margin-top: 30px;
	padding: 10px 18px;
	border: 1px solid #111;
	border-radius: 16px;
	background: #111;
	color: #fff !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.f4c-btn:hover {
	background: #2a2a2a;
	border-color: #2a2a2a;
}
.f4c-btn.f4c-btn-danger {
	border-color: #b3261e;
	background: #b3261e;
}
.f4c-btn.f4c-btn-danger:hover {
	border-color: #8f1d17;
	background: #8f1d17;
}
.f4c-btn.is-disabled,
.f4c-btn.is-disabled:hover {
	border-color: #cfcfcf;
	background: #fff;
	color: #8a8a8a !important;
	cursor: default;
}
.f4c-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 36px;
	color: #111 !important;
	font-size: 19px;
	text-decoration: none !important;
	cursor: pointer;
}
.f4c-link > i {
	font-size: 22px;
}
.f4c-link:hover span {
	text-decoration: underline;
}
.f4c-muted {
	margin-top: 18px;
	color: #666;
	font-size: 13px;
	line-height: 1.5;
}
.f4c-muted a {
	color: #111;
	text-decoration: underline;
	cursor: pointer;
}
.f4c-switch {
	margin: 26px 0 0;
	padding-top: 20px;
	border-top: 1px solid #efefef;
	color: #333;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
}
.f4c-switch a {
	color: #111 !important;
	font-weight: 800;
	text-decoration: underline !important;
	cursor: pointer;
}
.f4c-field-action {
	flex: 0 0 auto;
	color: #111 !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: underline !important;
	white-space: nowrap;
}
.f4c-field .f4c-toggle-pass {
	color: #777 !important;
	font-size: 18px;
	text-decoration: none !important;
}
.f4c-field-textarea {
	align-items: flex-start;
	padding-top: 16px;
	padding-bottom: 8px;
}
.f4c-field-textarea > i {
	margin-top: 2px;
	font-size: 22px;
}
.f4c-field textarea {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 96px;
	padding: 0;
	border: 0 !important;
	outline: 0;
	resize: vertical;
	background: transparent;
	color: #111;
	font-size: 17px;
	line-height: 1.45;
}
.f4c-field textarea::placeholder {
	color: #555;
}
/* αποθηκευμένες διευθύνσεις: κρατάμε tr/td γιατί το JS βρίσκει τα πεδία με nth-child, αλλά εμφανίζονται σαν κάρτες */
.f4c-address-list,
.f4c-address-list tbody {
	display: block;
	width: 100%;
	margin: 0;
	border: 0;
}
.f4c-address-list tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	grid-template-areas: "addr addr btn" "ring phone btn";
	align-items: center;
	gap: 2px 14px;
	margin-bottom: 12px;
	padding: 14px 16px 14px 50px;
	border: 1px solid #ececec;
	border-radius: 14px;
	background: #fff;
	position: relative;
}
.f4c-address-list tr::before {
	content: "\f3c5";
	position: absolute;
	left: 18px;
	top: 16px;
	color: #111;
	font-family: "Font Awesome 5 Free";
	font-size: 20px;
	font-weight: 900;
}
.f4c-address-list td {
	display: block;
	padding: 0;
	border: 0;
}
.f4c-address-list td:nth-child(1) { grid-area: btn; }
.f4c-address-list td:nth-child(2) { grid-area: addr; }
.f4c-address-list td:nth-child(3) { grid-area: phone; }
.f4c-address-list td:nth-child(4) { grid-area: ring; }
.f4c-address-list td:nth-child(5),
.f4c-address-list td:nth-child(6) { display: none; }
.f4c-address-readonly {
	display: block;
	width: 100%;
	height: 22px;
	padding: 0;
	border: 0;
	outline: 0;
	resize: none;
	overflow: hidden;
	background: transparent;
	color: #666;
	font-family: inherit;
	font-size: 14px;
	line-height: 22px;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.f4c-address-readonly[name=address1] {
	height: 26px;
	color: #111;
	font-size: 17px;
	font-weight: 700;
	line-height: 26px;
}
.f4c-address-select {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 18px;
	border-radius: 14px;
	background: #111;
	color: #fff !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
}
.f4c-address-select:hover { background: #2a2a2a; }
.f4c-address-select.is-selected,
.f4c-address-select.is-selected:hover {
	border: 1px solid #111;
	background: #fff;
	color: #111 !important;
}
/* συμπλήρωση τηλεφώνου / ορόφου σε αποθηκευμένη διεύθυνση (modal διευθύνσεων του head.php) */
.f4c-address-list td.f4c-addr-details {
	display: block;
	grid-column: 1 / -1;
	margin-top: 8px;
}
.f4c-address-list td.f4c-addr-details:empty {
	display: none;
}
.f4c-addr-details-toggle {
	display: inline-flex;
	align-items: center;
	color: #111 !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: underline !important;
}
.f4c-addr-details-toggle[hidden],
.f4c-addr-details-form[hidden] {
	display: none !important;
}
.f4c-addr-details-form .f4c-field {
	margin-top: 10px;
}
.f4c-addr-details-form .f4c-btn {
	margin-top: 14px;
}
.f4c-address-readonly::placeholder {
	color: #b3261e;
	opacity: 1;
}
.f4c-address-form { display: none; margin-top: 18px; }
.f4c-address-form .f4c-btn { margin-top: 22px; }
.f4c-address-form .f4c-link { margin-top: 26px; }
.f4c-modal-card .f4c-link.page1-add-table { margin-top: 10px; }
.f4c-field-action {
	flex: 0 0 auto;
	color: #111 !important;
	font-size: 13px;
	font-weight: 800;
	text-decoration: underline !important;
	white-space: nowrap;
}
@media (max-width: 600px) {
	.f4c-address-list tr {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "addr" "ring" "phone" "btn";
	}
	.f4c-address-select { width: 100%; margin-top: 8px; }
}
/* όροι χρήσης / συνεργασίας */
.f4c-modal-card.f4c-terms-card {
	max-width: 760px;
}
.f4c-terms-card .f4c-modal-text a {
	font-weight: 700;
	text-decoration: underline;
}
.f4c-terms-body {
	max-height: 60vh;
	margin-top: 24px;
	padding: 4px 22px 18px;
	overflow-y: auto;
	border: 1px solid #ececec;
	border-radius: 14px;
	background: #fff;
}
.f4c-terms-body h3 {
	margin: 20px 0 8px;
	color: #111;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
.f4c-terms-body p {
	margin: 0 0 10px;
	color: #444;
	font-size: 14px;
	line-height: 1.65;
}
.f4c-terms-body.f4c-terms-pdf {
	padding: 0;
	overflow: hidden;
}
.f4c-terms-pdf iframe {
	display: block;
	width: 100%;
	height: 60vh;
	border: 0;
}
.f4c-terms-card .f4c-btn {
	margin-top: 22px;
}
.f4c-error {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #fdecec;
	color: #b3261e;
	font-size: 14px;
	line-height: 1.5;
}
.f4c-success {
	margin: 14px 0 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #e9f6ee;
	color: #1e6b3a;
	font-size: 14px;
	line-height: 1.5;
}
.f4c-modal-card [hidden] {
	display: none !important;
}
.f4c-error font {
	color: inherit !important;
}
/* σελίδα /login/ */
.f4c-login-page {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 100vh;
	padding: 24px 16px 40px;
	background: #efefef;
	box-sizing: border-box;
}
.f4c-login-page .f4c-login-card {
	margin-top: 32px;
}
.f4c-login-logo {
	margin-bottom: 8px;
	text-align: center;
}
.f4c-login-logo img {
	width: 150px;
	max-width: 100%;
}
.f4c-login-card .f4c-modal-title {
	margin-top: 10px;
	margin-right: 0;
}
.f4c-login-card .f4c-modal-text {
	margin-top: 14px;
}
.f4c-login-extra {
	text-align: center;
}
.f4c-login-back {
	margin-top: 22px;
	font-size: 15px;
}
.f4c-login-back > i {
	font-size: 16px;
}
/* φόρμα σύνδεσης μέσα στο πλαϊνό μενού */
.f4c-login-inline .f4c-login-card {
	max-width: none;
	margin: 0;
	padding: 6px 0 10px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
@media (max-width: 600px) {
	.f4c-modal {
		padding: 8px !important;
	}
	.f4c-modal-card {
		margin-top: 16px;
		padding: 26px 20px 24px;
		border-radius: 18px;
	}
	.f4c-modal-title {
		font-size: 26px;
	}
	.f4c-field input,
	.f4c-link {
		font-size: 17px;
	}
}
