/* ===================================
   MODERN MESSAGE DISPLAY STYLES
   ===================================*/

/* Message Container Styles */
.modern-message-container {
	animation: slideDown 0.4s ease;
	margin-bottom: 20px;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Validation Message */
.validation {
	background: #fff3cd;
	border-left: 5px solid #ffc107;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.validation::before {
	content: '\f06a';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #856404;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.validation strong {
	color: #856404;
	font-weight: 600;
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
}

.validation-msg {
	color: #856404;
	font-size: 14px;
	line-height: 1.6;
}

.validation-msg div {
	margin-bottom: 6px;
}

.validation-msg div:last-child {
	margin-bottom: 0;
}

/* Error Message */
.error {
	background: #f8d7da;
	border-left: 5px solid #dc3545;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #721c24;
	font-size: 15px;
	line-height: 1.6;
}

.error::before {
	content: '\f057';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #dc3545;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Success Message */
.success {
	background: #d4edda;
	border-left: 5px solid #28a745;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15);
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #155724;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 500;
}

.success::before {
	content: '\f05d';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #28a745;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Warning Message */
.warning {
	background: #fff3cd;
	border-left: 5px solid #ffc107;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #856404;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 500;
}

.warning::before {
	content: '\f071';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	color: #ffc107;
	font-size: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Alert Box Styles */
#m-alert_box {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	max-width: 500px;
	animation: slideInRight 0.4s ease;
	background: unset;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(400px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.alert-area {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.alert-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	font-weight: 600;
}

.alert-header i {
	font-size: 20px;
	margin-right: 10px;
}

.alert-close {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: white;
	cursor: pointer;
	font-size: 24px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.alert-close:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: rotate(90deg);
}

.alert-content {
	padding: 20px;
}

.alert-content .validation,
.alert-content .error,
.alert-content .success,
.alert-content .warning {
	margin: 0;
	box-shadow: none;
	border-left: none;
	padding: 0;
	gap: 0;
	align-items: auto;
	font-size: 14px;
}

.alert-content .validation::before,
.alert-content .error::before,
.alert-content .success::before,
.alert-content .warning::before {
	display: none;
}

.alert-content .validation strong,
.alert-content .error strong {
	margin-bottom: 10px;
}

/* No Record Found */
.no-record-found {
	text-align: center;
	padding: 50px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	margin: 20px 0;
}

.no-record-found i {
	font-size: 48px;
	color: #c5cae9;
	margin-bottom: 15px;
	display: block;
}

.no-record-found p {
	color: #6c757d;
	font-size: 16px;
	margin: 0;
	font-weight: 500;
}

/* Breadcrumb Styles */
.breadcrumb-container {
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e9ecef;
}

.breadcrumb-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	flex-wrap: wrap;
	gap: 15px;
}

.breadcrumb-header h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #212529;
}

.breadcrumb-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.breadcrumb-actions .btn {
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.breadcrumb-actions .btn3 {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: white;
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.breadcrumb-actions .btn3:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.tree {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	font-size: 14px;
}

.tree .dib {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tree .dib::after {
	content: '/';
	color: #c5cae9;
	margin-left: 12px;
	font-weight: 300;
}

.tree .dib:last-child::after {
	content: '';
	margin: 0;
}

.tree a {
	color: #667eea;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
}

.tree a:hover {
	color: #764ba2;
	text-decoration: underline;
}

.tree span {
	color: #495057;
	font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
	#m-alert_box {
		left: 10px;
		right: 10px;
		top: 10px;
		max-width: none;
	}

	.breadcrumb-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.breadcrumb-actions {
		width: 100%;
	}

	.breadcrumb-actions .btn {
		flex: 1;
		justify-content: center;
	}

	.tree {
		font-size: 13px;
		gap: 8px;
	}

	.tree .dib {
		gap: 8px;
	}

	.tree .dib::after {
		margin-left: 8px;
	}
}
