/*
 * OnlineLab Business Community — στυλ δημόσιου μέρους.
 *
 * Χρησιμοποιεί τις μεταβλητές του θέματος OnlineLab (--ol-*), με δικές του
 * προεπιλογές όταν το θέμα δεν είναι ενεργό. Μην αλλάζετε αυτό το αρχείο·
 * γράψτε τις αλλαγές σας στο Εμφάνιση → Custom CSS (uploads/onlinelab/custom.css).
 */

.olbc {
	--olbc-primary: var(--ol-color-primary, #660066);
	--olbc-secondary: var(--ol-color-secondary, #ff6600);
	--olbc-surface: var(--ol-color-surface, #ffffff);
	--olbc-text: var(--ol-color-text, #222222);
	--olbc-muted: var(--ol-color-muted, #6b6b6b);
	--olbc-border: var(--ol-color-border, #e6e6e6);
	--olbc-radius: var(--ol-box-radius, 12px);
	--olbc-button-radius: var(--ol-button-radius, 100px);
	--olbc-border-width: var(--ol-border-width, 2px);
	--olbc-padding: var(--ol-box-padding, 28px);
	--olbc-gap: var(--ol-gap, 24px);
	--olbc-shadow: var(--ol-shadow, 0 2px 14px rgba(0, 0, 0, 0.06));
	--olbc-tint: var(--ol-tint, color-mix(in srgb, #660066 9%, transparent));
	color: var(--olbc-text);
}

.olbc-box {
	padding: var(--olbc-padding);
	border-radius: var(--olbc-radius);
	background: var(--olbc-surface);
	box-shadow: var(--olbc-shadow);
}

.olbc-title {
	margin: 0 0 0.4em;
}

.olbc-muted {
	color: var(--olbc-muted);
}

.olbc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

/* Κουμπιά, όταν δεν υπάρχει το θέμα OnlineLab */
.olbc-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 24px;
	border: 2px solid var(--olbc-primary);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-primary);
	color: #ffffff;
	font-weight: 500;
	text-decoration: none;
}

.olbc-button:hover,
.olbc-button:focus-visible {
	border-color: var(--olbc-secondary);
	background: var(--olbc-secondary);
	color: #ffffff;
}

.olbc-button--outline {
	background: transparent;
	color: var(--olbc-primary);
}

.olbc-badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 14px;
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-tint);
	color: var(--olbc-primary);
	font-size: 0.85em;
	font-weight: 500;
}

/* Είσοδος */
.olbc-auth {
	display: grid;
	gap: var(--olbc-gap);
	max-width: 520px;
	margin: 0 auto;
}

.olbc-auth form p {
	margin: 0 0 16px;
}

.olbc-auth label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
}

.olbc-auth .login-remember label {
	display: inline-flex;
	align-items: center;
	font-weight: 400;
}

.olbc-auth input[type="text"],
.olbc-auth input[type="password"] {
	width: 100%;
}

.olbc-auth .login-submit input[type="submit"] {
	width: 100%;
}

.olbc-auth__lost {
	margin: 0;
	text-align: center;
}

.olbc-auth__register {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--olbc-gap);
}

.olbc-choice {
	display: flex;
	flex-direction: column;
	gap: 6px;
	border: var(--olbc-border-width) solid transparent;
	color: var(--olbc-text);
	text-decoration: none !important;
	transition: border-color 0.2s ease;
}

.olbc-choice:hover,
.olbc-choice:focus-visible {
	border-color: var(--olbc-secondary);
	color: var(--olbc-text);
}

.olbc-choice__title {
	color: var(--olbc-primary);
	font-weight: 700;
}

.olbc-choice__text {
	color: var(--olbc-muted);
	font-size: 0.92em;
}

.olbc-coming-soon,
.olbc-login-required {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.olbc-coming-soon .olbc-actions,
.olbc-login-required .olbc-actions {
	justify-content: center;
}

/* ------------------------------------------------------------------
 * Φόρμες (εγγραφές, επιβεβαίωση, προφίλ)
 * ---------------------------------------------------------------- */

.olbc [hidden] {
	display: none !important;
}

.olbc-register {
	display: grid;
	gap: var(--olbc-gap);
	max-width: 880px;
	margin: 0 auto;
}

.olbc-register--narrow {
	max-width: 560px;
}

.olbc-subtitle {
	margin: 0 0 0.5em;
	font-size: 1.3em;
}

.olbc-subtitle--small {
	font-size: 1.1em;
}

.olbc-small {
	font-size: 0.9em;
}

.olbc-form {
	display: grid;
	gap: 20px;
}

.olbc-form + .olbc-form {
	margin-top: 20px;
}

.olbc-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.olbc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.olbc-field--wide {
	grid-column: 1 / -1;
}

.olbc-field__label,
.olbc-legend {
	font-weight: 500;
}

.olbc-field__help {
	color: var(--olbc-muted);
	font-size: 0.88em;
}

.olbc-field__error {
	color: #b3261e;
	font-size: 0.9em;
	font-weight: 500;
}

.olbc-field--error input,
.olbc-field--error select,
.olbc-field--error textarea,
.olbc-field--error .olbc-picker {
	border-color: #b3261e;
}

.olbc-readonly {
	padding: 10px 14px;
	border-radius: var(--ol-input-radius, 12px);
	background: var(--olbc-tint);
}

.olbc-fieldset {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

.olbc-options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.olbc-options--stack {
	flex-direction: column;
	gap: 8px;
}

.olbc-option {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.olbc-option input {
	flex: 0 0 auto;
	margin-top: 0.3em;
	accent-color: var(--olbc-primary);
}

.olbc-option--spaced {
	margin-top: 6px;
}

.olbc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.olbc-code-input {
	max-width: 220px;
	font-size: 1.6em !important;
	letter-spacing: 0.3em;
	text-align: center;
}

.olbc-link-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--olbc-primary);
	font: inherit;
	font-weight: 500;
	text-decoration: underline;
	cursor: pointer;
}

.olbc-link-button:hover,
.olbc-link-button:focus-visible {
	color: var(--olbc-secondary);
}

.olbc-link-button:disabled {
	color: var(--olbc-muted);
	text-decoration: none;
	cursor: default;
}

.olbc-link-button--danger {
	color: #b3261e;
}

.olbc-actions--split {
	justify-content: space-between;
}

.olbc-counter {
	align-self: flex-end;
	color: var(--olbc-muted);
	font-size: 0.85em;
}

.olbc-counter.is-over {
	color: #b3261e;
	font-weight: 500;
}

/* Μηνύματα */
.olbc-notice {
	display: grid;
	gap: 4px;
	margin-bottom: 20px;
	padding: 14px 18px;
	border-left: 4px solid var(--olbc-primary);
	border-radius: var(--olbc-radius);
	background: var(--olbc-tint);
}

.olbc-notice--error {
	border-left-color: #b3261e;
	background: #fdecea;
	color: #5f1410;
}

.olbc-notice--success {
	border-left-color: #1e7a3c;
	background: #e8f5ec;
	color: #0f3d1e;
}

.olbc-notice--warning {
	border-left-color: var(--olbc-secondary);
	background: #fff3e8;
	color: #5c2a00;
}

.olbc-note {
	white-space: normal;
}

.olbc-info {
	margin: 20px 0;
	padding: 16px 18px;
	border-radius: var(--olbc-radius);
	background: var(--olbc-tint);
}

.olbc-info p {
	margin: 0 0 8px;
}

.olbc-info p:last-child {
	margin-bottom: 0;
}

.olbc-list {
	margin: 6px 0 0;
	padding-left: 1.2em;
}

/* Βήματα εγγραφής */
.olbc-register__head {
	display: grid;
	gap: 16px;
}

.olbc-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.olbc-steps__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: var(--olbc-border-width) solid var(--olbc-border);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-surface);
	color: var(--olbc-muted);
	text-decoration: none !important;
}

a.olbc-steps__item:hover,
a.olbc-steps__item:focus-visible {
	border-color: var(--olbc-secondary);
	color: var(--olbc-text);
}

.olbc-steps__num {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--olbc-tint);
	color: var(--olbc-primary);
	font-weight: 700;
}

