/* ─────────────────────────────────────────
   MAIN.CSS — Global styles for SIR Mobile
   ───────────────────────────────────────── */

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: #0f0173;
	font-family: -apple-system, 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size:12px;
	line-height:20px;
}

#app {
	max-width: 480px;
	margin: 0 auto;
	background: #eef0f4;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

/* ─── TOPBAR ─── */
.topbar {
	background: #0f0173;
	color: #fff;
	height: 56px;
	display: flex;
	align-items: center;
	padding: 0 16px;
	gap: 14px;
	position: sticky;
	top: 0;
	z-index: 50;
}

.hbg {
	display: flex;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 4px;
}

.hbg span {
	width: 22px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	display: block;
}

/* ─── HERO HAMBURGER BUTTON ─── */
.hero-hbg {
    width: 42px;
    height: 42px;
    background: #0f0173;
    border: none;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.hero-hbg span {
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    display: block;
}

.topbar-title {
	flex: 1;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.topbar-logo {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.topbar-logo img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

/* ─── DRAWER ─── */
.overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.52);
	z-index: 80;
	max-width: 480px;
	margin: 0 auto;
}

.overlay.on {
	display: block;
}

.drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100vw;
	height: 100vh;
	background: #fff;
	z-index: 90;
	transition: transform 0.28s cubic-bezier(.4, 0, .2, 1);
	transform: translateX(-110%);
	display: flex;
	flex-direction: column;
	overflow-y: auto;
}

.drawer.open {
	transform: translateX(0);
}

.drawer-head {
    background: #0f0173;
    padding: 28px 18px 18px;
    color: #fff;
    position: relative;
}

.drawer-head img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    margin-bottom: 10px;
    display: block;
    float: left;
    margin-right: 12px;
}

button.drawer-close {
    background: no-repeat;
    border: 2px solid #9389d8;
    color: #9389d8;
    font-size: 28px;
    position: absolute;
    top: 36px;
    right: 20px;
    border-radius: 7px;
    padding: 3px 7px;
    line-height: 22px;
}

.drawer-head h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 3px;
    letter-spacing: 0.5px;
}

.drawer-head p {
	font-size: 11px;
	opacity: 0.6;
	margin: 0;
}

.drawer-list {
	list-style: none;
}

.drawer-list li a {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 14px 18px;
	font-size: 14px;
	color: #1a1a2e;
	text-decoration: none;
	border-bottom: 0.5px solid #f0f0f0;
	font-weight: 500;
	transition: background 0.15s;
}

.drawer-list li a:active {
	background: #f0f4ff;
}

.d-icon {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.d-icon svg {
	width: 17px;
	height: 17px;
}

/* ─── FOOTER ─── */
.sir-footer {
    background: #161639;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
    padding: 14px 16px;
    margin-top: 0px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border-top: 1px solid #29293f;
}

.sir-footer strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.sir-footer .footer-copy {
    font-size: 10px;
    opacity: 0.5;
    margin-top: 0px;
}

/* ─── SECTION HEADER ─── */
.section {
	padding: 16px 16px;
}

.sec-head {
	font-size: 11px;
	font-weight: 700;
	color: #0f0173;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 11px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.sec-head::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(13, 27, 62, 0.12);
}

/* ─── PAGE BOTTOM PADDING ─── */

.page-bottom {
    display: none;
}