/* --- 1. WORKSPACE MODAL STYLING --- */
.modal-content {
	border-radius: 12px;
	border: none;
	box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);
	text-align: left;
}

/* --- Functional Header --- */
.modal-header {
	border-bottom: 1px solid #dee2e6;
	padding: 24px 32px;
	position: relative;
}

.modal-title {
	font-weight: 600;
	font-size: 20px;
	color: #172b4d;
	margin-bottom: 4px;
}

.modal-subtitle {
	font-size: 15px;
	color: #6c757d;
	font-weight: 400;
}

.modal-header .close {
	opacity: 0.6;
	font-size: 28px;
	text-shadow: none;
}
.modal-header .close:hover { opacity: 1; }

/* --- Form-Centric Body --- */
.modal-body {
	padding: 24px 32px;
}

.modal .form-group {
	margin-bottom: 20px;
}

.modal .form-group label {
	font-weight: 600;
	color: #344563;
	font-size: 14px;
	margin-bottom: 8px;
}

.modal .form-control {
	border-radius: 6px;
	border: 1px solid #dfe1e6;
	box-shadow: none;
	height: 44px;
	font-size: 15px;
	padding: 10px 12px;
	transition: all 0.2s ease-in-out;
}

.modal .form-control:focus {
	border-color: #0052cc;
	box-shadow: 0 0 0 2px rgba(0, 82, 204, 0.2);
}

.modal textarea.form-control {
	height: auto;
	min-height: 100px;
}

/* --- Action-Oriented Footer --- */
.modal-footer {
	border-top: 1px solid #dee2e6;
	padding: 16px 32px;
	background-color: #f8f9fa;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.modal-footer .btn {
	font-weight: 600;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 15px;
}

/* --- 2. ANIMATION & BACKDROP --- */
@keyframes fadeInSlideUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}
.modal.in .modal-dialog {
	animation: fadeInSlideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.modal.fade .modal-dialog { transform: translateY(20px); }
.modal-backdrop.in {
	opacity: 1;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	background-color: rgba(30, 41, 59, 0.15);
}