/**
 * IISAUH THEME2026 — MPD Document Page Template Stylesheet
 *
 * @package IISAUH_Theme2026
 */

.mpd-doc-page {
	background: #f8fafc;
	min-height: 100vh;
}

/* --------------------------------------------------------------------------
   1. Hero Adjustments
   -------------------------------------------------------------------------- */
.mpd-doc-hero__badge {
	text-decoration: none;
	color: #ffffff;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.mpd-doc-hero__badge:hover {
	background: rgba(56, 189, 248, 0.25);
	color: #ffffff;
	border-color: #38bdf8;
	transform: translateX(-2px);
}

.mpd-doc-hero__title {
	font-size: clamp(24px, 3.4vw, 38px);
	font-weight: 800;
	color: #ffffff;
	margin: 14px 0 0 0;
	letter-spacing: 0.4px;
	line-height: 1.25;
}

/* --------------------------------------------------------------------------
   2. Main Container & Action Bar
   -------------------------------------------------------------------------- */
.mpd-doc-main-section {
	padding: clamp(32px, 4.5vw, 54px) 0 clamp(64px, 8vw, 96px);
}

.mpd-doc-content-wrap {
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3.5vw, 40px);
}

.mpd-doc-sheet {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: clamp(24px, 4vw, 44px);
	box-shadow: 0 4px 24px -2px rgba(7, 26, 45, 0.07);
}

.mpd-doc-action-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 20px 24px;
	background: #f0f9ff;
	border: 1.5px solid #bae6fd;
	border-radius: 10px;
	margin-bottom: 28px;
}

.mpd-doc-meta-info {
	display: flex;
	align-items: center;
	gap: 16px;
}

.mpd-doc-meta-icon {
	width: 52px;
	height: 52px;
	background: #ffffff;
	border: 1.5px solid #0284c7;
	color: #0284c7;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.mpd-doc-badge {
	display: inline-block;
	background: #0284c7;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 4px;
}

.mpd-doc-sheet-title {
	font-size: clamp(17px, 2vw, 22px);
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   3. Primary "View [Page Title]" Button
   -------------------------------------------------------------------------- */
.mpd-doc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	color: #ffffff !important;
	border: none;
	padding: 13px 28px;
	border-radius: 8px;
	font-size: clamp(14px, 1.4vw, 15.5px);
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	white-space: nowrap;
}

.mpd-doc-btn:hover {
	background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
	color: #ffffff !important;
}

.mpd-doc-btn svg {
	flex-shrink: 0;
}

.mpd-doc-btn .mpd-doc-btn__arrow {
	transition: transform 0.2s ease;
}

.mpd-doc-btn:hover .mpd-doc-btn__arrow {
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. Embedded Interactive Document Frame
   -------------------------------------------------------------------------- */
.mpd-doc-embed-container {
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
	margin-bottom: 28px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.mpd-doc-embed-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 18px;
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
	color: #475569;
}

.mpd-doc-embed-header__label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.mpd-doc-embed-header__dot {
	width: 8px;
	height: 8px;
	background: #10b981;
	border-radius: 50%;
	display: inline-block;
}

.mpd-doc-embed-fullscreen {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #0284c7;
	text-decoration: none;
	font-weight: 600;
	font-size: 12.5px;
	transition: color 0.2s ease;
}

.mpd-doc-embed-fullscreen:hover {
	color: #0369a1;
	text-decoration: underline;
}

.mpd-doc-embed-frame-wrap {
	width: 100%;
	background: #ffffff;
}

.mpd-doc-embed-object,
.mpd-doc-embed-iframe {
	display: block;
	width: 100%;
	min-height: 750px;
	border: none;
}

.mpd-doc-no-preview {
	padding: 40px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   5. Editor Content & Navigation
   -------------------------------------------------------------------------- */
.mpd-doc-editor-content {
	margin: 24px 0;
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
}

.mpd-doc-empty-notice {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 8px;
	padding: 16px 20px;
	color: #0369a1;
	font-size: 13.5px;
	margin-bottom: 24px;
}

.mpd-doc-footer-nav {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid #f1f5f9;
}

.mpd-doc-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0284c7;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.mpd-doc-back-link:hover {
	color: #0369a1;
	transform: translateX(-3px);
}

@media (max-width: 768px) {
	.mpd-doc-action-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.mpd-doc-btn {
		width: 100%;
		justify-content: center;
	}

	.mpd-doc-embed-object,
	.mpd-doc-embed-iframe {
		min-height: 480px;
	}
}
