/* ZYNVIA CLOUD E.I.R.L. — colores de marca dentro del webmail (skin Elastic) */
html:not(.dark-mode) {
	--zv-cyan: #06b6d4;
	--zv-blue: #2563eb;
}

/* Menú lateral */
html:not(.dark-mode) #layout-menu {
	background: linear-gradient(180deg, #071226 0%, #0b1d3a 100%) !important;
}

#layout-menu #logo {
	max-height: 48px;
	width: auto;
	margin: 14px auto 6px;
}

html:not(.dark-mode) #layout-menu .menu a {
	color: #cbd5e1 !important;
	transition: color 160ms ease, background-color 160ms ease;
}

html:not(.dark-mode) #layout-menu .menu a:hover {
	color: #fff !important;
	background-color: rgb(255 255 255 / 0.06) !important;
}

html:not(.dark-mode) #layout-menu .menu a.selected {
	color: #fff !important;
	background-color: rgb(6 182 212 / 0.16) !important;
	box-shadow: inset 3px 0 0 var(--zv-cyan);
}

/* Botón principal (Redactar, Enviar, Guardar…) */
html:not(.dark-mode) .btn-primary,
html:not(.dark-mode) a.button.compose {
	background: linear-gradient(90deg, var(--zv-cyan), var(--zv-blue)) !important;
	border-color: transparent !important;
	color: #fff !important;
}

html:not(.dark-mode) .btn-primary:hover { filter: brightness(1.06); }
html:not(.dark-mode) .btn-primary:active { transform: scale(0.98); }

/* Elementos seleccionados en listas y carpetas */
html:not(.dark-mode) table.listing tr.selected td,
html:not(.dark-mode) ul.listing li.selected,
html:not(.dark-mode) table.records-table tr.selected td,
html:not(.dark-mode) #folderlist-content li.selected > a,
html:not(.dark-mode) #settings-menu li.selected > a {
	background-color: #e0f2fe !important;
	color: #0b1d3a !important;
}

html:not(.dark-mode) table.listing tr.focused > td:first-child,
html:not(.dark-mode) table.records-table tr.focused > td:first-child {
	border-left-color: var(--zv-blue) !important;
}

/* Foco */
html:not(.dark-mode) .form-control:focus,
html:not(.dark-mode) select:focus,
html:not(.dark-mode) textarea:focus {
	border-color: var(--zv-cyan) !important;
	box-shadow: 0 0 0 3px rgb(6 182 212 / 0.16) !important;
}

/* Contadores de no leídos */
html:not(.dark-mode) .unreadcount { background-color: var(--zv-blue) !important; color: #fff !important; }