.olbc-steps__label {
	overflow: hidden;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olbc-steps__item.is-done .olbc-steps__num {
	background: var(--olbc-primary);
	color: #ffffff;
}

.olbc-steps__item.is-current {
	border-color: var(--olbc-primary);
	color: var(--olbc-primary);
}

/* Επιλογή με αναζήτηση */
.olbc-picker {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border: var(--olbc-border-width) solid var(--olbc-border);
	border-radius: var(--ol-input-radius, 12px);
	background: var(--olbc-surface);
}

.olbc-picker:focus-within {
	border-color: var(--olbc-primary);
}

.olbc-picker__chips {
	display: contents;
}

.olbc-picker .olbc-picker__input {
	flex: 1 1 180px;
	min-width: 140px;
	min-height: 36px;
	padding: 6px 8px;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.olbc-picker .olbc-picker__input:focus {
	box-shadow: none;
}

.olbc-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 4px 6px 4px 12px;
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-tint);
	color: var(--olbc-primary);
	font-size: 0.92em;
	font-weight: 500;
}

.olbc-chip__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olbc-chip--new {
	border: 1px dashed var(--olbc-secondary);
	background: #fff3e8;
	color: #8a3d00;
}

.olbc-chip__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	min-height: 0;
	height: 22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.1em;
	line-height: 1;
	cursor: pointer;
}

