/* s360-login.css  */

* { box-sizing: border-box; }

/* ✅ ALTERADO EM 02/09/2026 - CASCA: removido o "background: #0F1115" fixo
   daqui - agora o fundo vem da macro [s360_css_background] aplicada
   inline no <body> (tema escolhido pelo síndico). Mantido só um fallback
   escuro no html, caso a macro venha vazia em algum condomínio ainda não
   configurado */
html {
	background: #0F1115;
}

html, body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	font-family: 'Roboto', Arial, sans-serif;
}

.s360-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 12px;
	/* sem background aqui de propósito - deixa o tema do <body> aparecer
	   ao redor do card, igual ao layout antigo (Home Club, Skyline, etc) */
}



.s360-card {
	width: 100%;
	max-width: 760px;
	height: min(460px, 85vh);
	max-height: min(460px, 85vh);
	display: flex;
	background: #0F1115;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.s360-foto-painel {
	flex: 1;
	height: 100%;
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
}

.s360-foto-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}

.s360-foto-texto {
	position: relative;
	z-index: 2;
	padding: 20px;
}

.s360-foto-texto h1 {
	font-size: 19px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 4px;
}

.s360-foto-texto p {
	font-size: 11px;
	color: rgba(255,255,255,0.65);
	margin: 0;
	letter-spacing: 0.3px;
}

.s360-form-painel {
	flex: 1.05;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #0F1115;
	overflow: hidden;
	padding: 0 20px;
}

.s360-scale-wrapper {
	width: 100%;
	max-width: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 60px 0 16px;
	transform-origin: center center;
}

.s360-logo-condominio {
	/*width: 62px;
	height: 62px;
	border-radius: 13px;*/
	background: rgba(255,255,255,0.05);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin-bottom: 4px;
	flex-shrink: 0;
}

.s360-logo-condominio img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.s360-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.s360-control label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: #67E8F9;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.s360-control input {
	width: 100%;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 11px;
	padding: 10px 15px;
	font-size: 15px;
	color: #fff;
	transition: border-color .2s;
}

.s360-control input::placeholder {
	color: rgba(255,255,255,0.3);
}

.s360-control input:focus {
	outline: none;
	border-color: #67E8F9;
}

.s360-linha-recuperar {
	display: flex;
	justify-content: flex-end;
	margin-top: -5px;
}

.s360-linha-recuperar a {
	font-size: 12px;
	color: rgba(255,255,255,0.4);
	text-decoration: none;
}

.s360-linha-recuperar a:hover {
	color: rgba(255,255,255,0.65);
}

.s360-btn-acessar {
	width: 100%;
	background: #FCD34D;
	color: #1A1D22;
	border: none;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 12px;
	border-radius: 11px;
	cursor: pointer;
	transition: background .2s;
}

.s360-btn-acessar:hover {
	background: #f5c531;
}

.s360-bolinhas {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 16px;
}

.s360-bolinha {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid;
	transition: box-shadow .3s, border-color .3s;
}

.s360-status-msg {
	font-size: 9px;
	letter-spacing: 0.5px;
	color: rgba(255,255,255,0.45);
	text-align: center;
	margin-top: 8px;
	min-height: 12px;
	text-transform: uppercase;
	transition: opacity .2s;
	padding: 0 8px;
}

.s360-turnstile-wrap {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}

.s360-badges {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 12px;
}

.s360-badges a { line-height: 0; }
.s360-badges img { height: 26px; width: auto; display: block; }

.s360-parceiros {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 10px 12px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 0.5px solid rgba(255,255,255,0.08);
}

/* ✅ ALTERADO EM 02/09/2026 - CASCA: trava o tamanho de QUALQUER imagem
   dentro de .s360-parceiros, não importa o que vier no HTML cadastrado
   no banco (width="450px", sem width nenhum, etc.) - a moldura sempre
   manda. object-fit:contain garante que a proporção original da logo
   nunca distorce, só encolhe/ajusta dentro da caixa 40x40 */
.s360-parceiros a,
.s360-parceiros img {
	max-width: 60px !important;
	max-height: 60px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain;
	display: inline-block;
}
.s360-parceiro-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	width: 54px;
}

.s360-parceiro-logo {
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
	overflow: hidden;
}

.s360-parceiro-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.s360-parceiro-nome {
	font-size: 6.5px;
	color: rgba(255,255,255,0.35);
	letter-spacing: 0.1px;
	text-align: center;
	line-height: 1.2;
}

/* ✅ ALTERADO EM 02/09/2026 - CASCA: links viraram pills/chips (fundo
   translúcido escuro, sem sublinhado) em vez de texto sublinhado cru -
   fica alinhado com a identidade visual do resto da tela */
.s360-links-avulsos {
	width: 100%;
	max-width: 640px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	padding: 16px 8px 4px;
	text-align: center;
}

.s360-links-avulsos a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	font-size: 12px;
	font-weight: 500;
	color: rgba(255,255,255,0.85);
	text-decoration: none;
	background: rgba(15,17,21,0.35);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 999px;
	padding: 6px 14px;
	transition: background .2s, border-color .2s;
	white-space: nowrap;
}

.s360-links-avulsos a:hover {
	background: rgba(15,17,21,0.55);
	border-color: rgba(255,255,255,0.3);
}
.s360-copyright {
	text-align: center;
	font-size: 12px;
	color: rgba(255,255,255,0.3);
	padding: 6px 0 0;
}

.s360-copyright p { margin: 0; }
.s360-copyright a { color: rgba(255,255,255,0.3); }

.s360-hardware-logos {
	text-align: center;
	padding-top: 10px;
	opacity: 0.45;
}

.s360-hardware-logos img {
	vertical-align: middle;
	margin: 0 5px;
	max-height: 18px;
}

@media (max-width: 768px) {
	.s360-card {
		flex-direction: column;
		height: auto;
		max-height: none;
		border-radius: 16px;
	}
	.s360-foto-painel {
		height: 180px;
		flex: none;
	}
	.s360-foto-texto { padding: 14px; }
	.s360-foto-texto h1 { font-size: 17px; }
	.s360-form-painel {
		height: auto;
		padding: 20px 18px 16px;
	}
}