/* 
	Bolsa de Empleo - Estilos Modernos y Responsive
	Archivo: bolsa-empleo.css
	Descripción: Estilos reutilizables para la bolsa de empleo
	Uso: <link rel="stylesheet" href="css/bolsa-empleo.css">
*/

:root {
	--primary-color: #ff9800;
	--success-color: #4caf50;
	--dark-color: #1a1a1a;
	--light-color: #f5f5f5;
	--border-radius: 12px;
}

* {
	font-family: 'Inter', sans-serif;
}

html, body {
	height: 100%;
}

body {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	background-image: url('../images/imagenPortalBolsaEmpleo.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	min-height: 100vh;
	color: #333;
	padding: 2rem 0;
}

.main-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 1rem;
}

.hero-section {
	text-align: center;
	color: white;
	margin-bottom: 2rem;
	margin-top: 1rem;
	animation: slideDown 0.8s ease-out;
	width: 100%;
}

.hero-section h1 {
	font-size: clamp(1.8rem, 5vw, 2.8rem);
	font-weight: 700;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
	margin-bottom: 0.5rem;
}

.hero-section p {
	font-size: clamp(1rem, 3vw, 1.2rem);
	text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	padding: 2rem;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.login-card {
	background: white;
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	animation: zoomIn 0.6s ease-out;
}

.login-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
	padding: 2rem 1.5rem;
	text-align: center;
	border-bottom: 4px solid;
}

.card-header.grad-header {
	border-bottom-color: var(--primary-color);
	background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.05));
}

.card-header.emp-header {
	border-bottom-color: var(--success-color);
	background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
}

.card-header.coord-header {
	border-bottom-color: #2196f3;
	background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
}

.card-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0;
	color: var(--dark-color);
}

.card-body {
	padding: 2rem 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.card-icon {
	width: 100px;
	height: 100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 3rem;
	transition: transform 0.3s ease;
}

.login-card:hover .card-icon {
	transform: scale(1.1) rotate(5deg);
}

.card-icon.grad-icon {
	background: rgba(255, 152, 0, 0.1);
	color: var(--primary-color);
}

.card-icon.emp-icon {
	background: rgba(76, 175, 80, 0.1);
	color: var(--success-color);
}

.card-icon.coord-icon {
	background: rgba(33, 150, 243, 0.1);
	color: #2196f3;
}

.card-description {
	text-align: center;
	font-size: 0.95rem;
	color: #666;
	flex-grow: 1;
}

.card-description strong {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--dark-color);
}

.btn-login {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	width: 100%;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.btn-login-grad {
	background-color: var(--primary-color);
	color: white;
}

.btn-login-grad:hover {
	background-color: #e68900;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.btn-login-emp {
	background-color: var(--success-color);
	color: white;
}

.btn-login-emp:hover {
	background-color: #45a049;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-login-coord {
	background-color: #2196f3;
	color: white;
}

.btn-login-coord:hover {
	background-color: #0b7dda;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.btn-scroll-up {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 1000;
}

.btn-scroll-up:hover {
	background-color: #e68900;
	transform: translateY(-3px);
}

.btn-scroll-up.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Animaciones */
@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* ============================================
   MEDIA QUERIES - Responsive Design
   ============================================ */

/* Tablets - 768px y menor */
@media (max-width: 768px) {
	body {
		padding: 1rem 0;
	}

	.main-container {
		padding: 0 1rem;
	}

	.hero-section {
		margin-bottom: 1.5rem;
		margin-top: 0.5rem;
	}

	.hero-section h1 {
		font-size: 1.6rem;
	}

	.hero-section p {
		font-size: 1rem;
	}

	.cards-container {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		padding: 1.5rem 1rem;
	}

	.login-card {
		margin: 0;
	}

	.card-header {
		padding: 1.5rem 1.25rem;
	}

	.card-header h2 {
		font-size: 1.4rem;
	}

	.card-body {
		padding: 1.5rem 1rem;
	}

	.card-icon {
		width: 80px;
		height: 80px;
		font-size: 2.5rem;
	}

	.card-description {
		font-size: 0.9rem;
	}
}

/* Móviles - 480px y menor */
@media (max-width: 480px) {
	body {
		padding: 0.5rem 0;
	}

	.main-container {
		padding: 0 0.75rem;
	}

	.hero-section {
		margin-bottom: 1.5rem;
		margin-top: 1rem;
	}

	.hero-section h1 {
		font-size: 1.3rem;
	}

	.hero-section p {
		font-size: 0.9rem;
	}

	.cards-container {
		gap: 1rem;
		padding: 1rem 0.75rem;
	}

	.card-header {
		padding: 1.25rem 1rem;
	}

	.card-header h2 {
		font-size: 1.2rem;
	}

	.card-body {
		padding: 1.25rem 0.75rem;
		gap: 1rem;
	}

	.card-icon {
		width: 70px;
		height: 70px;
		font-size: 2rem;
	}

	.card-description {
		font-size: 0.85rem;
	}

	.card-description p {
		margin: 0.5rem 0 0 0;
	}

	.btn-login {
		padding: 0.65rem 1.25rem;
		font-size: 0.9rem;
	}
}

/* ============================================
   FORMULARIO DE LOGIN - Login Form Styles
   ============================================ */

.login-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 2rem 1rem;
}

