/*
Theme Name: Hello Elementor Child
Theme URI: https://ton-site-web.com/hello-elementor-child
Description: Thème enfant pour Hello Elementor
Author: Ton Nom
Author URI: https://ton-site-web.com
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Importation du style du thème parent */
@import url("../hello-elementor/style.css");

/* Personnalisation CSS pour ton thème enfant */


/* Déposer un document */
/* Style pour la liste des documents */
.documents-list {
	padding: 20px 0;
	margin-top: 20px;
}

.documents-ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.document-item {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 20px;
	display: flex;
	flex-direction: row;
	background-color: #f9f9f9;
	justify-content: space-between;
	align-items: center;
}

.document-details {
	margin-bottom: 10px;
}

.document-title {
	font-size: 18px;
	font-weight: bold;
	color: var(--e-global-color-primary);
}

.document-title a {
	text-decoration: none;
	color: inherit;
}

.document-title a:hover {
	text-decoration: underline;
}

.document-author,
.document-date {
	font-size: 14px;
	color: #555;
}

.document-download {
	margin-top: 10px;
}

.download-btn {
	display: inline-flex;
	align-items: center;
	background-color: var(--e-global-color-accent);
	color: white;
	padding: 8px 15px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 14px;
	transition: background-color 0.3s ease;
}

.download-btn:hover {
	background-color: var(--e-global-color-accent);
}

.download-btn i {
	margin-right: 5px;
}


div.acf-form-submit {
	display: flex;
	align-items: end;
	justify-content: end;
}

/* Espace document */
.container {
	width: calc(100% - 40px);
	max-width: 900px;
	margin: 60px auto;
	padding: 30px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	font-family: "Segoe UI", sans-serif;
}

h1 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 10px;
}

.welcome-message {
	text-align: center;
	font-size: 18px;
	color: #555;
	margin-bottom: 30px;
}

.depot-document {
	margin-bottom: 20px;
	text-align: right;
}

.depot-document .btn {
	background: var(--e-global-color-accent);
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	text-decoration: none;
}

.filter-bar select {
	padding: 5px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #fff;
	cursor: pointer;
}

.filter-bar select:focus {
	border-color: var(--e-global-color-accent);
}

.filter-bar {
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.filter-bar label {
	font-weight: bold;
	margin-bottom: 8px;
}

.documents-ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.document-item {
	background: #f7f7f7;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

.document-title {
	margin: 0 0 5px 0;
	font-size: 20px;
}

.document-author,
.document-date {
	margin: 0;
	font-size: 14px;
	color: #666;
}

.document-item .document-download a {
	background-color: var(--e-global-color-accent);
	color: #fff;
	padding: 8px 16px;
	border-radius: 5px;
	text-decoration: none;
}

.document-download a:hover {
	background-color: var(--e-global-color-accent);
	color: #fff;
}

.document-download a i {
	margin-right: 6px;
}

.box {
	max-width: 800px;
	margin: 40px auto;
	padding: 30px;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.profile-form label {
	display: block;
	font-weight: 500;
	margin: 0 0 8px;
	padding: 0;
}

.profile-form-input-wrapper {
	margin: 0 0 15px;
}

.notice {
	border-radius: 2px;
	padding: 4px 8px;
	color: #fff;
	margin-bottom: 15px;
}

.notice p {
	margin: 0;
}

.notice.error {
	background-color: #e74c3c;
}

.notice.success {
	background-color: #2ecc71;
}

.post-pagination {
	display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.post-pagination .post-pagination-number {
	height: 32px;
	width: 32px;
	border-radius: 3px;
	transition: .2s ease-in-out;
	line-height: 32px;
	font-size: 15px;
	text-align: center;
	border: 1px solid var(--e-global-color-accent);
	text-decoration: none;
	color: var(--e-global-color-accent);
}

.post-pagination .post-pagination-number:not(:last-child) {
	margin-right: 12px;
}

.post-pagination .post-pagination-number.current,
.post-pagination .post-pagination-number:hover {
	background-color: var(--e-global-color-accent);
  color: #fff;
}

@media (max-width: 600px) {
	.document-item {
		flex-direction: column;
		align-items: flex-start;
	}

	.depot-document {
		text-align: left;
	}

	.document-download {
		margin-top: 10px;
	}
}