/* Modal Styles for Stock/Restock Request
-------------------------------*/
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10003;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-container {
	background-color: #fff;
	width: 90%;
	max-width: 744px;
	max-height: 90vh;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	border: 4px double rgb(195, 195, 195);
}

.modal-header {
	display: none !important;
	background-color: #f8f9fa;
	padding: 15px 20px;
	border-bottom: 1px solid #dee2e6;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	font-weight: bold;
	color: #999;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.modal-close:hover {
	background-color: #e9ecef;
	color: #666;
}

.modal-body {
	padding: 0;
	position: relative;
}

.modal-body iframe {
	border: none;
	width: 100%;
	min-height: 445px;
	display: block;
}

/* Responsive Design for Modal */
@media only screen and (max-width: 768px) {
	.modal-container {
		width: 95%;
		max-height: 85vh;
		margin: 10px;
	}
	
	.modal-header {
		padding: 12px 15px;
	}
	
	.modal-header h3 {
		font-size: 16px;
	}
}

@media only screen and (max-width: 480px) {
	.modal-container {
		width: 98%;
		border-radius: 4px;
	}
	
	.modal-header {
		padding: 10px 12px;
	}
	
	.modal-header h3 {
		font-size: 14px;
	}
}