.olbc-chip__remove:hover {
	background: rgba(0, 0, 0, 0.08);
	color: inherit;
}

.olbc-picker__list {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	left: 0;
	z-index: 30;
	max-height: 300px;
	overflow-y: auto;
	padding: 6px;
	border-radius: var(--olbc-radius);
	background: var(--olbc-surface);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.olbc-picker__group {
	padding: 8px 10px 4px;
	color: var(--olbc-muted);
	font-size: 0.85em;
	font-weight: 700;
}

.olbc-picker__option {
	padding: 8px 10px;
	border-radius: 8px;
	cursor: pointer;
}

.olbc-picker__option:hover,
.olbc-picker__option.is-active {
	background: var(--olbc-tint);
	color: var(--olbc-primary);
}

.olbc-picker__option--new {
	color: var(--olbc-secondary);
	font-weight: 500;
}

.olbc-picker__empty {
	padding: 8px 10px;
	color: var(--olbc-muted);
}

.olbc-picker__suggest {
	display: grid;
	flex: 1 1 100%;
	gap: 8px;
	padding: 8px 4px 2px;
	border-top: 1px solid var(--olbc-border);
}

.olbc-picker__suggest-title {
	color: var(--olbc-muted);
	font-size: 0.88em;
}

.olbc-picker__suggest-items {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.olbc-suggest-chip {
	min-height: 0;
	padding: 4px 12px;
	border: 1px solid var(--olbc-border);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-surface);
	color: var(--olbc-text);
	font-size: 0.88em;
	font-weight: 400;
	cursor: pointer;
}

.olbc-suggest-chip:hover,
.olbc-suggest-chip:focus-visible {
	border-color: var(--olbc-primary);
	background: var(--olbc-tint);
	color: var(--olbc-primary);
}

/* Λογότυπος */
.olbc-logo-preview {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
}

.olbc-logo-preview__img {
	max-width: 160px;
	height: auto;
	border-radius: 8px;
}

/* Portfolio στη φόρμα */
.olbc-portfolio-edit {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.olbc-portfolio-edit__item {
	display: grid;
	align-content: start;
	gap: 10px;
	padding: 10px;
	border: 1px solid var(--olbc-border);
	border-radius: var(--olbc-radius);
}

.olbc-portfolio-edit__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background: var(--olbc-tint);
}

.olbc-portfolio-edit__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.olbc-portfolio-edit__badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 2px 10px;
	border-radius: var(--olbc-button-radius);
	background: rgba(0, 0, 0, 0.7);
	color: #ffffff;
	font-size: 0.8em;
}

.olbc-portfolio-edit__form {
	gap: 8px;
}

.olbc-portfolio-edit__form textarea {
	min-height: 70px;
}

.olbc-portfolio-edit__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 0.9em;
}

.olbc-portfolio-add {
	padding-top: 20px;
	border-top: 1px solid var(--olbc-border);
}

/* Σύνοψη */
.olbc-summary {
	display: grid;
	gap: 0;
	border: 1px solid var(--olbc-border);
	border-radius: var(--olbc-radius);
}

.olbc-summary__row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--olbc-border);
}

.olbc-summary__row:last-child {
	border-bottom: 0;
}

.olbc-summary__label {
	color: var(--olbc-muted);
	font-weight: 500;
}

@media (max-width: 700px) {
	.olbc-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.olbc-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.olbc-steps__item {
		justify-content: center;
		padding: 8px;
	}

	.olbc-steps__label {
		display: none;
	}

	.olbc-steps__item.is-current .olbc-steps__label {
		display: none;
	}

	.olbc-summary__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
}

.olbc-dashboard {
	display: grid;
	gap: var(--olbc-gap);
}

.olbc-dashboard .olbc-notice {
	margin-bottom: 0;
}

.olbc button.olbc-button--outline {
	background: transparent;
	color: var(--olbc-primary);
}

.olbc button.olbc-button--outline:hover,
.olbc button.olbc-button--outline:focus-visible {
	border-color: var(--olbc-secondary);
	background: var(--olbc-secondary);
	color: #ffffff;
}

