/* ============================================================
   acceso-clientes.css — Estilos exclusivos de la página de login
   ============================================================ */

/* ── Área principal ────────────────────────────────────────── */
#login-area {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	background: #f7f7f7;
}

/* ── Fila 3 columnas ──────────────────────────────────────── */
.login-page-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.login-page-row > [class*="col-"] {
	float: none;
}

/* ── Tarjeta de login ─────────────────────────────────────── */
.login-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
	padding: 40px 36px 32px;
	margin: 0 auto;
	width: 100%;
}
.login-card .login-icon {
	text-align: center;
	margin-bottom: 18px;
}
.login-card .login-icon i {
	font-size: 42px;
	color: #16A085;
}
.login-card h1 {
	font-size: 22px;
	text-align: center;
	color: #353535;
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.login-card .login-subtitle {
	text-align: center;
	color: #888;
	font-size: 13px;
	margin-bottom: 28px;
}
.login-card .form-group {
	position: relative;
	margin-bottom: 20px;
}
.login-card .form-group label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}
.login-card .form-group .input-wrap {
	position: relative;
}
.login-card .form-group .input-wrap i.field-icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #aaa;
	font-size: 15px;
	pointer-events: none;
}
.login-card .form-group input {
	width: 100%;
	height: 48px;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 0 40px 0 38px;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
	color: #353535;
	background: #fafafa;
	transition: border-color 0.3s ease, background 0.3s ease;
}
.login-card .form-group input:focus {
	border-color: #16A085;
	background: #fff;
	outline: none;
}

/* Botón toggle mostrar/ocultar contraseña */
.login-card .btn-toggle-pwd {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #aaa;
	cursor: pointer;
	font-size: 15px;
	padding: 4px;
	line-height: 1;
	transition: color 0.2s;
}
.login-card .btn-toggle-pwd:hover {
	color: #16A085;
}

/* Botón principal */
.login-card .btn-login {
	width: 100%;
	height: 48px;
	background: #16A085;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: background 0.3s ease;
	margin-top: 8px;
}
.login-card .btn-login:hover {
	background: #12876d;
}

/* Acciones secundarias */
.login-card .login-actions {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 18px;
	flex-wrap: wrap;
	gap: 8px;
}
.login-card .btn-link-action {
	background: none;
	border: none;
	color: #16A085;
	font-size: 13px;
	cursor: pointer;
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s;
}
.login-card .btn-link-action:hover {
	color: #12876d;
}
.login-card .btn-support {
	background: none;
	border: 1px solid #353535;
	color: #353535;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 7px 16px;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease;
}
.login-card .btn-support:hover {
	background: #353535;
	color: #fff;
}

/* Mensaje de alerta */
#login-alert {
	display: none;
	margin-top: 16px;
	padding: 12px 14px;
	background: #fff3cd;
	border-left: 4px solid #e0a800;
	border-radius: 4px;
	font-size: 13px;
	color: #856404;
	line-height: 1.5;
}
#login-alert i {
	margin-right: 6px;
}

/* ── Paneles laterales ────────────────────────────────────── */
.side-panel {
	padding: 24px 16px;
	display: flex;
	align-items: center;
}
.panel-content {
	width: 100%;
}

