/*
 * LEGACY login styles (Barlow + Bootstrap 5) — usati SOLO da:
 *   - templates/utenti/login.tpl              (TaGroup, host: crm.taogroup.it)
 *   - templates/customs/730/utenti/login.tpl  (AGL, hosts: crm.aglasteimmobiliari.it, crmv2.aglasteimmobiliari.it)
 *   - templates/utenti/password-recovery.tpl  (legacy fallback per AGL/TaGroup)
 *   - templates/utenti/change-password.tpl    (legacy fallback per AGL/TaGroup)
 *   - templates/utenti/activate.tpl           (flow attivazione utente, non ancora migrato al liquid)
 *
 * Il nuovo layout (Inter Tight + griglia Bootstrap 5.3 + design system Liquid Glass)
 * vive in: assets/css/liquid-glass.css + assets/css/login-liquid.css
 * ed è servito da templates/utenti/login-liquid.tpl (e varianti).
 *
 * NON aggiungere nuove regole qui se non per fix puntuali sui flow legacy:
 * il design moderno va sempre nelle classi `.login-*` di login-liquid.css.
 */
html, body {
    height: 100%;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
}

.btn-default {
    color: #2560a3;
    background-color: #fff;
    border: 1px solid #ccc;
    border-bottom: 2px solid #ccc;
    font-weight: 700;
}
.btn-default:hover, .btn-default:active, .btn-default:focus {
    color: #2560a3;
    background-color: #f5f5f5;
    border-color: #aaa;
}

.cover {
    background-image: url("../images/login-cover.jpg");
    background-size: cover;
    background-position: center;
}
.form {
    padding-top: 100px;
}

.modal button.close {
	width: 30px;
	height: 30px;
	border: 2px solid #fff;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	position: absolute;
	right: -15px;
	top: -15px;
	background: #666 url(../images/modal-close.png) no-repeat center;
	opacity: 1;
	color: #fff;
	text-shadow: none;
}
.modal-notify button.close {
	top: -22px;
}
.modal-notify .modal-footer {
	border-top: none;
}
.modal-notify .modal-dialog {
	width: 400px;
}
.modal-notify.large .modal-dialog {
	width:700px;
}
.modal-notify .modal-content {
	border-top: 9px solid #2560a4;
	padding: 0px;
}
.modal-notify-error .modal-content {
	border-top-color: #ed145b;
}
.modal-notify-warning .modal-content {
	border-top-color: #f7941d;
}
.modal-notify-success .modal-content {
	border-top-color: #7dc242;
}
.modal-notify .modal-content .modal-body {
	padding: 0px;
	background: #fff;
}
.modal-notify .modal-content .inner {
	padding: 36px;
}
.modal-notify .modal-content h2 {
	font-size: 14px;
	text-transform: none;
	margin-bottom: 0px;
}
.modal-notify-error .modal-content h1 {
	font-size: 28px;
	line-height: 50px;
	font-style: italic;
	font-weight: normal;
	color: #ed145b;
	text-align: center;
	margin: 0 0 40px;
}
.modal-notify-warning .modal-content h1 {
	font-size: 28px;
	line-height: 50px;
	font-style: italic;
	font-weight: normal;
	color: #f7941d;
	text-align: center;
	margin: 0 0 40px;
}
.modal-notify-success .modal-content h1 {
	font-size: 28px;
	line-height: 50px;
	font-style: italic;
	font-weight: normal;
	color: #7dc242;
	text-align: center;
	margin: 0 0 40px;
}
.modal-notify-error .modal-content h1 strong, .modal-notify-warning .modal-content h1 strong, .modal-notify-success .modal-content h1 strong {
	font-size: 46px;
}
.modal-notify-error .modal-content h2 {
	color: #ed145b;
}
.modal-notify-warning .modal-content h2 {
	color: #f7941d;
}
.modal-notify-success .modal-content h2 {
	color: #7dc242;
}
.modal-notify .modal-content p {
	font-size: 13px;
}
.modal-notify .modal-content ul {
	margin:0 10px 0 10px;
	font-size: 13px;
}
.modal-notify .modal-footer {
	border: none;
	padding: 15px;
}

.modal-notify .modal-content .user-picture {
	display: inline-block;
	vertical-align: top;
	position: relative;
	text-align:center;
}
.modal-notify .modal-content .user-picture img.avatar {
	border-radius: 40px;
	-moz-border-radius: 40px;
	-webkit-border-radius: 40px;
	margin: 5px;
}
.modal-notify .modal-content .user-image {
	position: relative;
	display: inline-block;
	z-index: 999;
	text-align:center;
}
.modal-notify .modal-content .user-image img {
	border-radius: 80px;
	-moz-border-radius: 80px;
	-webkit-border-radius: 80px;
	margin: 5px;
}

.pwd-wrapper {
	position: relative;
}
.pwd-wrapper input {
	padding-right: 40px;
}
.pwd-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #888;
	user-select: none;
}
.pwd-toggle:hover {
	color: #2560a3;
}