/* ------------------------------------------------------------------
 * Πίνακας ελέγχου: καρτέλες, κάρτες, μετρήσεις
 * ---------------------------------------------------------------- */

.olbc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.olbc-tabs__item {
	padding: 9px 18px;
	border: var(--olbc-border-width) solid var(--olbc-border);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-surface);
	color: var(--olbc-text);
	font-weight: 500;
	text-decoration: none !important;
}

.olbc-tabs__item:hover,
.olbc-tabs__item:focus-visible {
	border-color: var(--olbc-secondary);
	color: var(--olbc-text);
}

.olbc-tabs__item.is-current {
	border-color: var(--olbc-primary);
	background: var(--olbc-primary);
	color: #ffffff;
}

.olbc-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--olbc-gap);
}

.olbc-card .olbc-actions {
	margin-top: 16px;
}

.olbc-copy {
	display: flex;
	gap: 8px;
}

.olbc-copy__input {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.9em !important;
}

.olbc-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.olbc-stat {
	display: grid;
	gap: 2px;
	padding: 14px;
	border-radius: var(--olbc-radius);
	background: var(--olbc-tint);
}

.olbc-stat__value {
	color: var(--olbc-primary);
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1.1;
}

.olbc-stat__label {
	color: var(--olbc-muted);
	font-size: 0.88em;
}

/* ------------------------------------------------------------------
 * Δημόσιο προφίλ
 * ---------------------------------------------------------------- */

.olbc-profile {
	display: grid;
	gap: var(--olbc-gap);
}

.olbc-profile .olbc-notice {
	margin-bottom: 0;
}

.olbc-profile__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: var(--olbc-gap);
	align-items: center;
}

.olbc-profile__logo {
	width: 160px;
	max-width: 280px;
}

.olbc-profile__logo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--olbc-radius);
}

.olbc-profile__intro {
	display: grid;
	justify-items: start;
	gap: 10px;
}

.olbc-profile__name {
	margin: 0;
	line-height: 1.15;
}

.olbc-profile__location {
	color: var(--olbc-muted);
}

.olbc-profile__cta {
	display: grid;
	justify-items: end;
	gap: 8px;
	max-width: 260px;
	text-align: right;
}

.olbc-button.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.olbc-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px 4px 8px;
	border-radius: var(--olbc-button-radius);
	background: #e8f5ec;
	color: #1e6b33;
	font-size: 0.88em;
	font-weight: 500;
}

.olbc-verified:not(:has(svg))::before {
	content: "✓";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #1e7a3c;
	color: #ffffff;
	font-size: 0.75em;
	font-weight: 700;
}

.olbc-verified svg {
	width: 18px;
	height: 18px;
}

.olbc-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.olbc-tag {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid var(--olbc-border);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-surface);
	font-size: 0.9em;
}

.olbc-tag--primary {
	border-color: transparent;
	background: var(--olbc-tint);
	color: var(--olbc-primary);
	font-weight: 500;
}

.olbc-profile__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: var(--olbc-gap);
	align-items: start;
}

.olbc-profile__main,
.olbc-profile__side {
	display: grid;
	gap: var(--olbc-gap);
	min-width: 0;
}

.olbc-profile__text p {
	margin: 0 0 1em;
}

.olbc-profile__text p:last-child {
	margin-bottom: 0;
}

.olbc-details {
	display: grid;
	gap: 18px;
}

.olbc-details__row {
	display: grid;
	gap: 8px;
}

.olbc-details__label {
	color: var(--olbc-muted);
	font-size: 0.88em;
	font-weight: 700;
}

.olbc-kad-list {
	display: grid;
	gap: 8px;
}

.olbc-kad {
	font-size: 0.92em;
}

.olbc-kad__code {
	display: inline-block;
	margin-right: 4px;
	padding: 1px 8px;
	border-radius: 6px;
	background: var(--olbc-tint);
	color: var(--olbc-primary);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

/* Κοινοποίηση */
.olbc-share {
	display: grid;
	gap: 12px;
}

.olbc-share__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.olbc-share__button {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 14px;
	border: 1px solid var(--olbc-border);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-surface);
	color: var(--olbc-text);
	font: inherit;
	font-size: 0.9em;
	font-weight: 500;
	text-decoration: none !important;
	cursor: pointer;
}

.olbc-share__button:hover,
.olbc-share__button:focus-visible {
	border-color: var(--olbc-primary);
	background: var(--olbc-tint);
	color: var(--olbc-primary);
}

