body {
	background-color: #E7EDF3 !important;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	margin: 0;
	padding: 0;
}

/* ===== MEJORAS PARA HEAD ===== */
.head {
	background-color: #ffffff;
	border-radius: 20px 20px 0 0;
	overflow: hidden;
}

/* ===== FORMULARIO MEJORADO ===== */
.form {
	background-color: #ffffff;    
	background-size: 100% 100%;
	padding: 40px 160px 40px 160px;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Capa semitransparente */
.form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255, 255, 255, 0.85);
	z-index: 1;
}

.form > * {
	position: relative;
	z-index: 2;
}

/* ===== INPUTS MODERNOS ===== */
.form-control {
	border: 2px solid #e0e4e8;
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 15px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: #f8fafc;
	width: 100%;
	font-family: inherit;
}

.form-control:hover {
	border-color: #8ba577;
	background: #ffffff;
	transform: translateY(-1px);
}

.form-control:focus {
	border-color: #004B8B;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(0, 75, 139, 0.1);
	outline: none;
}

.form-control::placeholder {
	color: #9ca3af;
	font-weight: 400;
	opacity: 0.7;
}

/* Input de tipo date */
input[type="date"] {
	cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator {
	cursor: pointer;
	padding: 5px;
	border-radius: 8px;
	transition: all 0.2s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
	background-color: #8ba57720;
}

/* ===== RADIO BUTTONS PERSONALIZADOS ===== */
.form-check-input {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #004B8B;
	border-radius: 50%;
	margin-right: 8px;
	position: relative;
	cursor: pointer;
	transition: all 0.2s ease;
	vertical-align: middle;
}

.form-check-input:checked {
	background-color: #004B8B;
	border-color: #004B8B;
	box-shadow: inset 0 0 0 4px white;
}

.form-check-input:hover {
	transform: scale(1.1);
	border-color: #8ba577;
}

.form-check-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(139, 165, 119, 0.3);
}

.form-check-label {
	cursor: pointer;
	font-weight: 500;
	margin-right: 25px;
	transition: all 0.2s ease;
}

.form-check-label:hover {
	color: #8ba577;
}

/* ===== BOTONES MEJORADOS ===== */
.send button {
	background: linear-gradient(135deg, #8ba577 0%, #6b8259 100%);
	border: none;
	border-radius: 50px;
	color: #ffffff !important;
	padding: 14px 40px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(139, 165, 119, 0.3);
	width: auto;
	min-width: 200px;
}

.send button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(139, 165, 119, 0.4);
	background: linear-gradient(135deg, #9cbb84 0%, #7a9a64 100%);
}

.send button:active {
	transform: translateY(0);
}

.search button {
	margin-top: 30px;
	background: linear-gradient(135deg, #004B8B 0%, #002a4d 100%);
	border: none;
	border-radius: 50px;
	color: #ffffff !important;
	padding: 12px 50px;
	font-weight: bold;
	transition: all 0.3s ease;
	cursor: pointer;
}

.search button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0, 75, 139, 0.3);
}

/* ===== APARTADO DE NOTA MEJORADO ===== */
#apartado1 {
	width: 100%;
	height: auto;
	background: linear-gradient(135deg, #8ba577 0%, #6b8259 100%);
	color: #FFFFFF !important;		
	border: none;
	border-radius: 16px;
	padding: 15px 20px;
	margin: 20px 0;
	font-weight: bold;
	text-align: center;
	box-shadow: 0 4px 12px rgba(139, 165, 119, 0.3);
}

/* ===== TÍTULOS MEJORADOS ===== */
.title, .titleS {
	font-size: 24px;
	font-weight: bold;
	color: #004B8B;
	margin-bottom: 20px;
}

.subtitle {
	font-size: 14px;
	margin-bottom: 30px;
	color: #6c757d;
}

/* ===== LABELS MEJORADOS ===== */
label {
	font-weight: 600;
	margin-bottom: 10px;
	color: #1f2937;
	display: block;
	font-size: 14px;
}

/* ===== SECCIONES OCULTAS ===== */
#sect-other-5, #sect-other-6 {
	display: none;
	margin-top: 15px;
	padding: 15px;
	background: #f8fafc;
	border-radius: 12px;
	border-left: 4px solid #8ba577;
}

/* ===== VALIDACIONES ===== */
.valid-feedback {
	color: #8ba577;
	font-size: 12px;
	margin-top: 5px;
	display: none;
}

.invalid-feedback {
	color: #ef4444;
	font-size: 12px;
	margin-top: 5px;
	display: none;
}

.form-control.is-valid {
	border-color: #8ba577;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238ba577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
}

.form-control.is-invalid {
	border-color: #ef4444;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 40px;
}

/* ===== BOTONES DE COLORES ===== */
.btn-info:focus {
	border-color: #004B8B !important;
	background-color: #004B8B !important;
	box-shadow: 0 0 0 3px rgba(0, 75, 139, 0.3);
}

#btn1 {
	background: linear-gradient(135deg, #D30707 0%, #a00505 100%) !important;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	transition: all 0.3s;
}

#btn2 {
	background: linear-gradient(135deg, #E9A306 0%, #b87d04 100%) !important;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	transition: all 0.3s;
}

#btn3 {
	background: linear-gradient(135deg, #E9DF06 0%, #b8b004 100%) !important;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	transition: all 0.3s;
}

#btn4 {
	background: linear-gradient(135deg, #9DD307 0%, #7aa305 100%) !important;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	transition: all 0.3s;
}

