* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body,
html {
	height: 100%;
	width: 100%;
}

.login-container {
	display: flex;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
}

/* ==========================================
   LADO IZQUIERDO (Fondo y Diagrama)
   ========================================== */
.left-section {
	flex: 1.1;
	background-size: cover;
	background-position: center;
	background-color: #5c0623;
	/* Color de respaldo vino tinto */
	position: relative;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px;
}

/* Capa oscura semitransparente opcional para legibilidad */
.left-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(92, 6, 35, 0.85);
	z-index: 1;
}

.left-content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	justify-content: space-between;
}

.sica-candidatos {
	font-size: 12px;
	letter-spacing: 2px;
	opacity: 0.8;
	margin-top: 10px;
}

.left-content h2 {
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
}

.left-content h2 span {
	font-weight: 700;
}

/* Diagrama de Círculos Estilizado */
.circles-diagram {
	position: relative;
	width: 380px;
	height: 320px;
	margin: 10px auto;
}

.circle-item {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.circle-label {
	font-size: 11px;
	background: #5c0623;
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 3px 10px;
	border-radius: 12px;
	white-space: nowrap;
	margin-bottom: 5px;
}

.circle-img-container {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.circle-img-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Posicionamiento aproximado de los círculos periféricos */
.circle-item.top {
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.circle-item.left {
	top: 110px;
	left: 0;
}

.circle-item.right {
	top: 110px;
	right: 0;
}

.circle-item.bottom {
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

.circle-item.left .circle-label,
.circle-item.right .circle-label {
	margin-bottom: 0;
	margin-top: 5px;
}

/* Círculo Central */
.circle-item.center {
	top: 90px;
	left: 50%;
	transform: translateX(-50%);
	width: 180px;
	height: 180px;
	background: #6e0d30;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	justify-content: center;
	padding: 15px;
	box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
}

.circle-item.center p {
	font-size: 12px;
	line-height: 1.2;
}

.dot-divider {
	margin: 4px 0;
	font-size: 10px;
}

.footer-copy {
	font-size: 10px;
	opacity: 0.7;
}

/* ==========================================
   LADO DERECHO (Formulario)
   ========================================== */
.right-section {
	flex: 0.9;
	background: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 40px;
}

.form-wrapper {
	width: 100%;
	max-width: 400px;
}

.form-header {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

.logo-box {
	background: #6e0d30;
	color: white;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: bold;
	font-size: 18px;
	letter-spacing: 1px;
	margin-right: 12px;
}

.logo-subtext {
	font-size: 11px;
	color: #666;
	line-height: 1.2;
}

.access-title {
	font-size: 10px;
	color: #666;
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.right-section h1 {
	font-size: 24px;
	color: #111;
	margin-bottom: 8px;
}

.instruction {
	font-size: 12px;
	color: #666;
	margin-bottom: 24px;
	line-height: 1.4;
}

.input-group {
	margin-bottom: 16px;
}

.input-group label {
	display: block;
	font-size: 12px;
	color: #333;
	margin-bottom: 6px;
}

.input-group input[type="text"],
.input-group input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #dcdcdc;
	border-radius: 8px;
	font-size: 14px;
	color: #333;
	outline: none;
	transition: border-color 0.2s;
}

.input-group input:focus {
	border-color: #6e0d30;
}

.password-wrapper {
	position: relative;
}

.password-wrapper i {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	cursor: pointer;
}

.form-actions-inline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 24px;
	font-size: 12px;
}

.checkbox-container {
	display: flex;
	align-items: center;
	cursor: pointer;
	color: #333;
}

.checkbox-container input {
	margin-right: 8px;
	accent-color: #6e0d30;
}

.forgot-password {
	color: #333;
	text-decoration: none;
}

.forgot-password:hover {
	text-decoration: underline;
}

.btn-entrar {
	width: 100%;
	background: #6e0d30;
	color: white;
	border: none;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	margin-bottom: 12px;
	transition: background 0.2s;
}

.btn-entrar:hover {
	background: #5c0623;
}

.btn-admin {
	width: 100%;
	background: transparent;
	color: #333;
	border: 1px solid #dcdcdc;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-admin:hover {
	background: #f9f9f9;
}

.register-prompt {
	font-size: 11px;
	color: #666;
	text-align: center;
	margin-top: 24px;
	line-height: 1.4;
}

.right-footer {
	font-size: 10px;
	color: #888;
	text-align: center;
	margin-top: 40px;
	letter-spacing: 1px;
}

/* Contenedor relativo para alojar el input y el ojo dentro */
.input-group {
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
}

/* Espacio interno a la derecha del input para que el texto no tape el ojo */
.input-group .form-control-modern {
	width: 100%;
	padding-right: 45px;
	/* Deja espacio para el ojo */
}

/* Posicionamiento absoluto del ojo dentro del input */
.input-group-append {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
}

.input-group-text-modern {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}
