/* LPJ Client Vault — charte The LPJ : vert #00936b, noir, blanc, typographie forte */

.lpj-vault-wrap {
	--lpj-green: #00936b;
	--lpj-black: #0d0d0d;
	max-width: 760px;
	margin: 40px auto;
	padding: 0 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--lpj-black);
}

.lpj-vault-header {
	background: var(--lpj-black);
	color: #fff;
	padding: 18px 24px;
	border-radius: 6px 6px 0 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 4px solid var(--lpj-green);
}

.lpj-vault-brand {
	font-weight: 800;
	letter-spacing: 1px;
	font-size: 20px;
}

.lpj-vault-sub {
	font-size: 13px;
	color: var(--lpj-green);
	font-weight: 600;
}

.lpj-vault-title {
	background: #fff;
	margin: 0;
	padding: 20px 24px 4px;
	font-size: 22px;
}

.lpj-vault-card {
	background: #fff;
	border: 2px solid #111;
	border-radius: 6px;
	padding: 22px 24px;
	margin: 18px 0;
}

.lpj-vault-card h3 {
	margin-top: 0;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.5px;
	color: var(--lpj-green);
}

.lpj-vault-error {
	border-color: #c0392b;
	color: #c0392b;
	font-weight: 600;
}

.lpj-status {
	padding: 10px 14px;
	border-radius: 4px;
	font-weight: 600;
	margin-bottom: 12px;
}

.lpj-status-ok {
	background: #eafaf3;
	color: var(--lpj-green);
	border: 1px solid var(--lpj-green);
}

.lpj-status-locked {
	background: #fff8e5;
	color: #8a6d00;
	border: 1px solid #e0b400;
}

.lpj-btn {
	display: inline-block;
	background: var(--lpj-green);
	color: #fff !important;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	font-size: 14px;
	margin-right: 8px;
}

.lpj-btn:hover {
	background: #007a58;
	color: #fff;
}

.lpj-btn-outline {
	background: transparent;
	color: var(--lpj-black) !important;
	border: 2px solid var(--lpj-black);
}

.lpj-btn-small {
	padding: 6px 12px;
	font-size: 13px;
}

.lpj-btn-text {
	background: none;
	border: none;
	color: var(--lpj-green);
	text-decoration: underline;
	cursor: pointer;
	font-weight: 600;
	padding: 0;
	margin-top: 6px;
}

.lpj-files {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lpj-files li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 14px;
	background: #f6f7f7;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 8px;
}

.lpj-field {
	margin-bottom: 16px;
}

.lpj-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.lpj-checkbox {
	display: flex;
	gap: 8px;
	font-weight: 400 !important;
	font-size: 13px;
	line-height: 1.5;
	align-items: flex-start;
}

.lpj-field input[type="text"],
.lpj-field input[type="email"],
.lpj-field input[type="password"] {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}

.lpj-auth-form {
	max-width: 380px;
}

.lpj-mobile-only {
	display: none;
}

@media (max-width: 680px) {
	.lpj-desktop-only {
		display: none !important;
	}
	.lpj-mobile-only {
		display: block;
	}
}

.lpj-signature-pad {
	border: 2px dashed #999;
	border-radius: 4px;
	background: #fff;
	touch-action: none;
	cursor: crosshair;
	display: block;
	max-width: 100%;
}

.lpj-sign-message {
	margin-top: 10px;
	font-weight: 600;
}

.lpj-cert-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 16px;
}

.lpj-cert-table td {
	padding: 8px 10px;
	border: 1px solid #ddd;
	font-size: 14px;
}

.lpj-cert-table td:first-child {
	font-weight: 700;
	background: #f6f7f7;
	width: 40%;
}

.lpj-cert-legal {
	font-size: 12px;
	color: #555;
	border-top: 1px solid #eee;
	padding-top: 12px;
}

@media print {
	.no-print, .lpj-vault-header { display: none !important; }
}