#btn5 {
	background: linear-gradient(135deg, #34D307 0%, #27a305 100%) !important;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	transition: all 0.3s;
}

#btn1:hover, #btn2:hover, #btn3:hover, #btn4:hover, #btn5:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER MEJORADO ===== */
footer {
	text-align: center;
	color: #ffffff;
	font-size: 12px;
	margin-top: 30px;
	padding: 20px;
}

footer img {
	height: 30px;
	vertical-align: middle;
}

/* ===== LINEBUTTON ===== */
.lineBut {
	text-align: center !important;
	margin-top: 20px;
}

.lineBut button {
	width: 100%;
	border-radius: 8px;
}

/* ===== RESPONSIVE MEJORADO ===== */
@media (max-width: 700px) {
	.title, .titleS {
		font-size: 20px;
	}
	
	.subtitle {
		font-size: 14px;
	}
	
	.send button, .search button {
		width: 100%;
		padding: 12px 20px;
	}
	
	.form {
		padding: 20px 20px 30px 20px;
	}
	
	table thead th, table tbody td {
		font-size: 11px !important;
	}
	
	.lineBut button {
		width: 100%;
		margin-bottom: 10px;
	}
	
	.form-check-label {
		margin-right: 15px;
		font-size: 14px;
	}
	
	#apartado1 {
		font-size: 12px;
		padding: 12px 15px;
	}
}

/* ===== EFECTOS ADICIONALES ===== */
/* Animación de carga para inputs */
@keyframes focusGlow {
	0% { box-shadow: 0 0 0 0 rgba(139, 165, 119, 0.2); }
	100% { box-shadow: 0 0 0 4px rgba(139, 165, 119, 0); }
}

.form-control:focus {
	animation: focusGlow 0.5s ease;
}

/* Separación entre grupos de formulario */
.form-group {
	margin-bottom: 25px;
}

/* Estilo para selects */
select.form-control {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238ba577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* Estilo para checkboxes (si los usas) */
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #8ba577;
	border-color: #8ba577;
}

/* Efecto hover en radios y checkboxes */
.custom-control-input:focus ~ .custom-control-label::before {
	box-shadow: 0 0 0 3px rgba(139, 165, 119, 0.3);
}



/* ===== NUEVAS MEJORAS PARA HACERLO MÁS BONITO ===== */

/* 1. FONDO CON GRADIENTE DINÁMICO */
body {
   background: linear-gradient(135deg, #E7EDF3 0%, #dce3ec 50%, #d1d9e3 100%) !important;
    position: relative;
}

/* Efecto de burbujas decorativas */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(139, 165, 119, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* 2. INPUTS CON EFECTO GLASS (más elegantes) */
.form-control {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    border: 1.5px solid #e2e8f0;
}

.form-control:focus {
    background: white;
    border-color: #8ba577;
    box-shadow: 0 0 0 5px rgba(139, 165, 117, 0.15);
}

/* 3. RADIO BUTTONS MÁS GRANDES Y SUAVES */
.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    background: white;
}

.form-check-input:checked {
    background-color: #8ba577;
    border-color: #8ba577;
    box-shadow: inset 0 0 0 4px white, 0 0 0 2px #8ba577;
}

/* 4. BOTÓN CON EFECTO 3D MÁS SUAVE */
.send button {
    background: linear-gradient(145deg, #8ba577 0%, #6b8259 100%);
    padding: 15px 45px;
    font-size: 15px;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.send button::after {
    content: '→';
    margin-left: 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.send button:hover::after {
    transform: translateX(5px);
}

/* 5. TARJETA DEL FORMULARIO CON SOMBRA MÁS PROFUNDA */
.form {
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 24px 24px;
}

/* 6. APARTADO DE NOTA CON EFECTO BRILLO */
#apartado1 {
    background: linear-gradient(135deg, #8ba577 0%, #5a6e4b 100%);
    position: relative;
    overflow: hidden;
}

#apartado1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

#apartado1:hover::before {
    left: 100%;
}

/* 7. TÍTULOS CON DECORACIÓN */
.form-group[align="center"] h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.form-group[align="center"] h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, #8ba577, #004B8B, #8ba577);
    border-radius: 3px;
}

/* 8. ANIMACIÓN DE ENTRADA PARA EL FORMULARIO */
.form {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 9. EFECTO HOVER EN LAS TARJETAS DE RADIO */
.form-check {
    transition: all 0.2s ease;
    padding: 5px 10px;
    border-radius: 40px;
}

.form-check:hover {
    background: rgba(139, 165, 119, 0.08);
    transform: translateX(3px);
}

/* 10. BORDES MÁS REDONDEADOS EN GENERAL */
.form-control, .send button, #apartado1 {
    border-radius: 16px;
}

/* 11. ESTILO PARA EL TEXTO DE DESCRIPCIÓN */
.form > div[align="justify"] p {
    background: #f8fafc;
    padding: 20px 25px;
    border-radius: 24px;
    border-left: 4px solid #8ba577;
    font-size: 14px;
    line-height: 1.6;
}

/* 12. FOOTER MÁS ELEGANTE */
footer {
/*    background: rgba(255, 255, 255, 0.9);  */
    backdrop-filter: blur(8px);
    border-radius: 60px;
    margin-top: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 28px;
}

/* 13. SECCIONES OCULTAS CON MEJOR ESTILO */
#sect-other-5, #sect-other-6 {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #8ba577;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 14. EFECTO DE FOCO MEJORADO */
.form-control:focus {
    transform: translateY(-2px);
}

/* 15. SCROLLBAR PERSONALIZADA */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #8ba577;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b8259;
}