/* ── Panel Promo (izquierda) ─────────────────────────────── */
.promo-panel .panel-content {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	padding: 28px 20px;
	text-align: center;
}
.promo-panel .panel-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, #16A085, #1abc9c);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}
.promo-panel .panel-icon i {
	font-size: 20px;
	color: #fff;
}
.promo-panel h2 {
	font-size: 15px;
	font-weight: 700;
	color: #353535;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}
.promo-panel .panel-intro {
	font-size: 12px;
	color: #777;
	line-height: 1.6;
	margin-bottom: 16px;
}
.benefits-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	text-align: left;
}
.benefits-list li {
	font-size: 12px;
	color: #555;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f0;
	display: flex;
	align-items: center;
	gap: 8px;
}
.benefits-list li:last-child {
	border-bottom: none;
}
.benefits-list li i {
	color: #16A085;
	font-size: 11px;
	flex-shrink: 0;
}
.btn-panel-cta {
	display: inline-block;
	width: 100%;
	padding: 10px 16px;
	background: #16A085;
	color: #fff;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	text-decoration: none;
	transition: background 0.3s ease;
	text-align: center;
}
.btn-panel-cta:hover {
	background: #12876d;
	color: #fff;
	text-decoration: none;
}
.btn-panel-cta i {
	margin-right: 6px;
}
.promo-badge {
	display: inline-block;
	background: #e8f8f4;
	color: #16A085;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 16px;
}

/* ── Panel Status (derecha) ──────────────────────────────── */
.status-panel .panel-content {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	padding: 22px 18px;
}
.status-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
	flex-wrap: wrap;
	gap: 6px;
}
.status-header h2 {
	font-size: 13px;
	font-weight: 700;
	color: #353535;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.status-global-badge {
	display: flex;
	align-items: center;
	gap: 6px;
	background: #e8f8f4;
	color: #16A085;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 4px 10px;
	border-radius: 20px;
	white-space: nowrap;
}
.status-global-badge i {
	font-size: 9px;
}
.status-last-check {
	font-size: 11px;
	color: #aaa;
	margin: 0;
	width: 100%;
}
.status-section {
	margin-bottom: 14px;
}
.status-section:last-child {
	margin-bottom: 0;
}
.status-section h3 {
	font-size: 9px;
	font-weight: 700;
	color: #aaa;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	margin-bottom: 8px;
}
.status-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.status-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
	border-bottom: 1px solid #f7f7f7;
	font-size: 12px;
}
.status-list li:last-child {
	border-bottom: none;
}
.status-name {
	color: #555;
}
.status-badge {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
}
.status-badge i {
	font-size: 8px;
}
.status-ok {
	color: #16A085;
}
.status-warn {
	color: #e0a800;
}
.status-err {
	color: #c0392b;
}
.no-events {
	font-size: 12px;
	color: #aaa;
	font-style: italic;
	margin: 0;
	padding: 6px 0;
}
.incident-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.incident-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	border-bottom: 1px solid #f7f7f7;
	font-size: 12px;
	color: #777;
}
.incident-list li:last-child {
	border-bottom: none;
}
.incident-list li i {
	color: #16A085;
	font-size: 13px;
	flex-shrink: 0;
}
.incident-date {
	font-weight: 600;
	color: #555;
	white-space: nowrap;
}
.maintenance-item {
	padding: 10px 12px;
	background: #fffbec;
	border-left: 3px solid #e0a800;
	border-radius: 4px;
	margin-bottom: 8px;
	font-size: 12px;
	color: #856404;
}
.maintenance-item:last-child {
	margin-bottom: 0;
}
.maintenance-item .maint-date {
	font-weight: 700;
	display: block;
	margin-bottom: 2px;
}

/* ── Botones toggle (solo móvil/tablet) ──────────────────── */
.mobile-toggle-wrap {
	display: none;
	text-align: center;
	padding: 8px 0;
}
.btn-toggle-panel {
	background: none;
	border: 1px solid #ddd;
	color: #888;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 7px 20px;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.btn-toggle-panel:hover {
	border-color: #16A085;
	color: #16A085;
}
.btn-toggle-panel.active {
	border-color: #16A085;
	color: #16A085;
	background: #e8f8f4;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
	.mobile-toggle-wrap {
		display: block;
	}
	.side-panel {
		display: none;
		padding: 0 15px 20px;
	}
	.side-panel.panel-open {
		display: flex;
	}
	.login-page-row .login-center {
		width: 100%;
	}
}

@media (max-width: 480px) {
	.login-card {
		padding: 28px 18px 24px;
	}
	.login-card .login-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}
