
/* Estilos básicos para el formulario */
.leaseway-clientes-container {
	max-width: 500px;
	margin: 30px auto;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.leaseway-tabs {
	display: flex;
	border-bottom: 2px solid #eee;
	background: #f9f9f9;
}

.leaseway-tab-button {
	flex: 1;
	padding: 15px;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	color: #666;
}

.leaseway-tab-button:hover {
	background: #f0f0f0;
	color: #333;
}

.leaseway-tab-button.active {
	border-bottom-color: #0073aa;
	color: #0073aa;
	background: #fff;
}

.leaseway-tab-content {
	display: none;
	padding: 30px;
	animation: fadeIn 0.3s ease;
}

.leaseway-tab-content.active {
	display: block;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.leaseway-form {
	margin: 20px 0;
}

.leaseway-form h2 {
	font-size: 24px;
	margin: 0 0 20px 0;
	color: #333;
}

.form-group {
	margin-bottom: 20px;
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@media (max-width: 600px) {
	.form-row {
		grid-template-columns: 1fr;
	}
}

.form-group:not(.form-checkbox) label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/*
.form-checkbox label {
	display: flex;
	align-items: center;
	margin-bottom: 0;
	font-weight: normal;
}
*/

.form-checkbox input {
	width: auto;
	margin-right: 8px;
	margin-bottom: 0;
}

.leaseway-message {
	padding: 12px 15px;
	margin-bottom: 20px;
	border-radius: 4px;
	font-size: 14px;
}

.leaseway-message.success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.leaseway-message.error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Campos dependientes */
.group-si,
.group-no {
	display: none;
}

.group-si.visible,
.group-no.visible {
	display: block;
	animation: fadeIn 0.3s ease;
}

.leaseway-button {
	width: 100%;
	padding: 12px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.leaseway-button-primary {
	background-color: #0073aa;
	color: #fff;
}

.leaseway-button-primary:hover:not(:disabled) {
	background-color: #005a87;
}

.leaseway-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.leaseway-form-help {
	text-align: center;
	margin-top: 15px;
	font-size: 14px;
	color: #666;
}

.leaseway-form-help a {
	color: #0073aa;
	text-decoration: none;
}

.leaseway-form-help a:hover {
	text-decoration: underline;
}

/* Modal */
.leaseway-modal {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.leaseway-modal-content {
	background-color: #fff;
	padding: 30px;
	border-radius: 8px;
	max-width: 450px;
	width: 90%;
	position: relative;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.leaseway-modal-close {
	position: absolute;
	right: 15px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	color: #999;
	transition: color 0.2s ease;
}

.leaseway-modal-close:hover {
	color: #333;
}

.leaseway-modal-content h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 20px;
	color: #333;
}


#leaseway-form-registro label {display: none;}
#leaseway-form-registro .form-checkbox label {display: inline-block;}