/* Portfolio */
.olbc-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.olbc-gallery__item {
	display: grid;
	align-content: start;
	gap: 8px;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--olbc-text);
	font: inherit;
	font-weight: 400;
	text-align: left;
	cursor: zoom-in;
}

.olbc-gallery__item:hover,
.olbc-gallery__item:focus-visible {
	background: none;
	color: var(--olbc-primary);
}

.olbc-gallery__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--olbc-radius);
	background: var(--olbc-tint);
}

.olbc-gallery__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.olbc-gallery__item:hover .olbc-gallery__media img {
	transform: scale(1.03);
}

.olbc-gallery__item--video {
	cursor: pointer;
}

.olbc-gallery__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	transform: translate(-50%, -50%);
}

.olbc-gallery__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	border-width: 10px 0 10px 17px;
	border-style: solid;
	border-color: transparent transparent transparent #ffffff;
	transform: translate(-50%, -50%);
}

.olbc-gallery__caption {
	font-size: 0.9em;
	line-height: 1.35;
}

/* Μεγάλη προβολή */
.olbc-lightbox {
	width: min(1100px, 94vw);
	max-width: none;
	max-height: 94vh;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.olbc-lightbox::backdrop {
	background: rgba(10, 0, 10, 0.86);
}

.olbc-lightbox__frame {
	display: grid;
	gap: 10px;
	justify-items: center;
}

.olbc-lightbox__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.olbc-lightbox__image {
	max-width: 100%;
	max-height: 82vh;
	border-radius: 8px;
}

.olbc-lightbox__video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: 8px;
	background: #000000;
}

.olbc-lightbox__caption {
	color: #ffffff;
	text-align: center;
}

.olbc-lightbox__close,
.olbc-lightbox__nav {
	position: fixed;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.olbc-lightbox__close:hover,
.olbc-lightbox__nav:hover {
	background: var(--olbc-secondary);
	color: #ffffff;
}

.olbc-lightbox__close {
	top: 16px;
	right: 16px;
}

.olbc-lightbox__nav--prev {
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
}

.olbc-lightbox__nav--next {
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}

.olbc-lightbox.is-single .olbc-lightbox__nav {
	display: none;
}

@media (max-width: 1100px) {
	.olbc-profile__layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 800px) {
	.olbc-profile__head {
		grid-template-columns: minmax(0, 1fr);
		justify-items: start;
	}

	.olbc-profile__logo {
		width: 140px;
	}

	.olbc-profile__cta {
		justify-items: start;
		max-width: none;
		text-align: left;
	}

	.olbc-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.olbc-gallery {
		grid-template-columns: minmax(0, 1fr);
	}

	.olbc-lightbox__nav {
		top: auto;
		bottom: 16px;
		transform: none;
	}
}

/* ------------------------------------------------------------------
 * Κατάλογος
 * ---------------------------------------------------------------- */

.olbc-directory {
	display: grid;
	gap: var(--olbc-gap);
}

.olbc-directory__head .olbc-title {
	margin-bottom: 0.3em;
}

.olbc-directory__intro p {
	margin: 0 0 0.8em;
}

.olbc-filters {
	display: grid;
	gap: 16px;
}

.olbc-filters__search {
	display: flex;
	gap: 10px;
}

.olbc-filters__search input {
	flex: 1 1 auto;
	min-width: 0;
}

.olbc-filters__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.olbc-filters__checks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
}

.olbc-filters__reset {
	margin-left: auto;
	font-weight: 500;
}

.olbc-directory__count {
	margin: 0;
	color: var(--olbc-muted);
	font-weight: 500;
}

.olbc-fcards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: var(--olbc-gap);
}

.olbc-fcard {
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: var(--olbc-border-width) solid transparent;
	transition: border-color 0.2s ease;
}

.olbc-fcard:hover {
	border-color: var(--olbc-border);
}

.olbc-fcard__top {
	display: flex;
	align-items: center;
	gap: 14px;
}

.olbc-fcard__logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: var(--olbc-radius);
	background: var(--olbc-tint);
	text-decoration: none !important;
}

.olbc-fcard__logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.olbc-fcard__initial {
	color: var(--olbc-primary);
	font-size: 1.6em;
	font-weight: 700;
}

.olbc-fcard__title {
	display: grid;
	justify-items: start;
	gap: 6px;
	min-width: 0;
}

.olbc-fcard__name {
	margin: 0;
	font-size: 1.15em;
	line-height: 1.25;
}

.olbc-fcard__name a {
	color: var(--olbc-text);
	text-decoration: none !important;
}

