/*
==============================================================================
FILE: mu-global.css
DESCRIPTION: Global Assets & Clean Native Scrolling Override for Custom MU-Plugins
VERSION: 2.5.0
AUTHOR: PastiTop
==============================================================================
*/

/* ==========================================================================
   1. RECENT POSTS AUTHOR CANONICAL WIDGET
   ========================================================================== */
.pt-rpac-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pt-rpac-item {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(0,0,0,.06);
}

.pt-rpac-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.pt-rpac-title {
	display: block;
	font-size: 1em;
	line-height: 1.4;
	font-weight: 600;
	text-decoration: none;
}

.pt-rpac-meta {
	display: block;
	margin-top: 4px;
	font-size: .82em;
	line-height: 1.35;
	opacity: .78;
}

.pt-rpac-meta strong {
	font-weight: 700;
}

.pt-rpac-meta em {
	font-style: italic;
}


/* ==========================================================================
   2. PT CUSTOM LOGIN (wp-login.php Styling)
   ========================================================================== */
body.login.pt-custom-login {
	min-height: 100vh;
	background:
		radial-gradient(circle at top left, var(--pt-login-accent-soft) 0, transparent 34%),
		linear-gradient(135deg, var(--pt-login-bg-1) 0%, var(--pt-login-bg-2) 100%);
}

body.login.pt-custom-login #login {
	width: 360px;
	max-width: calc(100% - 32px);
	padding-top: 7vh;
}

body.login.pt-custom-login h1 {
	display: none;
}

body.login.pt-custom-login form {
	border: 1px solid var(--pt-login-border);
	border-radius: 18px;
	background: var(--pt-login-box);
	box-shadow: 0 18px 45px rgba(0,0,0,.14);
	padding: 28px;
}

body.login.pt-custom-login label {
	color: var(--pt-login-text);
	font-weight: 600;
}

body.login.pt-custom-login form .input,
body.login.pt-custom-login input[type="text"],
body.login.pt-custom-login input[type="password"],
body.login.pt-custom-login input[type="email"] {
	border: 1px solid var(--pt-login-border);
	border-radius: 12px;
	background: var(--pt-login-input);
	color: var(--pt-login-text);
	box-shadow: none;
	min-height: 44px;
	padding: 8px 12px;
}

body.login.pt-custom-login form .input:focus,
body.login.pt-custom-login input[type="text"]:focus,
body.login.pt-custom-login input[type="password"]:focus,
body.login.pt-custom-login input[type="email"]:focus {
	border-color: var(--pt-login-accent);
	box-shadow: 0 0 0 3px var(--pt-login-accent-soft);
	outline: none;
}

body.login.pt-custom-login .button-primary {
	background: var(--pt-login-accent);
	border-color: var(--pt-login-accent);
	border-radius: 999px;
	font-weight: 700;
	box-shadow: none;
	min-height: 40px;
	padding: 0 20px;
}

body.login.pt-custom-login .button-primary:hover,
body.login.pt-custom-login .button-primary:focus {
	background: var(--pt-login-accent-dark);
	border-color: var(--pt-login-accent-dark);
}

body.login.pt-custom-login #nav,
body.login.pt-custom-login #backtoblog {
	text-align: center;
}

body.login.pt-custom-login #nav a,
body.login.pt-custom-login #backtoblog a,
body.login.pt-custom-login .privacy-policy-page-link a {
	color: var(--pt-login-muted);
	text-decoration: none;
}

body.login.pt-custom-login #nav a:hover,
body.login.pt-custom-login #backtoblog a:hover,
body.login.pt-custom-login .privacy-policy-page-link a:hover {
	color: var(--pt-login-accent);
}

body.login.pt-custom-login .message,
body.login.pt-custom-login .notice,
body.login.pt-custom-login .success {
	border-left-color: var(--pt-login-accent);
	border-radius: 12px;
}

.pt-sso-login-wrap {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--pt-login-border);
}

