/* rent_documents.css : gestion des documents des locations (manage_documents.php) */

.documents-intro p,
.documents-presentation p {
	margin-bottom: 0.5rem;
}

.documents-grid {
	margin-top: 1rem;
}

.documents-card {
	height: calc(100% - 1rem);
}

.documents-card-unclassified {
	border-color: #ffae00;
	box-shadow: 0 0 0 2px #ffae00;
}

/* Carte [+] */
.documents-add-card .card-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 260px;
}

.documents-add-button {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	font-size: 4rem;
	line-height: 1;
	font-weight: bold;
	padding: 0;
	margin-bottom: 0.5rem;
}

.documents-add-label {
	font-weight: bold;
}

.documents-progress {
	width: 100%;
	margin-bottom: 0.5rem;
}

.documents-progress-meter {
	width: 0;
	color: #fff;
	font-size: 0.75rem;
	white-space: nowrap;
	padding-left: 0.25rem;
	transition: width 0.2s ease;
}

/* Miniatures */
.documents-thumb-zone {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 220px;
	background: #f4f4f4;
	border-bottom: 1px solid #e6e6e6;
	overflow: hidden;
}

.documents-thumb-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.documents-thumb {
	max-width: 100%;
	max-height: 220px;
	object-fit: contain;
}

.documents-thumb-icon {
	max-height: 64px;
}

.documents-thumb-extension {
	margin-top: 0.5rem;
	font-weight: bold;
	color: #767676;
}

/* Détails */
.documents-title {
	font-weight: bold;
	word-break: break-word;
	margin-bottom: 0.25rem;
}

/* Type, entrée/sortie et date du document sur une même ligne */
.documents-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 0.25rem;
}

.documents-date {
	font-size: 0.85rem;
	color: #767676;
}

.documents-type-filter {
	max-width: 32rem;
}

.documents-meta {
	font-size: 0.85rem;
	color: #767676;
	margin-bottom: 0.25rem;
}

.documents-actions {
	margin-top: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.documents-properties-form {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e6e6e6;
}