.olbc-fcard__name a:hover {
	color: var(--olbc-primary);
}

.olbc-verified--small {
	padding: 2px 10px 2px 6px;
	font-size: 0.8em;
}

.olbc-verified--small::before {
	width: 15px !important;
	height: 15px !important;
}

.olbc-fcard__location {
	color: var(--olbc-muted);
	font-size: 0.92em;
}

.olbc-fcard__text {
	margin: 0;
	font-size: 0.95em;
}

.olbc-fcard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 4px;
}

a.olbc-tag {
	text-decoration: none !important;
}

a.olbc-tag:hover,
a.olbc-tag:focus-visible {
	border-color: var(--olbc-primary);
	color: var(--olbc-primary);
}

a.olbc-tag--primary:hover {
	background: var(--olbc-primary);
	color: #ffffff;
}

.olbc-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.olbc-pagination__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: var(--olbc-border-width) solid var(--olbc-border);
	border-radius: var(--olbc-button-radius);
	background: var(--olbc-surface);
	color: var(--olbc-text);
	font-weight: 500;
	text-decoration: none !important;
}

a.olbc-pagination__item:hover {
	border-color: var(--olbc-secondary);
}

.olbc-pagination__item.is-current {
	border-color: var(--olbc-primary);
	background: var(--olbc-primary);
	color: #ffffff;
}

.olbc-pagination__gap {
	align-self: center;
	padding: 0 4px;
	color: var(--olbc-muted);
}

.olbc-empty {
	text-align: center;
}

.olbc-empty .olbc-actions {
	justify-content: center;
}

.olbc-related {
	display: grid;
	gap: 10px;
}

@media (max-width: 800px) {
	.olbc-filters__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.olbc-filters__reset {
		margin-left: 0;
	}
}

/* ------------------------------------------------------------------
 * Μηνύματα
 * ---------------------------------------------------------------- */

.olbc-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 100px;
	background: var(--olbc-secondary);
	color: #ffffff;
	font-size: 0.75em;
	font-weight: 700;
	line-height: 1;
	vertical-align: middle;
}

.olbc-threads {
	display: grid;
	border: 1px solid var(--olbc-border);
	border-radius: var(--olbc-radius);
	overflow: hidden;
}

.olbc-thread-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	grid-template-areas:
		"name date count"
		"text text count";
	gap: 4px 12px;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--olbc-border);
	color: var(--olbc-text);
	text-decoration: none !important;
}

.olbc-thread-row:last-child {
	border-bottom: 0;
}

.olbc-thread-row:hover,
.olbc-thread-row:focus-visible {
	background: var(--olbc-tint);
	color: var(--olbc-text);
}