.pt-sso-login-title {
	display: block;
	margin-bottom: 10px;
	color: var(--pt-login-muted);
	font-size: 13px;
	text-align: center;
}


/* ==========================================================================
   2B. PT GOOGLE SSO BUTTONS
   ========================================================================== */
.pt-sso-buttons-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.pt-sso-buttons {
	display: flex;
}

.gsi-material-button {
	background: #fff;
	border: 1px solid #dadce0;
	border-radius: 999px;
	box-sizing: border-box;
	color: #3c4043;
	cursor: pointer;
	font-family: Roboto,Arial,sans-serif;
	font-size: 14px;
	font-weight: 500;
	height: 42px;
	min-width: 120px;
	padding: 0 14px;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
	transition: background-color .2s,border-color .2s,box-shadow .2s,transform .2s;
}

.gsi-material-button:hover {
	background: #f8f9fa;
	border-color: #d2e3fc;
	box-shadow: 0 6px 16px rgba(0,0,0,.10);
	transform: translateY(-1px);
}

.gsi-material-button-content-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
}

.gsi-material-button-icon {
	width: 20px;
	height: 20px;
	margin-right: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gsi-material-button-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

.gsi-material-button-contents {
	color: #3c4043;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}


/* ==========================================================================
   3. PT HOME RESPONSIVE COVER PANEL STYLING
   ========================================================================== */
.pt-hrcp {
	display: none;
}

/* Mengizinkan internal touch-scrolling bawaan browser smartphone secara halus */
.pt-hrcp.is-open {
	display: block;
	position: fixed;
	inset: 0;
	z-index: 999998;
	background: #ffffff;
	overflow-y: auto !important;
	overflow-x: hidden !important;
	-webkit-overflow-scrolling: touch !important;
}

.pt-hrcp-content {
	width: 100%;
	height: auto !important;
	min-height: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

.pt-hrcp-close {
	position: fixed;
	top: 14px;
	right: 14px;
	z-index: 999999;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	font-size: 44px;
	line-height: 1;
	font-weight: 300;
	color: #ffffff;
	text-shadow:
		0 2px 6px rgba(0,0,0,.95),
		0 0 3px rgba(0,0,0,.95),
		0 -1px 2px rgba(0,0,0,.75);
}


/* ==========================================================================
   4. LOGIKA RESPONSIVE MULTI-DEVICE PURE DISPLAY TOGGLE
   ========================================================================== */

/* --- A. KONDISI DEFAULT / LAYAR BESAR (PC DESKTOP & LAPTOP >= 1024px) --- */
.pt-hrcp-desktop {
	display: block; 
}

.pt-hrcp-tablet,
.pt-hrcp-mobile {
	display: none;
}

/* Antena deteksi :has untuk Tablet berlayar besar (seperti iPad Pro) */
.pt-hrcp:has(.pt-hrcp-tablet) .pt-hrcp-tablet {
	display: block !important;
}
.pt-hrcp:has(.pt-hrcp-tablet) .pt-hrcp-desktop,
.pt-hrcp:has(.pt-hrcp-tablet) .pt-hrcp-mobile {
	display: none !important;
}


/* --- B. KONDISI LAYAR TABLET MEDIUM (768px - 1023.98px) --- */
@media (min-width: 768px) and (max-width: 1023.98px) {
	.pt-hrcp-tablet {
		display: block !important;
	}
	.pt-hrcp-desktop,
	.pt-hrcp-mobile {
		display: none !important;
	}
}


/* --- C. KONDISI KHUSUS LAYAR MOBILE (< 768px) --- */
@media (max-width: 767.98px) {
	.pt-hrcp-mobile {
		display: block !important;
	}
	.pt-hrcp-desktop,
	.pt-hrcp-tablet {
		display: none !important;
	}
}

/*
|--------------------------------------------------------------------------
| Future Custom Plugins
|--------------------------------------------------------------------------
*/