/*
 * YimCore Login Language - Login page layout tweaks
 *
 * Centers the app logo + title block at the top of the login card.
 * The default login stylesheet aligns .page-card-head to the left
 * (align-items: flex-start; text-align: left); we override it here so the
 * logo and "Sign In" title are horizontally centered.
 *
 * Loaded via the platform hook `web_include_css`.
 *
 * Selector specificity is intentionally high (uses .login-content.page-card
 * which is the login card's actual class list) so these rules win over
 * the default login stylesheet even though that file loads later in <head>.
 */
.login-content.page-card .page-card-head {
	align-items: center !important;
	text-align: center !important;
}

.login-content.page-card .page-card-head .page-card-head-text {
	align-items: center !important;
	text-align: center !important;
}

.login-content.page-card .page-card-head img.app-logo {
	margin: 0 auto;
}

/* ===== YimCore slider puzzle security check ===== */
.yc-cap-overlay{position:fixed;inset:0;z-index:9999;display:none;
 align-items:center;justify-content:center;
 background:rgba(0,0,0,.28);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);}
.yc-cap-overlay.is-show{display:flex;}
.yc-cap-card{width:356px;max-width:calc(100vw - 32px);background:rgba(255,255,255,.96);
 border:1px solid rgba(0,0,0,.06);border-radius:20px;padding:20px 20px 16px;
 box-shadow:0 24px 70px rgba(0,0,0,.22);
 -webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);
 animation:ycCapIn .22s ease;}
@keyframes ycCapIn{from{opacity:0;transform:translateY(10px) scale(.98);}
 to{opacity:1;transform:none;}}
.yc-cap-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;}
.yc-cap-head b{font-size:16px;font-weight:600;color:#1d1d1f;letter-spacing:-.01em;}
.yc-cap-close{font-size:22px;line-height:1;color:#86868b;cursor:pointer;padding:2px 6px;
 border-radius:8px;transition:background .15s,color .15s;}
.yc-cap-close:hover{background:rgba(0,0,0,.06);color:#1d1d1f;}
.yc-cap-sub{font-size:12.5px;color:#86868b;margin-bottom:14px;}
.yc-cap-imgbox{position:relative;height:170px;border-radius:14px;overflow:hidden;
 margin:0 auto;box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);}
.yc-cap-bg{display:block;height:170px;border-radius:14px;user-select:none;-webkit-user-drag:none;}
.yc-cap-piece{position:absolute;top:0;left:0;filter:drop-shadow(0 2px 4px rgba(0,0,0,.25));
 user-select:none;-webkit-user-drag:none;pointer-events:none;}
.yc-cap-track{position:relative;height:46px;margin-top:14px;border-radius:980px;
 background:#f0f1f4;border:1px solid rgba(0,0,0,.05);overflow:hidden;}
.yc-cap-progress{position:absolute;inset:0 auto 0 0;width:0;border-radius:980px;
 background:linear-gradient(90deg,#e8f0fe,#dce8fc);}
.yc-cap-tip{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
 font-size:13px;color:#86868b;pointer-events:none;letter-spacing:.02em;}
.yc-cap-tip.is-ok{color:#1d7d3f;}
.yc-cap-tip.is-err{color:#d83027;}
.yc-cap-handle{position:absolute;top:3px;left:3px;width:40px;height:38px;border-radius:980px;
 background:#fff;display:flex;align-items:center;justify-content:center;color:#1d1d1f;
 box-shadow:0 2px 8px rgba(0,0,0,.18);cursor:grab;touch-action:none;z-index:2;
 transition:background .15s,color .15s;}
.yc-cap-handle:active{cursor:grabbing;}
.yc-cap-handle.is-ok{background:#34c759;color:#fff;}
.yc-cap-handle.is-err{background:#ff3b30;color:#fff;}
.yc-cap-foot{display:flex;justify-content:flex-end;margin-top:10px;}
.yc-cap-refresh{font-size:12.5px;color:#0071e3;cursor:pointer;padding:4px 8px;border-radius:8px;}
.yc-cap-refresh:hover{background:rgba(0,113,227,.08);}