.olbc-thread-row__name {
	grid-area: name;
	overflow: hidden;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olbc-thread-row.is-unread .olbc-thread-row__name {
	font-weight: 700;
}

.olbc-thread-row__date {
	grid-area: date;
	color: var(--olbc-muted);
	font-size: 0.85em;
}

.olbc-thread-row__text {
	grid-area: text;
	overflow: hidden;
	color: var(--olbc-muted);
	font-size: 0.92em;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olbc-thread-row .olbc-count {
	grid-area: count;
}

.olbc-conversation {
	display: grid;
	gap: 18px;
}

.olbc-conversation__head {
	display: grid;
	gap: 6px;
}

.olbc-conversation__head .olbc-subtitle {
	margin: 0;
}

.olbc-conversation__back {
	font-size: 0.9em;
}

.olbc-contact-box {
	display: grid;
	gap: 6px;
	padding: 12px 16px;
	border: 1px dashed var(--olbc-border);
	border-radius: var(--olbc-radius);
}

.olbc-contact-box.is-visible {
	border-style: solid;
	border-color: transparent;
	background: #e8f5ec;
}

.olbc-contact-box__items {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-weight: 500;
}

.olbc-messages {
	display: grid;
	gap: 14px;
	max-height: 70vh;
	overflow-y: auto;
	padding: 4px;
}

.olbc-msg {
	display: grid;
	justify-items: start;
	gap: 4px;
	max-width: 80%;
}

.olbc-msg.is-mine {
	justify-self: end;
	justify-items: end;
}

.olbc-msg.is-system {
	justify-self: center;
	justify-items: center;
	max-width: 100%;
}

.olbc-msg__bubble {
	display: grid;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 16px 16px 16px 4px;
	background: #f1f1f3;
}

.olbc-msg.is-mine .olbc-msg__bubble {
	border-radius: 16px 16px 4px 16px;
	background: var(--olbc-tint);
}

.olbc-msg.is-system .olbc-msg__bubble {
	border-radius: var(--olbc-radius);
	background: #fff3e8;
}

.olbc-msg__text p {
	margin: 0 0 0.6em;
	overflow-wrap: anywhere;
}

.olbc-msg__text p:last-child {
	margin-bottom: 0;
}

.olbc-msg__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	color: var(--olbc-muted);
	font-size: 0.8em;
}

.olbc-msg__held {
	color: #8a3d00;
	font-weight: 500;
}

.olbc-files {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.olbc-file {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas:
		"thumb name"
		"thumb size";
	gap: 0 10px;
	align-items: center;
	max-width: 260px;
	padding: 6px 10px 6px 6px;
	border: 1px solid var(--olbc-border);
	border-radius: 10px;
	background: var(--olbc-surface);
	color: var(--olbc-text);
	text-decoration: none !important;
}

.olbc-file:hover {
	border-color: var(--olbc-primary);
}

.olbc-file__thumb,
.olbc-file__type {
	grid-area: thumb;
	width: 44px;
	height: 44px;
	border-radius: 6px;
	object-fit: cover;
}

.olbc-file__type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fdecea;
	color: #b3261e;
	font-size: 0.75em;
	font-weight: 700;
}

.olbc-file__name {
	grid-area: name;
	overflow: hidden;
	font-size: 0.88em;
	font-weight: 500;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.olbc-file__size {
	grid-area: size;
	color: var(--olbc-muted);
	font-size: 0.78em;
}

.olbc-report summary {
	cursor: pointer;
	list-style: none;
	text-decoration: underline;
}

.olbc-report summary::-webkit-details-marker {
	display: none;
}

.olbc-report[open] {
	flex-basis: 100%;
}

.olbc-report__form {
	gap: 8px;
	margin-top: 8px;
	min-width: 260px;
}

.olbc-report__form textarea {
	min-height: 60px;
}

.olbc-composer {
	padding-top: 16px;
	border-top: 1px solid var(--olbc-border);
}

.olbc-composer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

@media (max-width: 600px) {
	.olbc-msg {
		max-width: 92%;
	}

	.olbc-messages {
		max-height: none;
	}
}

/* ------------------------------------------------------------------
 * Ζητήσεις και προσφορές
 * ---------------------------------------------------------------- */

.olbc-box__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.olbc-box__head .olbc-subtitle {
	margin: 0;
}

.olbc-pill {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 100px;
	background: #f0f0f1;
	color: var(--olbc-text);
	font-size: 0.8em;
	font-weight: 500;
	white-space: nowrap;
}

.olbc-pill--active,
.olbc-pill--offer-pending {
	background: var(--olbc-tint);
	color: var(--olbc-primary);
}

.olbc-pill--held {
	background: #fff3e8;
	color: #8a3d00;
}

.olbc-pill--assigned,
.olbc-pill--offer-selected {
	background: #e8f5ec;
	color: #1e6b33;
}

.olbc-pill--expired,
.olbc-pill--offer-declined,
.olbc-pill--offer-withdrawn {
	background: #f0f0f1;
	color: var(--olbc-muted);
}

/* Συνδρομή */
.olbc-pill--sub-trial {
	background: #eef3fb;
	color: #1d4f91;
}

.olbc-pill--sub-active,
.olbc-pill--sub-gift {
	background: #e8f5ec;
	color: #1e6b33;
}

.olbc-pill--sub-inactive {
	background: #fcf0f1;
	color: #8a2424;
}

.olbc-pill--sub-canceling {
	background: #fff3e8;
	color: #8a3d00;
}

.olbc-sub .olbc-pill {
	margin-bottom: 8px;
}

.olbc-sub__until {
	margin: 8px 0 4px;
}

.olbc-sub--inactive {
	border-color: #e8b4b8;
}

.olbc-copy .olbc-code {
	align-self: center;
}

.olbc-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.05em;
	letter-spacing: 0.02em;
	color: var(--olbc-primary);
	overflow-wrap: anywhere;
}

.olbc-cancel > summary {
	cursor: pointer;
	color: var(--olbc-muted);
	font-weight: 500;
}

.olbc-cancel[open] > summary {
	margin-bottom: 12px;
	color: var(--olbc-text);
}

.olbc-cancel .olbc-form p {
	margin: 0 0 12px;
}

.olbc-thread-row.is-muted {
	opacity: 0.6;
}

.olbc-request-view {
	display: grid;
	gap: 20px;
}

.olbc-request-view .olbc-notice {
	margin-bottom: 0;
}

.olbc-request {
	display: grid;
	gap: 14px;
}

.olbc-request__head {
	display: grid;
	justify-items: start;
	gap: 6px;
}

.olbc-request__title {
	margin: 0;
	font-size: 1.4em;
}

.olbc-request__text p {
	margin: 0 0 0.8em;
}

.olbc-request-offers {
	display: grid;
	gap: 14px;
	padding-top: 18px;
	border-top: 1px solid var(--olbc-border);
}

.olbc-request-offers .olbc-subtitle {
	margin: 0;
}

.olbc-offers {
	display: grid;
	gap: 14px;
}

.olbc-offer {
	display: grid;
	gap: 12px;
	padding: 18px;
	border: var(--olbc-border-width) solid var(--olbc-border);
	border-radius: var(--olbc-radius);
	background: var(--olbc-surface);
}

.olbc-offer--selected {
	border-color: #1e7a3c;
}

.olbc-offer--declined,
.olbc-offer--withdrawn {
	opacity: 0.7;
}

.olbc-offer:has(.olbc-offer__pick input:checked) {
	border-color: var(--olbc-primary);
	box-shadow: 0 0 0 3px var(--olbc-tint);
}

.olbc-offer--compact {
	padding: 12px 14px;
	border-width: 1px;
	background: #ffffff;
}

.olbc-offer__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.olbc-offer__pick input {
	width: 20px;
	height: 20px;
	accent-color: var(--olbc-primary);
	cursor: pointer;
}

.olbc-offer__who {
	flex: 1 1 auto;
	font-weight: 700;
}

.olbc-offer__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
}