.login-form-wrapper {
	background: white;
	border-radius: var(--border-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	width: 100%;
	max-width: 420px;
	animation: slideDown 0.6s ease-out;
}

.login-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, #e68900 100%);
	color: white;
	padding: 2.5rem 2rem;
	text-align: center;
	border-bottom: 4px solid var(--primary-color);
}

.login-header-coord {
	background: linear-gradient(135deg, #2196f3 0%, #0b7dda 100%);
	border-bottom: 4px solid #2196f3;
}

.login-header-emp {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	border-bottom: 4px solid #4caf50;
}

.login-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0.5rem 0;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.login-header p {
	font-size: 0.95rem;
	margin: 0.5rem 0 0 0;
	opacity: 0.95;
}

.login-form {
	padding: 2.5rem 2rem;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.form-control {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background-color: #f9f9f9;
	font-family: 'Inter', sans-serif;
}

.form-control:focus {
	outline: none;
	border-color: var(--primary-color);
	background-color: white;
	box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.form-control::placeholder {
	color: #999;
}

.btn-login-submit {
	width: 100%;
	padding: 0.85rem 1.5rem;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 0.5rem;
}

.btn-login-submit-coord {
	background-color: #2196f3;
}

.btn-login-submit-emp {
	background-color: #4caf50;
}

.btn-login-submit:hover {
	background-color: #e68900;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.btn-login-submit-coord:hover {
	background-color: #0b7dda;
	box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.btn-login-submit-emp:hover {
	background-color: #45a049;
	box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-login-submit:active {
	transform: translateY(0);
}

.login-footer {
	padding: 1.5rem 2rem;
	background-color: #f5f5f5;
	border-top: 1px solid #e0e0e0;
	text-align: center;
	font-size: 0.9rem;
}

.login-footer a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
	cursor: pointer;
}

.login-footer-coord a {
	color: #2196f3;
}

.login-footer-emp a {
	color: #4caf50;
}

.login-footer a:hover {
	color: #e68900;
	text-decoration: underline;
}

.login-footer-coord a:hover {
	color: #0b7dda;
}

.login-footer-emp a:hover {
	color: #45a049;
}

.form-link {
	display: inline-block;
	margin-right: 1rem;
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.9rem;
	cursor: pointer;
	transition: color 0.3s ease;
}

.form-link-coord {
	color: #2196f3;
}

.form-link-emp {
	color: #4caf50;
}

.form-link:hover {
	color: #e68900;
	text-decoration: underline;
}

.form-link-coord:hover {
	color: #0b7dda;
}

.form-link-emp:hover {
	color: #45a049;
}

.session-message {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 1.5rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	text-align: center;
	animation: slideDown 0.5s ease-out;
}

.session-message a {
	color: #155724;
	font-weight: 600;
	text-decoration: underline;
}

.maintenance-alert {
	background-color: #f8d7da;
	border: 2px solid #f5c6cb;
	color: #721c24;
	padding: 2rem;
	border-radius: var(--border-radius);
	margin: 2rem auto;
	max-width: 500px;
	animation: slideDown 0.6s ease-out;
}

.maintenance-alert h4 {
	font-size: 1.5rem;
	margin: 0 0 1rem 0;
	font-weight: 700;
}

.maintenance-alert p {
	margin: 0;
	line-height: 1.6;
	font-size: 0.95rem;
}

/* Modal Styles */
.modal-content {
	border: none;
	border-radius: var(--border-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
	background: linear-gradient(135deg, var(--primary-color) 0%, #e68900 100%);
	color: white;
	border: none;
	padding: 1.5rem;
}

.modal-header .btn-close {
	filter: brightness(0) invert(1);
}

.modal-header h5 {
	font-weight: 700;
	margin: 0;
}

.modal-body {
	padding: 2rem;
	line-height: 1.6;
}

.modal-footer {
	background-color: #f5f5f5;
	border-top: 1px solid #e0e0e0;
	padding: 1rem 2rem;
}

.btn-modal-primary {
	background-color: var(--primary-color);
	color: white;
	border: none;
	padding: 0.6rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
}

.btn-modal-primary:hover {
	background-color: #e68900;
	box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.respuesta {
	margin-top: 1rem;
}

.alert {
	padding: 1rem;
	border-radius: 8px;
	margin: 0;
	animation: slideDown 0.4s ease-out;
}

.alert-info {
	background-color: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
}

.alert-danger {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.alert-success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.alert strong {
	font-weight: 600;
}

/* Responsive Login */
@media (max-width: 768px) {
	.login-form-wrapper {
		max-width: 100%;
		border-radius: 8px;
	}

	.login-header {
		padding: 2rem 1.5rem;
	}

	.login-header h2 {
		font-size: 1.5rem;
	}

	.login-form {
		padding: 2rem 1.5rem;
	}

	.login-footer {
		padding: 1.25rem 1.5rem;
	}

	.form-link {
		margin-right: 0.5rem;
		font-size: 0.85rem;
	}
}

@media (max-width: 480px) {
	.login-container {
		padding: 1rem 0.75rem;
		min-height: auto;
	}

	.login-form-wrapper {
		border-radius: 8px;
	}

	.login-header {
		padding: 1.5rem 1.25rem;
	}

	.login-header h2 {
		font-size: 1.3rem;
	}

	.login-header p {
		font-size: 0.85rem;
	}

	.login-form {
		padding: 1.5rem 1.25rem;
	}

	.form-group {
		margin-bottom: 1rem;
	}

	.form-control {
		padding: 0.65rem 0.75rem;
		font-size: 0.95rem;
	}

	.btn-login-submit {
		padding: 0.7rem 1rem;
		font-size: 0.95rem;
	}

	.login-footer {
		padding: 1rem 1.25rem;
		font-size: 0.85rem;
	}

	.form-link {
		display: block;
	}
}

/* ============================================
   DASHBOARD - Página Principal
   ============================================ */

.page-wrapper {
	background: linear-gradient(to bottom, #f5f7fa 0%, #ffffff 100%);
	min-height: calc(100vh - 60px);
	padding: 2rem 1rem;
}

.page-header {
	background: linear-gradient(135deg, #ff9800 0%, #e68900 100%);
	color: white;
	padding: 2rem;
	border-radius: 12px;
	margin-bottom: 2rem;
	box-shadow: 0 10px 30px rgba(255, 152, 0, 0.2);
	animation: slideDown 0.6s ease-out;
}

.page-header h4 {
	font-size: 1.6rem;
	font-weight: 700;
	margin: 0;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.page-header small {
	font-size: 1rem;
	opacity: 0.95;
	display: block;
	margin-top: 0.5rem;
}

.dashboard-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.dashboard-card {
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	animation: zoomIn 0.6s ease-out;
}

.dashboard-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.dashboard-card-header {
	background: linear-gradient(135deg, #ff9800 0%, #e68900 100%);
	color: white;
	padding: 1.5rem;
	font-size: 1.2rem;
	font-weight: 600;
	border-bottom: 4px solid #ff9800;
}

.dashboard-card-header.header-success {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	border-bottom-color: #4caf50;
}

.dashboard-card-header.header-info {
	background: linear-gradient(135deg, #2196f3 0%, #0b7dda 100%);
	border-bottom-color: #2196f3;
}

.dashboard-card-body {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.dashboard-card-text {
	color: #555;
	line-height: 1.6;
	font-size: 0.95rem;
	flex-grow: 1;
}

.dashboard-card-text strong {
	display: block;
	color: #1a1a1a;
	margin-bottom: 0.5rem;
	font-size: 1.05rem;
}

.dashboard-card-image {
	text-align: center;
	padding: 1rem 0;
}

.dashboard-card-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.dashboard-card-footer {
	padding: 1.5rem;
	border-top: 1px solid #e0e0e0;
	background-color: #fafafa;
}

.dashboard-card-footer a,
.dashboard-card-footer button {
	display: inline-block;
	padding: 0.6rem 1.5rem;
	background-color: #ff9800;
	color: white;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
}

.dashboard-card-footer a:hover,
.dashboard-card-footer button:hover {
	background-color: #e68900;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

@media (max-width: 768px) {
	.page-wrapper {
		padding: 1.5rem 0.75rem;
	}

	.page-header {
		padding: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.page-header h4 {
		font-size: 1.3rem;
	}

	.dashboard-content {
		grid-template-columns: 1fr;
		gap: 1.5rem;
		margin-bottom: 1.5rem;
	}

	.dashboard-card-body {
		padding: 1rem;
	}

	.dashboard-card-footer {
		padding: 1rem;
	}
		margin-right: 0;
		margin-bottom: 0.5rem;
	}

	.maintenance-alert {
		margin: 1rem 0.75rem;
		padding: 1.5rem 1.25rem;
	}

	.maintenance-alert h4 {
		font-size: 1.2rem;
	}

	.maintenance-alert p {
		font-size: 0.9rem;
	}
}

/* ============================================
   FORMULARIOS COMPLEJOS - Complex Forms
   ============================================ */

.form-container {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 2rem 1rem;
}

.form-wrapper {
	background: white;
	border-radius: var(--border-radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	overflow: hidden;
	width: 100%;
	max-width: 900px;
	animation: slideDown 0.6s ease-out;
}

.form-header {
	background: linear-gradient(135deg, var(--success-color) 0%, #45a049 100%);
	color: white;
	padding: 2.5rem 2rem;
	text-align: center;
	border-bottom: 4px solid var(--success-color);
	position: relative;
}

.form-header h2 {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0.5rem 0;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.form-header p {
	font-size: 0.95rem;
	margin: 0.5rem 0 0 0;
	opacity: 0.95;
}

.form-header .btn-close-form {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background-color: rgba(255, 255, 255, 0.2);
	color: white;
	border: none;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	text-decoration: none;
}

.form-header .btn-close-form:hover {
	background-color: rgba(255, 255, 255, 0.3);
	color: white;
}

.form-body {
	padding: 2.5rem 2rem;
}

.form-body::-webkit-scrollbar {
	width: 6px;
}

.form-body::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.form-body::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 10px;
}

.form-body::-webkit-scrollbar-thumb:hover {
	background: #e68900;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	font-weight: 600;
	color: var(--dark-color);
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.form-group small {
	font-size: 0.8rem;
	color: #e74c3c;
	margin-left: 0.25rem;
}

.form-control,
.form-select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background-color: #f9f9f9;
	font-family: 'Inter', sans-serif;
	box-sizing: border-box;
}

.form-control:focus,
.form-select:focus {
	outline: none;
	border-color: var(--success-color);
	background-color: white;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-control[readonly] {
	background-color: #f0f0f0;
	color: #666;
	cursor: not-allowed;
}

.form-control::placeholder {
	color: #999;
}

textarea.form-control {
	resize: vertical;
	min-height: 80px;
}

.form-help-text {
	font-size: 0.8rem;
	color: #999;
	margin-top: 0.3rem;
	display: block;
}

/* Layout de dos columnas para formularios */
.form-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.form-col {
	display: flex;
	flex-direction: column;
}

.btn-register {
	width: 100%;
	padding: 0.85rem 1.5rem;
	background-color: var(--success-color);
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 0.5rem;
}

.btn-register:hover:not(:disabled) {
	background-color: #45a049;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-register:active:not(:disabled) {
	transform: translateY(0);
}

.btn-register:disabled {
	background-color: #ccc;
	cursor: not-allowed;
	opacity: 0.6;
}

.form-footer {
	padding: 1.5rem 2rem;
	background-color: #f5f5f5;
	border-top: 1px solid #e0e0e0;
	text-align: center;
	font-size: 0.9rem;
}

.form-footer a {
	color: var(--success-color);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}

.form-footer a:hover {
	color: #45a049;
	text-decoration: underline;
}

.respuesta-container {
	margin-top: 1.5rem;
	animation: slideDown 0.5s ease-out;
}

.respuesta-container .alert {
	padding: 1rem;
	border-radius: 8px;
	margin: 0;
}

.respuesta-container .alert-success {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.respuesta-container .alert-warning {
	background-color: #fff3cd;
	border: 1px solid #ffeaa7;
	color: #856404;
}

.respuesta-container .alert-info {
	background-color: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
}

.progress-custom {
	height: 30px;
	background-color: #e9ecef;
	border-radius: 8px;
	overflow: hidden;
	margin: 1rem 0;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar-custom {
	height: 100%;
	background: linear-gradient(90deg, var(--success-color) 0%, #45a049 100%);
	width: 0%;
	transition: width 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0 1rem;
}

.progress-bar-custom.active {
	animation: progress-animation 1s ease-in-out infinite;
}

@keyframes progress-animation {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.7; }
}

/* jQuery UI Autocomplete Customization */
.ui-autocomplete {
	background: white;
	border: 2px solid var(--success-color) !important;
	border-radius: 8px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
	z-index: 1000 !important;
	max-height: 200px;
	overflow-y: auto;
}

.ui-autocomplete .ui-menu-item {
	padding: 0 !important;
	border: none !important;
}

.ui-autocomplete .ui-menu-item > div {
	padding: 0.75rem 1rem !important;
	font-size: 0.95rem;
	color: #333;
	cursor: pointer;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.2s ease;
}

.ui-autocomplete .ui-menu-item > div:hover,
.ui-autocomplete .ui-menu-item.ui-state-hover > div,
.ui-autocomplete .ui-menu-item.ui-state-focus > div {
	background-color: var(--success-color) !important;
	color: white !important;
	border-bottom-color: #45a049;
}

.ui-autocomplete .ui-menu-item:last-child > div {
	border-bottom: none;
}

/* Responsive Forms */
@media (max-width: 768px) {
	.form-wrapper {
		max-width: 100%;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.form-header {
		padding: 2rem 1.5rem;
	}

	.form-header h2 {
		font-size: 1.5rem;
	}

	.form-body {
		padding: 2rem 1.5rem;
	}

	.form-footer {
		padding: 1.25rem 1.5rem;
	}
}

@media (max-width: 480px) {
	.form-container {
		padding: 1rem 0.75rem;
		min-height: auto;
	}

	.form-wrapper {
		border-radius: 8px;
	}

	.form-header {
		padding: 1.5rem 1.25rem;
	}

	.form-header h2 {
		font-size: 1.3rem;
	}

	.form-header p {
		font-size: 0.85rem;
	}

	.form-header .btn-close-form {
		top: 0.75rem;
		right: 0.75rem;
		padding: 0.4rem 0.6rem;
		font-size: 0.8rem;
	}

	.form-body {
		padding: 1.5rem 1.25rem;
	}

	.form-row {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.form-group {
		margin-bottom: 0.75rem;
	}

	.form-group label {
		font-size: 0.9rem;
	}

	.form-control,
	.form-select {
		padding: 0.65rem 0.75rem;
		font-size: 0.95rem;
	}

	textarea.form-control {
		min-height: 70px;
	}

	.btn-register {
		padding: 0.7rem 1rem;
		font-size: 0.95rem;
	}

	.form-footer {
		padding: 1rem 1.25rem;
		font-size: 0.85rem;
	}
}

	.form-footer {
		padding: 1rem 1.25rem;
		font-size: 0.85rem;
	}
}
