.ilewa-offres-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 30px;
	margin: 30px 0;
}

.ilewa-offre-card {
	text-align: center;
	padding: 25px 15px;
	border: 1px solid #eee;
	border-radius: 6px;
}

.ilewa-offre-image {
	width: 90px;
	height: 90px;
	margin: 0 auto 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f5eef1;
	border-radius: 8px;
	overflow: hidden;
}

.ilewa-offre-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ilewa-offre-image .dashicons {
	font-size: 40px;
	width: 40px;
	height: 40px;
	color: #7b1e3a;
}

.ilewa-offre-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 12px;
}

.ilewa-icon-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f2f2f2;
	color: #333;
	text-decoration: none;
	transition: background .15s, color .15s;
}

.ilewa-icon-btn:hover {
	background: #7b1e3a;
	color: #fff;
}

.ilewa-offre-title {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 10px 0 15px;
}

.ilewa-btn-postuler {
	background: #7b1e3a;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
}

.ilewa-btn-postuler:hover {
	background: #5e1529;
}

/* Modal */
.ilewa-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .6);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ilewa-modal-overlay.active {
	display: flex;
}

.ilewa-modal {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
}

.ilewa-modal-close {
	position: absolute;
	top: 10px;
	right: 16px;
	background: none;
	border: none;
	font-size: 26px;
	cursor: pointer;
	line-height: 1;
	color: #444;
}

.ilewa-modal h3 {
	margin-top: 0;
	padding-right: 20px;
}

.ilewa-modal label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 14px;
}

.ilewa-modal input,
.ilewa-modal textarea {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-bottom: 10px;
	box-sizing: border-box;
	font-family: inherit;
}

.ilewa-btn-submit {
	background: #7b1e3a;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 4px;
	cursor: pointer;
	width: 100%;
	font-weight: 600;
}

.ilewa-btn-submit:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.ilewa-form-message {
	font-size: 14px;
	min-height: 18px;
}

.ilewa-form-message.success {
	color: #2e7d32;
}

.ilewa-form-message.error {
	color: #b32d2e;
}