.olbc-offer__amount {
	color: var(--olbc-primary);
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1.1;
}

.olbc-offer--compact .olbc-offer__amount {
	font-size: 1.25em;
}

.olbc-offer__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.olbc-offer__fact {
	display: grid;
	gap: 2px;
}

.olbc-offer__notes {
	margin: 0;
	color: var(--olbc-muted);
	font-size: 0.92em;
}

.olbc-offer__includes p {
	margin: 4px 0 0.6em;
}

.olbc-offer__chat {
	justify-self: start;
	font-weight: 500;
}

.olbc-select-bar {
	position: sticky;
	bottom: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--olbc-radius);
	background: var(--olbc-surface);
	box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
}

.olbc-select-bar .olbc-small {
	flex: 1 1 320px;
}

.olbc-inline-inputs {
	display: flex;
	gap: 8px;
}

.olbc-inline-inputs input {
	flex: 1 1 auto;
	min-width: 0;
}

.olbc-inline-inputs select {
	flex: 0 0 90px;
	width: 90px;
}

.olbc-form--inline {
	display: inline-flex;
	gap: 0;
	margin: 0;
}

.olbc-actions .olbc-form--inline {
	align-items: center;
}

.olbc-field--check-inline .olbc-option {
	margin-top: 8px;
}

.olbc-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border-left: 4px solid var(--olbc-secondary);
}

.olbc-cta__text {
	flex: 1 1 320px;
	font-weight: 500;
}

.olbc-msg .olbc-offer {
	min-width: min(420px, 70vw);
}

/* ------------------------------------------------------------------
 * Βοήθεια (υποστήριξη)
 * ---------------------------------------------------------------- */

.olbc-ticket__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	color: var(--olbc-muted);
	font-size: 0.9em;
}

.olbc-msg.is-team .olbc-msg__bubble {
	border: 1px solid var(--olbc-tint);
	background: #fff;
}

.olbc-msg__author {
	color: var(--olbc-primary);
	font-size: 0.85em;
	font-weight: 600;
}

.olbc-ticket__close {
	margin-top: 8px;
	text-align: right;
}

.olbc-thread-row__text .olbc-pill {
	margin-left: 6px;
}

.olbc-pill--ticket-open {
	background: var(--olbc-tint);
	color: var(--olbc-primary);
}

.olbc-pill--ticket-answered {
	background: #e8f5ec;
	color: #1e6b33;
}

.olbc-pill--ticket-closed {
	background: #f0f0f1;
	color: var(--olbc-muted);
}

/* Τα δεδομένα σας (GDPR) */
.olbc-privacy {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.olbc-privacy__part {
	display: grid;
	align-content: start;
	gap: 8px;
}

.olbc-privacy__title {
	margin: 0;
	font-size: 1.05em;
}

.olbc-privacy__form .olbc-small {
	margin: 0 0 10px;
}
