/* UniFR Dépôt — sober flat palette, no gradients, sans-serif only */

.unifr-depot-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	max-width: 720px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	text-align: left;
}

.unifr-depot-box {
	border: 1px solid #c8d2da;
	border-radius: 6px;
	padding: 24px;
}

.unifr-depot-box h2 {
	font-family: inherit;
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
}

.unifr-depot-box--new {
	background: #eef2f6;
	border-color: #4d7ea8;
}

.unifr-depot-box--new h2 {
	color: #2c5170;
}

.unifr-depot-box--list {
	background: #eef4ef;
	border-color: #5b8266;
}

.unifr-depot-box--list h2 {
	color: #35533d;
}

.unifr-depot-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #33424d;
}

.unifr-depot-form input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #b7c2cb;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	margin-bottom: 16px;
	background: #ffffff;
	color: #22303a;
}

.unifr-depot-dropzone {
	border: 2px dashed #9fb3c2;
	border-radius: 6px;
	background: #e2e9ef;
	padding: 32px 16px;
	text-align: center;
	cursor: pointer;
	color: #33424d;
}

.unifr-depot-dropzone.is-dragover {
	background: #d5e0e8;
}

.unifr-depot-dropzone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #4d7ea8;
	color: #ffffff;
	font-size: 18px;
	margin-bottom: 12px;
}

.unifr-depot-dropzone p {
	margin: 4px 0;
}

.unifr-depot-hint {
	font-size: 13px;
	color: #5c6b75;
}

.unifr-depot-filename {
	font-size: 13px;
	color: #33424d;
	margin: 8px 0 0;
	min-height: 18px;
}

.unifr-depot-btn {
	display: inline-block;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	border: none;
	border-radius: 4px;
	padding: 9px 16px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}

.unifr-depot-btn--primary {
	background: #3f6d93;
	color: #ffffff;
	margin-top: 18px;
}

.unifr-depot-btn--primary:hover {
	background: #345a7a;
}

.unifr-depot-btn--secondary {
	background: #4a7856;
	color: #ffffff;
}

.unifr-depot-btn--secondary:hover {
	background: #3c6245;
}

.unifr-depot-btn--danger {
	background: #ffffff;
	color: #a33c3c;
	border: 1px solid #a33c3c;
}

.unifr-depot-btn--danger:hover {
	background: #f8ecec;
}

.unifr-depot-empty {
	color: #5c6b75;
	font-size: 14px;
}

.unifr-depot-item {
	display: flex;
	gap: 16px;
	background: #ffffff;
	border: 1px solid #cddad1;
	border-left: 4px solid #5b8266;
	border-radius: 4px;
	padding: 16px;
	margin-bottom: 12px;
}

.unifr-depot-item-qr img {
	width: 88px;
	height: 88px;
	background: #ffffff;
	border: 1px solid #dfe6e0;
}

.unifr-depot-item-info {
	flex: 1;
	min-width: 0;
}

.unifr-depot-item-title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #22301f;
}

.unifr-depot-item-meta {
	margin: 0 0 10px;
	font-size: 13px;
	color: #5c6b75;
}

.unifr-depot-item-link {
	margin-bottom: 12px;
}

.unifr-depot-link-input {
	width: 100%;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #cddad1;
	border-radius: 4px;
	background: #f3f7f4;
	color: #33424d;
	font-size: 13px;
	font-family: inherit;
}

.unifr-depot-item-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.unifr-depot-login-notice {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 14px;
}
