/* ClickDate — φόρμες λογαριασμού
   Το --cd-accent παίρνει το κύριο χρώμα του Listeo (ορίζεται από το plugin). */

.cd-auth {
	--cd-accent: var(--cd-brand, #6c70dc);
	--cd-border: #e2e2e6;
	--cd-muted: #6f7178;
	max-width: 460px;
	margin: 0 auto;
	font-size: 15px;
}

/* Μέσα στο popup του Listeo το component γεμίζει το πλάτος */
#sign-in-dialog .cd-auth,
.sign-in-form .cd-auth {
	max-width: none;
}

.cd-auth [hidden] {
	display: none !important;
}

/* Καρτέλες */
.cd-auth__tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0 0 22px;
	border-bottom: 1px solid var(--cd-border);
}

.cd-auth__tab {
	padding: 12px 8px;
	text-align: center;
	font-weight: 600;
	color: var(--cd-muted);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	text-decoration: none;
	transition: color 0.15s, border-color 0.15s;
}

.cd-auth__tab:hover,
.cd-auth__tab:focus {
	color: #333;
}

.cd-auth__tab[aria-selected="true"] {
	color: var(--cd-accent);
	border-bottom-color: var(--cd-accent);
}

.cd-auth--single {
	padding-top: 4px;
}

.cd-auth__title {
	margin: 0 0 14px;
	font-size: 20px;
}

.cd-auth__intro {
	margin: 0 0 16px;
	color: var(--cd-muted);
	font-size: 14px;
	line-height: 1.55;
}

/* Πεδία */
.cd-auth__form {
	margin: 0;
}

.cd-auth__row {
	margin: 0 0 14px;
}

.cd-auth__row > label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	font-size: 14px;
}

.cd-auth__row small {
	font-weight: 400;
	color: var(--cd-muted);
}

.cd-auth input[type="text"],
.cd-auth input[type="email"],
.cd-auth input[type="tel"],
.cd-auth input[type="password"] {
	width: 100%;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	box-sizing: border-box;
}

.cd-auth__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
}

.cd-auth__password {
	position: relative;
	display: block;
}

.cd-auth__password input {
	padding-right: 92px !important;
}

.cd-auth__toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	transform: translateY(-50%);
	padding: 4px 8px;
	border: 0;
	background: transparent;
	color: var(--cd-muted);
	font-size: 13px;
	cursor: pointer;
}

.cd-auth__toggle:hover {
	color: var(--cd-accent);
}

.cd-auth__row--inline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 14px;
}

.cd-auth__remember,
.cd-auth__check label {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.45;
	cursor: pointer;
}

.cd-auth input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--cd-accent);
}

.cd-auth__hint {
	margin: -6px 0 14px;
	font-size: 13px;
	color: var(--cd-muted);
}

.cd-auth .button.fullwidth,
.cd-auth__submit {
	display: block;
	width: 100%;
	height: 50px;
	margin: 4px 0 0;
	padding: 0 20px;
	border: 0;
	border-radius: 50px;
	background: var(--cd-accent);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 50px;
	cursor: pointer;
	transition: filter 0.15s;
}

.cd-auth__submit:hover,
.cd-auth__submit:focus {
	filter: brightness(0.93);
	color: #fff;
}

.cd-auth__submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.cd-auth__link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--cd-accent);
	font-size: 14px;
	text-decoration: underline;
	cursor: pointer;
}

.cd-auth__link[disabled] {
	color: var(--cd-muted);
	cursor: default;
}

.cd-auth__resend {
	margin: 12px 0 0;
	text-align: center;
}

.cd-auth__switch,
.cd-auth__center {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--cd-muted);
}

/* Μηνύματα */
.cd-auth__message {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 6px;
	background: #fdecea;
	color: #8a1f11;
	font-size: 14px;
	line-height: 1.5;
}

.cd-auth__message--success {
	background: #eaf6ec;
	color: #1e5e2c;
}

/* Εγγραφή: τύπος λογαριασμού */
.cd-auth__types {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 20px;
}

.cd-auth__type {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 14px 10px;
	border: 1px solid var(--cd-border);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.cd-auth__type i {
	font-size: 22px;
	color: var(--cd-muted);
}

.cd-auth__type strong {
	font-size: 15px;
}

.cd-auth__type span {
	font-size: 13px;
	color: var(--cd-muted);
}

.cd-auth__type:hover {
	border-color: #c9c9d0;
}

.cd-auth__type[aria-checked="true"] {
	border-color: var(--cd-accent);
	box-shadow: 0 0 0 1px var(--cd-accent) inset;
}

.cd-auth__type[aria-checked="true"] i {
	color: var(--cd-accent);
}

/* Μετά την εγγραφή */
.cd-auth__done {
	padding: 10px 0 0;
	text-align: center;
}

.cd-auth__done i {
	display: block;
	margin-bottom: 10px;
	font-size: 40px;
	color: var(--cd-accent);
}

.cd-auth__done p {
	margin: 0 0 14px;
	line-height: 1.6;
}

.cd-auth__done .cd-auth__message {
	margin-top: 14px;
}

@media (max-width: 420px) {
	.cd-auth__cols {
		grid-template-columns: 1fr;
	}
}

/* Συνέχεια με Google */
.cd-auth__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 12px;
	color: var(--cd-muted);
	font-size: 13px;
}
.cd-auth__or::before,
.cd-auth__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e4e6ef;
}
.cd-auth__google {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 50px;
	padding: 0 20px;
	border: 1px solid #dadce0;
	border-radius: 50px;
	background: #fff;
	color: #1f1f1f !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.15s, border-color 0.15s;
}
.cd-auth__google:hover,
.cd-auth__google:focus {
	background: #f8f9fa;
	border-color: #c4c7cc;
}
.cd-auth__google img, .cd-auth__google svg {
	flex: none;
	color: #5f6368;
}
.cd-auth__gterms {
	margin: 8px 0 0;
	font-size: 12px;
	color: var(--cd-muted);
	text-align: center;
}
