body {
	margin: 0;
	font-family: 'Segoe UI', sans-serif;
	background: #f4f6fa;
}

.container-login {
	display: flex;
	min-height: 100vh;
}

.left-panel {
	width: 50%;
	padding: 80px 60px;
	background: linear-gradient(135deg, #0f172a, #2563eb);
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ESTRUTURA DO NOVO LOGOTIPO (CSS PURO) */
.logo-container {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 40px;
	user-select: none;
}

.logo-icon-box {
	width: 46px;
	height: 46px;
	background-color: #2563eb;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.logo-icon-box::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.logo-graphic {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
}

.logo-letter {
	color: #ffffff;
	font-weight: 900;
	font-size: 19px;
	line-height: 1;
	padding-bottom: 2px;
}

.logo-letter-s {
	border-bottom: 2px solid rgba(255, 255, 255, 0.4);
	border-left: 2px solid rgba(255, 255, 255, 0.4);
	border-bottom-left-radius: 5px;
	padding-left: 3px;
}

.logo-letter-v {
	border-bottom: 2px solid rgba(255, 255, 255, 0.4);
	border-right: 2px solid rgba(255, 255, 255, 0.4);
	border-bottom-right-radius: 5px;
	padding-right: 3px;
}

.logo-bridge {
	width: 4px;
	height: 2px;
	background-color: rgba(255, 255, 255, 0.6);
	margin-top: -4px;
	border-radius: 2px;
}

.logo-text-box {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.logo-text-main {
	font-size: 26px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 0.5px;
}

/* Variação para o painel direito claro */
.right-panel .logo-text-main {
	color: #0f172a;
}

.logo-text-sub {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 500;
}

.badge-ia {
	font-size: 9px;
	background: linear-gradient(90deg, #a855f7, #6366f1);
	color: white;
	padding: 3px 8px;
	border-radius: 20px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	animation: pulseia 2s infinite;
	margin-left: 4px;
}

@keyframes pulseia {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}

/* DEMAIS ESTILOS MANTIDOS */
.headline {
	font-size: 48px;
	font-weight: 700;
	margin-bottom: 25px;
}

.description {
	font-size: 22px;
	line-height: 1.7;
	margin-bottom: 40px;
}

.benefits {
	display: flex;
	flex-direction: column;
	gap: 18px;
	font-size: 20px;
}

.right-panel {
	width: 50%;
	background: #f8fafc;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 50px;
}

.login-card {
	width: 100%;
	max-width: 520px;
	background: white;
	border-radius: 24px;
	padding: 50px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

.login-badge {
	display: inline-block;
	background: #dcfce7;
	color: #166534;
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 20px;
}

.login-title {
	font-size: 38px;
	font-weight: 700;
	color: #0f172a;
}

.login-subtitle {
	color: #64748b;
	margin-top: 5px;
	margin-bottom: 30px;
}

.campo {
	margin-bottom: 15px;
}

.campo label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #334155;
}

.input-login {
	width: 100%;
	height: 48px;
	border: 1px solid #dbe2ea;
	border-radius: 10px;
	padding: 0 15px;
	font-size: 15px;
}

.btn-login {
	width: 100% !important;
	height: 52px !important;
	margin-top: 15px !important;
	border: none !important;
	background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
	border-radius: 12px !important;
	font-weight: 700 !important;
}

.links-login {
	text-align: center;
	margin-top: 25px;
}

.links-login a {
	color: #2563eb;
	text-decoration: none;
	font-weight: 600;
}

/* LOADING */
.loading-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, .45);
	backdrop-filter: blur(4px);
	z-index: 99999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading-card {
	background: white;
	border-radius: 18px;
	padding: 35px;
	min-width: 320px;
	text-align: center;
}

.loading-title {
	margin-top: 15px;
	font-size: 20px;
	font-weight: 700;
}

.loading-text {
	color: #64748b;
	margin-top: 8px;
}

.spinner {
	width: 70px;
	height: 70px;
	margin: auto;
	border: 6px solid #e2e8f0;
	border-top: 6px solid #2563eb;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* RESPONSIVIDADE MOBILE */
@media (max-width: 991px) {
    .container-login { flex-direction: column; }
    .left-panel { width: 100%; padding: 40px 25px; }
    .right-panel { width: 100%; padding: 45px 15px; }
    .headline { font-size: 32px; }
    .description { font-size: 16px; }
    .benefits { font-size: 14px; gap: 10px; }
    .login-card { max-width: 100%; padding: 30px 20px; }
    .login-title { font-size: 28px; }
}

@media (max-width: 768px) {
    .left-panel { display: none; }
    .right-panel { width: 100%; min-height: 100vh; }
    .login-card { box-shadow: none; border-radius: 0; max-width: 100%; }
}





/* Container de carregamento moderno */
.loading-card-premium {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    min-width: 360px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-loading-animation {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animação 1: Pulsação suave do Quadrado Azul (Efeito Respiração) */
.pulse-animation {
    animation: logoBreathe 1.8s ease-in-out infinite;
    transform-origin: center;
}

@keyframes logoBreathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
        background-color: #1d4ed8; /* Escurece sutilmente no pico */
    }
}

/* Animação 2: Brilho/Piscar nas lentes e na ponte dos óculos */
.glow-bridge {
    animation: bridgeGlow 1.8s ease-in-out infinite;
}

@keyframes bridgeGlow {
    0%, 100% { opacity: 0.6; background-color: rgba(255, 255, 255, 0.6); }
    50% { opacity: 1; background-color: #ffffff; box-shadow: 0 0 8px #ffffff; }
}

/* Animação 3: Barra de Progresso Linear Infinita (Estilo SaaS Moderno) */
.progress-bar-container {
    width: 100%;
    height: 5px;
    background-color: #e2e8f0;
    border-radius: 10px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar-line {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #a855f7);
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: -40%;
    animation: progressInfinite 1.4s infinite linear;
}

@keyframes progressInfinite {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* Estilo geral das letras do logotipo */
.logo-letter {
    color: #ffffff;
    font-weight: 900;
    font-size: 19px;
    line-height: 1;
    padding-bottom: 2px;
}

/* Haste Esquerda: Envolve o S */
.logo-letter-s {
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom-left-radius: 5px;
    padding-left: 3px;
}

/* Haste Direita Ajustada: Envolve o V perfeitamente */
.logo-letter-v {
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom-right-radius: 5px;
    padding-right: 3px;
}

