/* Modal Overlay */
#myModal1 {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	backdrop-filter: blur(4px);
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.3s ease;
	align-items: center;
	justify-content: center;
}
#myModal1.show {
	display: flex;
	opacity: 1;
}

/* Modal Dialog */
#myModal1 .modal-dialog {
	position: relative;
	width: 90%;
	max-width: 480px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	transform: scale(0.9) translateY(-20px);
	transition: transform 0.3s ease;
	overflow: hidden;
}
#myModal1.show .modal-dialog {
	transform: scale(1) translateY(0);
}

/* Modal Header */
#myModal1 .modal-header {
	background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
	color: #fff;
	padding: 20px 25px;
	border-bottom: none;
	position: relative;
}
#myModal1 .modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	color: #fff;
}
#myModal1 .modal-header .close {
	position: absolute;
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255,255,255,0.2);
	border: none;
	color: #fff;
	font-size: 24px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	line-height: 1;
}
#myModal1 .modal-header .close:hover {
	background: rgba(255,255,255,0.3);
	transform: translateY(-50%) rotate(90deg);
}

/* Modal Body */
#myModal1 .modal-body {
	padding: 30px 25px;
	background: #fff;
}

/* Form Styles */
#myModal1 .form-group {
	margin-bottom: 20px;
}
#myModal1 .form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}
#myModal1 .form-input {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	box-sizing: border-box;
	background: #f9f9f9;
}
#myModal1 .form-input:focus {
	outline: none;
	border-color: #0073aa;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}
#myModal1 .form-input::placeholder {
	color: #999;
}

/* Submit Button */
#myModal1 .form-actions {
	margin-top: 25px;
}
#myModal1 .btn-submit {
	width: 100%;
	padding: 14px 20px;
	background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
#myModal1 .btn-submit:hover {
	background: linear-gradient(135deg, #005a87 0%, #004a6f 100%);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,115,170,0.3);
}
#myModal1 .btn-submit:active {
	transform: translateY(0);
}

/* Estilos para campos antigos (compatibilidade) */
#myModal1 .frmResultado {
	list-style: none;
	padding: 0;
	margin: 0;
}
#myModal1 .frmResultado li {
	margin-bottom: 20px;
}
#myModal1 .frmResultado li label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}
#myModal1 .frmResultado .campos {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	font-size: 15px;
	transition: all 0.3s ease;
	box-sizing: border-box;
	background: #f9f9f9;
}
#myModal1 .frmResultado .campos:focus {
	outline: none;
	border-color: #0073aa;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}
#myModal1 .frmResultado button[type="submit"] {
	width: 100%;
	padding: 14px 20px;
	background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-top: 10px;
}
#myModal1 .frmResultado button[type="submit"]:hover {
	background: linear-gradient(135deg, #005a87 0%, #004a6f 100%);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0,115,170,0.3);
}

/* Sistema Options */
#myModal1 .sistema-options {
	display: flex;
	gap: 15px;
	margin-bottom: 25px;
}
#myModal1 .sistema-option {
	flex: 1;
	padding: 20px;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
	background: #f9f9f9;
}
#myModal1 .sistema-option:hover {
	border-color: #0073aa;
	background: #f0f7fa;
	transform: translateY(-2px);
}
#myModal1 .sistema-option.active {
	border-color: #0073aa;
	background: linear-gradient(135deg, #e6f4f8 0%, #d0e8f0 100%);
	box-shadow: 0 3px 10px rgba(0,115,170,0.2);
}
#myModal1 .sistema-icon {
	font-size: 32px;
	margin-bottom: 10px;
}
#myModal1 .sistema-option h3 {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 600;
	color: #333;
}
#myModal1 .sistema-option p {
	margin: 0;
	font-size: 12px;
	color: #666;
}

/* Sistema Forms */
#myModal1 .sistema-form {
	display: none;
}
#myModal1 .sistema-form.active {
	display: block;
	animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
	#myModal1 .modal-dialog {
		width: 95%;
		margin: 20px;
	}
	#myModal1 .modal-header,
	#myModal1 .modal-body {
		padding: 20px;
	}
	#myModal1 .sistema-options {
		flex-direction: column;
		gap: 10px;
	}
}

