/* =====================================================================
   IADVL Kerala - Public Portal + Dermatologists Portal styles
   Brand: navy #003854, red #cf0909 (from existing theme), Poppins / Open Sans
   All new classes are prefixed "ik-" so the existing theme is not affected.
   ===================================================================== */
:root {
	--ik-navy: #003854;
	--ik-navy-2: #0a4a6b;
	--ik-navy-soft: #e8f0f5;
	--ik-red: #cf0909;
	--ik-red-dark: #a80707;
	--ik-ink: #1d2a33;
	--ik-muted: #5f6f7a;
	--ik-line: #dfe6eb;
	--ik-bg: #f4f7f9;
	--ik-white: #ffffff;
	--ik-green: #1d7a46;
	--ik-amber: #b26a00;
	--ik-radius: 10px;
	--ik-shadow: 0 2px 10px rgba(0, 56, 84, .07);
	--ik-font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--ik-font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

/* ---------- utilities ---------- */
.ik-section { padding: 40px 0 56px; background: var(--ik-bg); }
.ik-section.white { background: #fff; }
.ik-page-head { background: linear-gradient(120deg, var(--ik-navy) 0%, var(--ik-navy-2) 100%); color: #fff; padding: 34px 0 30px; }
.ik-page-head h1 { font-family: var(--ik-font-head); font-size: 30px; font-weight: 600; margin: 0 0 6px; color: #fff; line-height: 1.25; }
.ik-page-head p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; max-width: 760px; line-height: 1.6; }
.ik-crumbs { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13px; opacity: .85; }
.ik-crumbs li { display: inline; }
.ik-crumbs li + li:before { content: "/"; margin: 0 7px; opacity: .6; }
.ik-crumbs a { color: #fff; }
.ik-muted { color: var(--ik-muted); }
.ik-small { font-size: 13px; }
.ik-mt-0 { margin-top: 0 !important; }
.ik-mb-0 { margin-bottom: 0 !important; }
.ik-mb-20 { margin-bottom: 20px; }
.ik-flex { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.ik-flex.between { justify-content: space-between; }
.ik-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ik-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.ik-grid.cols-4 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ik-h2 { font-family: var(--ik-font-head); font-size: 22px; font-weight: 600; color: var(--ik-navy); margin: 0 0 16px; }
.ik-h3 { font-family: var(--ik-font-head); font-size: 17px; font-weight: 600; color: var(--ik-navy); margin: 0 0 10px; }
.ik-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.ik-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 6px; padding: 10px 18px; font-family: var(--ik-font-head); font-weight: 500; font-size: 14px; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s; }
.ik-btn-primary { background: var(--ik-navy); color: #fff !important; }
.ik-btn-primary:hover, .ik-btn-primary:focus { background: var(--ik-navy-2); }
.ik-btn-red { background: var(--ik-red); color: #fff !important; }
.ik-btn-red:hover, .ik-btn-red:focus { background: var(--ik-red-dark); }
.ik-btn-outline { background: #fff; color: var(--ik-navy) !important; border-color: var(--ik-navy); }
.ik-btn-outline:hover { background: var(--ik-navy-soft); }
.ik-btn-light { background: var(--ik-navy-soft); color: var(--ik-navy) !important; }
.ik-btn-sm { padding: 6px 12px; font-size: 13px; }
.ik-btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- cards ---------- */
.ik-card { background: #fff; border: 1px solid var(--ik-line); border-radius: var(--ik-radius); padding: 20px; box-shadow: var(--ik-shadow); }
.ik-card + .ik-card { margin-top: 18px; }
.ik-grid > .ik-card + .ik-card, .ik-grid > * + .ik-card { margin-top: 0; }
.ik-card h3 { font-family: var(--ik-font-head); font-size: 17px; color: var(--ik-navy); margin: 0 0 8px; font-weight: 600; }
.ik-card p { margin: 0 0 8px; color: var(--ik-ink); }
.ik-card-link { display: block; color: inherit !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s, border-color .15s; }
.ik-card-link:hover { transform: translateY(-2px); border-color: #b9cbd6; box-shadow: 0 6px 18px rgba(0, 56, 84, .12); }
.ik-card .ik-more { color: var(--ik-red); font-weight: 600; font-size: 13px; font-family: var(--ik-font-head); }
.ik-icon-badge { width: 44px; height: 44px; border-radius: 10px; background: var(--ik-navy-soft); color: var(--ik-navy); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 12px; }
.ik-stat { font-family: var(--ik-font-head); font-size: 26px; font-weight: 600; color: var(--ik-navy); line-height: 1.1; }

/* ---------- badges ---------- */
.ik-badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 12px; font-weight: 600; line-height: 1.5; background: var(--ik-navy-soft); color: var(--ik-navy); }
.ik-badge.green { background: #e3f4ea; color: var(--ik-green); }
.ik-badge.amber { background: #fff2dc; color: var(--ik-amber); }
.ik-badge.red { background: #fde7e7; color: var(--ik-red-dark); }
.ik-badge.grey { background: #eef1f3; color: var(--ik-muted); }

/* ---------- forms ---------- */
.ik-form label { font-weight: 600; font-size: 13px; color: var(--ik-ink); margin-bottom: 5px; display: block; }
.ik-form .form-control { height: auto; min-height: 42px; border-radius: 6px; border-color: #cfd9e0; box-shadow: none; font-size: 14px; padding: 9px 12px; }
.ik-form textarea.form-control { min-height: 110px; }
.ik-form .form-control:focus { border-color: var(--ik-navy); box-shadow: 0 0 0 3px rgba(0, 56, 84, .12); }
.ik-form .form-group { margin-bottom: 16px; }
.ik-form .ik-help { font-size: 12px; color: var(--ik-muted); margin-top: 4px; }
.ik-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.ik-check input { margin-top: 3px; }
.ik-alert { border-radius: 8px; padding: 12px 14px; margin: 12px 0; font-size: 14px; }
.ik-alert.ok { background: #e3f4ea; color: #145a33; }
.ik-alert.err { background: #fde7e7; color: #8a0606; }
.ik-alert.info { background: var(--ik-navy-soft); color: var(--ik-navy); }
.ik-alert.warn { background: #fff2dc; color: #7a4a00; }

/* ---------- search bar ---------- */
.ik-search { background: #fff; border-radius: var(--ik-radius); padding: 16px; box-shadow: var(--ik-shadow); border: 1px solid var(--ik-line); margin-top: -26px; position: relative; z-index: 2; }
.ik-search .row { margin-left: -6px; margin-right: -6px; }
.ik-search [class*="col-"] { padding-left: 6px; padding-right: 6px; }
.ik-search .form-control { height: 46px; border-radius: 6px; }
.ik-search .ik-btn { height: 46px; width: 100%; justify-content: center; }
.ik-district-pills { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.ik-district-pills a { padding: 5px 12px; border-radius: 20px; background: #fff; border: 1px solid var(--ik-line); color: var(--ik-navy); font-size: 13px; text-decoration: none; }
.ik-district-pills a.active, .ik-district-pills a:hover { background: var(--ik-navy); color: #fff; border-color: var(--ik-navy); }
.ik-result-meta { margin: 22px 0 14px; color: var(--ik-muted); font-size: 14px; }

/* ---------- doctor / clinic cards ---------- */
.ik-doc { display: flex; gap: 14px; align-items: flex-start; }
.ik-doc img.ik-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ik-navy-soft); flex: 0 0 64px; background: #eef1f3; }
.ik-doc h3 { margin-bottom: 2px; }
.ik-doc .ik-qual { font-size: 13px; color: var(--ik-muted); margin-bottom: 8px; }
.ik-meta { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.ik-meta li { display: flex; gap: 8px; margin-bottom: 5px; color: var(--ik-ink); word-break: break-word; }
.ik-meta li i { color: var(--ik-navy); width: 16px; margin-top: 3px; flex: 0 0 16px; text-align: center; }
.ik-verified { color: var(--ik-green); font-size: 12px; font-weight: 600; }

/* ---------- empty state ---------- */
.ik-empty { text-align: center; padding: 40px 20px; color: var(--ik-muted); background: #fff; border: 1px dashed #c7d3db; border-radius: var(--ik-radius); }
.ik-empty i { font-size: 32px; color: #9fb3c0; margin-bottom: 10px; display: block; }

/* ---------- pagination ---------- */
.ik-pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 26px 0 0; padding: 0; list-style: none; }
.ik-pager a, .ik-pager span { display: inline-block; min-width: 38px; padding: 8px 12px; text-align: center; border-radius: 6px; border: 1px solid var(--ik-line); background: #fff; color: var(--ik-navy); font-size: 14px; }
.ik-pager .active span { background: var(--ik-navy); color: #fff; border-color: var(--ik-navy); }
.ik-pager .disabled span { opacity: .45; }

/* ---------- content pages (patient info) ---------- */
.ik-article { font-size: 16px; line-height: 1.75; color: var(--ik-ink); }
.ik-article h2 { font-family: var(--ik-font-head); font-size: 22px; color: var(--ik-navy); margin: 28px 0 10px; font-weight: 600; }
.ik-article h3 { font-family: var(--ik-font-head); font-size: 18px; color: var(--ik-navy); margin: 22px 0 8px; font-weight: 600; }
.ik-article img { max-width: 100%; height: auto; border-radius: 8px; }
.ik-article ul, .ik-article ol { padding-left: 22px; }
.ik-article blockquote { border-left: 4px solid var(--ik-red); background: #fff7f7; padding: 10px 16px; margin: 16px 0; }
.ik-side-nav { list-style: none; padding: 0; margin: 0; }
.ik-side-nav li a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ik-ink); font-size: 14px; }
.ik-side-nav li a:hover { background: var(--ik-navy-soft); text-decoration: none; }
.ik-side-nav li.active a { background: var(--ik-navy); color: #fff; }
.ik-disclaimer { font-size: 13px; color: var(--ik-muted); border-top: 1px solid var(--ik-line); padding-top: 12px; margin-top: 24px; }
.ik-video { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; }
.ik-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.ik-video:after { content: "\f04b"; font-family: "Font Awesome 5 Free", FontAwesome; font-weight: 900; position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(207, 9, 9, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.ik-video-title { font-size: 14px; margin-top: 8px; color: var(--ik-ink); line-height: 1.4; }

/* ---------- file list ---------- */
.ik-file { display: flex; gap: 14px; align-items: center; }
.ik-file .ik-file-icon { width: 46px; height: 54px; border-radius: 6px; background: #fde7e7; color: var(--ik-red); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 46px; }
.ik-file .ik-file-body { flex: 1; min-width: 0; }
.ik-file .ik-file-body h3 { font-size: 15px; margin: 0 0 3px; }
.ik-file .ik-file-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- social ---------- */
.ik-social { display: flex; gap: 12px; flex-wrap: wrap; }
.ik-social a { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 8px; background: #fff; border: 1px solid var(--ik-line); color: var(--ik-ink); font-weight: 600; min-width: 190px; text-decoration: none; }
.ik-social a i { font-size: 20px; width: 24px; text-align: center; }
.ik-social a.fb i { color: #1877f2; } .ik-social a.ig i { color: #d6249f; } .ik-social a.yt i { color: #ff0000; }
.ik-social a.tw i { color: #111; } .ik-social a.li i { color: #0a66c2; } .ik-social a.wa i { color: #25d366; }
.ik-social a:hover { border-color: var(--ik-navy); }

/* =====================================================================
   PUBLIC HEADER (restructured)
   ===================================================================== */
.ik-topbar { background: var(--ik-navy); color: #dbe7ee; font-size: 13px; }
.ik-topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.ik-topbar a { color: #fff; }
.ik-topbar .container > ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ik-topbar .dropdown-menu { list-style: none; }
.ik-topbar .dropdown-menu { font-size: 14px; }
.ik-topbar .dropdown-menu a { color: var(--ik-ink); }
.ik-header { background: #fff; box-shadow: 0 1px 0 var(--ik-line); position: sticky; top: 0; z-index: 1000; }
.ik-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.ik-logo { flex: 0 0 auto; }
.ik-logo img { width: 270px; max-width: 100%; height: auto; display: block; }
@media (min-width: 1200px) {
	.ik-header .container, .ik-topbar .container { width: auto; max-width: 1340px; }
}
.ik-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.ik-nav > li { position: relative; }
.ik-nav > li > a { display: flex; align-items: center; gap: 5px; padding: 26px 11px; font-family: var(--ik-font-head); font-size: 14px; font-weight: 500; color: var(--ik-ink); text-decoration: none; white-space: nowrap; }
.ik-nav > li > a:hover, .ik-nav > li.active > a { color: var(--ik-red); }
.ik-nav > li.active > a { box-shadow: inset 0 -3px 0 var(--ik-red); }
.ik-nav .ik-caret { font-size: 10px; opacity: .7; }
.ik-nav .ik-drop { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border: 1px solid var(--ik-line); border-top: 3px solid var(--ik-red); border-radius: 0 0 8px 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, .1); list-style: none; padding: 8px 0; margin: 0; display: none; z-index: 1001; }
.ik-nav > li:hover > .ik-drop, .ik-nav > li:focus-within > .ik-drop, .ik-nav > li.open > .ik-drop { display: block; }
.ik-nav .ik-drop a { display: block; padding: 9px 18px; color: var(--ik-ink); font-size: 14px; text-decoration: none; }
.ik-nav .ik-drop a:hover { background: var(--ik-navy-soft); color: var(--ik-navy); }
.ik-nav .ik-login { margin-left: 8px; }
.ik-nav .ik-login a { padding: 10px 16px; }
.ik-burger { display: none; background: none; border: 1px solid var(--ik-line); border-radius: 6px; width: 44px; height: 40px; font-size: 18px; color: var(--ik-navy); }

@media (min-width: 1200px) and (max-width: 1399px) {
	.ik-nav > li > a { padding: 26px 9px; }
	.ik-logo img { width: 240px; }
}
@media (max-width: 1199px) {
	.ik-burger { display: inline-flex; align-items: center; justify-content: center; }
	.ik-header .container { flex-wrap: wrap; min-height: 66px; }
	.ik-logo { max-width: calc(100% - 60px); }
	.ik-logo img { width: 250px; }
	.ik-header nav { flex: 0 0 100%; }
	.ik-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
	.ik-nav.open { display: flex; }
	.ik-nav > li > a { padding: 12px 4px; border-top: 1px solid var(--ik-line); justify-content: space-between; }
	.ik-nav > li.active > a { box-shadow: none; }
	.ik-nav .ik-drop { position: static; display: none; box-shadow: none; border: 0; border-left: 3px solid var(--ik-red); border-radius: 0; padding: 0 0 6px; min-width: 0; }
	.ik-nav > li:hover > .ik-drop { display: none; }
	.ik-nav > li.open > .ik-drop { display: block; }
	.ik-nav .ik-login { margin: 10px 0 0; }
	.ik-nav .ik-login a { justify-content: center; border-top: 0; }
	.ik-topbar .container > ul.ik-topbar-right { display: none; }
}
@media (max-width: 991px) {
	.ik-page-head h1 { font-size: 24px; }
	.ik-search { margin-top: -18px; }
	.ik-search .form-group { margin-bottom: 8px; }
}

/* =====================================================================
   DERMATOLOGISTS PORTAL LAYOUT
   ===================================================================== */
body.ik-portal { background: var(--ik-bg); }
.ik-p-top { background: var(--ik-navy); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.ik-p-top .ik-p-top-in { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 18px; }
.ik-p-top .ik-p-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.ik-p-top .ik-p-brand img { height: 40px; background: #fff; border-radius: 6px; padding: 3px 6px; }
.ik-p-top .ik-p-brand span { font-family: var(--ik-font-head); font-weight: 600; font-size: 15px; line-height: 1.1; }
.ik-p-top .ik-p-brand small { display: block; font-weight: 400; opacity: .75; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; }
.ik-p-top .ik-p-quick { display: flex; gap: 4px; margin-left: 18px; }
.ik-p-top .ik-p-quick a { color: #d8e6ee; padding: 8px 12px; border-radius: 6px; font-size: 14px; font-family: var(--ik-font-head); text-decoration: none; }
.ik-p-top .ik-p-quick a:hover, .ik-p-top .ik-p-quick a.active { background: rgba(255, 255, 255, .12); color: #fff; }
.ik-p-top .ik-p-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ik-p-iconbtn { position: relative; background: transparent; border: 0; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }
.ik-p-iconbtn:hover, .ik-p-iconbtn:focus { background: rgba(255, 255, 255, .12); color: #fff; }
.ik-p-iconbtn .ik-dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ik-red); font-size: 10px; line-height: 16px; font-weight: 700; }
.ik-p-user { display: flex; align-items: center; gap: 8px; color: #fff; background: transparent; border: 0; padding: 4px 8px; border-radius: 30px; }
.ik-p-user:hover, .ik-p-user:focus { background: rgba(255, 255, 255, .12); }
.ik-p-user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .5); }
.ik-p-user span { font-size: 14px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ik-p-top .dropdown-menu { right: 0; left: auto; min-width: 240px; border-radius: 8px; padding: 6px 0; }
.ik-p-top .dropdown-menu > li > a { padding: 9px 16px; }
.ik-p-notes { width: 320px; max-height: 380px; overflow: auto; }
.ik-p-notes li.ik-note { padding: 10px 16px; border-bottom: 1px solid var(--ik-line); font-size: 13px; white-space: normal; color: var(--ik-ink); }
.ik-p-notes li.ik-note small { color: var(--ik-muted); display: block; margin-top: 3px; }
.ik-p-burger { display: none; }

.ik-p-wrap { display: flex; min-height: calc(100vh - 64px); }
.ik-p-side { width: 268px; flex: 0 0 268px; background: #fff; border-right: 1px solid var(--ik-line); padding: 14px 0 40px; position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.ik-p-side .ik-p-me { display: flex; gap: 10px; align-items: center; padding: 6px 18px 14px; border-bottom: 1px solid var(--ik-line); margin-bottom: 8px; }
.ik-p-side .ik-p-me img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ik-p-side .ik-p-me strong { display: block; font-size: 14px; color: var(--ik-ink); line-height: 1.25; }
.ik-p-side .ik-p-me small { color: var(--ik-muted); font-size: 12px; }
.ik-p-group { padding: 4px 10px; }
.ik-p-group > .ik-p-gtitle { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; text-align: left; padding: 9px 10px; border-radius: 6px; font-family: var(--ik-font-head); font-size: 14px; font-weight: 500; color: var(--ik-ink); text-decoration: none; }
.ik-p-group > .ik-p-gtitle i.ik-gi { width: 18px; text-align: center; color: var(--ik-navy); }
.ik-p-group > .ik-p-gtitle .ik-chev { margin-left: auto; font-size: 10px; opacity: .6; transition: transform .15s; }
.ik-p-group.open > .ik-p-gtitle .ik-chev { transform: rotate(90deg); }
.ik-p-group > .ik-p-gtitle:hover { background: var(--ik-navy-soft); text-decoration: none; }
.ik-p-group > a.ik-p-gtitle.active { background: var(--ik-navy); color: #fff; }
.ik-p-group > a.ik-p-gtitle.active i.ik-gi { color: #fff; }
.ik-p-group ul { list-style: none; padding: 2px 0 6px 38px; margin: 0; display: none; }
.ik-p-group.open ul { display: block; }
.ik-p-group ul a { display: block; padding: 6px 10px; border-radius: 6px; font-size: 13.5px; color: var(--ik-muted); text-decoration: none; }
.ik-p-group ul a:hover { color: var(--ik-navy); background: var(--ik-navy-soft); }
.ik-p-group ul a.active { color: var(--ik-navy); background: var(--ik-navy-soft); font-weight: 600; }
.ik-p-main { flex: 1; min-width: 0; padding: 26px 30px 60px; }
.ik-p-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.ik-p-head h1 { font-family: var(--ik-font-head); font-size: 24px; font-weight: 600; color: var(--ik-navy); margin: 0; }
.ik-p-head p { margin: 4px 0 0; color: var(--ik-muted); }
.ik-p-foot { padding: 18px 30px; color: var(--ik-muted); font-size: 13px; border-top: 1px solid var(--ik-line); background: #fff; }
.ik-p-backdrop { display: none; }
.ik-table { width: 100%; background: #fff; border-collapse: collapse; font-size: 14px; }
.ik-table th { background: var(--ik-navy-soft); color: var(--ik-navy); font-weight: 600; text-align: left; padding: 10px 12px; font-size: 13px; }
.ik-table td { padding: 10px 12px; border-top: 1px solid var(--ik-line); vertical-align: top; }
.ik-table-wrap { overflow-x: auto; border: 1px solid var(--ik-line); border-radius: var(--ik-radius); background: #fff; }
.ik-kv { display: grid; grid-template-columns: 180px 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.ik-kv dt { color: var(--ik-muted); font-weight: 600; }
.ik-kv dd { margin: 0; color: var(--ik-ink); word-break: break-word; }
.ik-qr-box { text-align: center; }
.ik-qr-box svg { max-width: 240px; width: 100%; height: auto; border: 1px solid var(--ik-line); border-radius: 10px; }
.ik-tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--ik-line); margin-bottom: 18px; }
.ik-tabs a { padding: 10px 14px; color: var(--ik-muted); border-bottom: 3px solid transparent; font-family: var(--ik-font-head); font-size: 14px; text-decoration: none; }
.ik-tabs a.active, .ik-tabs a:hover { color: var(--ik-navy); border-bottom-color: var(--ik-red); }
.ik-event { display: flex; gap: 14px; align-items: flex-start; }
.ik-event .ik-date { flex: 0 0 62px; text-align: center; border-radius: 8px; background: var(--ik-navy); color: #fff; padding: 8px 4px; font-family: var(--ik-font-head); }
.ik-event .ik-date b { display: block; font-size: 22px; line-height: 1; }
.ik-event .ik-date span { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.ik-event.past .ik-date { background: #8aa0ad; }
.ik-welcome { background: linear-gradient(120deg, var(--ik-navy) 0%, var(--ik-navy-2) 100%); color: #fff; border: 0; }
.ik-welcome h2 { color: #fff; font-family: var(--ik-font-head); font-size: 22px; margin: 0 0 4px; }
.ik-welcome p { color: #d8e6ee; margin: 0; }

@media (max-width: 991px) {
	.ik-p-burger { display: inline-flex; }
	.ik-p-top .ik-p-quick { display: none; }
	.ik-p-top .ik-p-brand span { font-size: 13px; }
	.ik-p-user span { display: none; }
	.ik-p-side { position: fixed; left: 0; top: 64px; z-index: 999; transform: translateX(-100%); transition: transform .2s; box-shadow: 4px 0 16px rgba(0, 0, 0, .15); }
	body.ik-side-open .ik-p-side { transform: translateX(0); }
	body.ik-side-open .ik-p-backdrop { display: block; position: fixed; inset: 64px 0 0 0; background: rgba(0, 0, 0, .35); z-index: 998; }
	.ik-p-main { padding: 20px 16px 50px; }
	.ik-kv { grid-template-columns: 1fr; gap: 2px; }
	.ik-kv dd { margin-bottom: 8px; }
	.ik-p-notes { width: 290px; }
}
@media (max-width: 480px) {
	.ik-p-top .ik-p-brand span { display: none; }
	.ik-grid, .ik-grid.cols-2 { grid-template-columns: 1fr; }
	.ik-social a { min-width: 0; flex: 1 1 100%; }
}

/* ---------- login page ---------- */
.ik-login-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 56, 84, .12); }
.ik-login-side { background: linear-gradient(140deg, var(--ik-navy) 0%, var(--ik-navy-2) 100%); color: #fff; padding: 40px; }
.ik-login-side h2 { color: #fff; font-family: var(--ik-font-head); font-size: 24px; margin: 0 0 12px; }
.ik-login-side ul { padding-left: 18px; margin: 18px 0 0; color: #d8e6ee; line-height: 1.9; }
.ik-login-form { padding: 40px; }
.ik-login-form h1 { font-family: var(--ik-font-head); font-size: 22px; color: var(--ik-navy); margin: 0 0 6px; }
@media (max-width: 767px) {
	.ik-login-wrap { grid-template-columns: 1fr; }
	.ik-login-side, .ik-login-form { padding: 26px 22px; }
}

/* ---------- verification card ---------- */
.ik-vcard { max-width: 560px; margin: 0 auto; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 56, 84, .12); border: 1px solid var(--ik-line); }
.ik-vcard-head { background: var(--ik-navy); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 12px; }
.ik-vcard-head { flex-wrap: wrap; }
.ik-vcard-head img { width: 210px; max-width: 100%; height: auto; background: #fff; border-radius: 6px; padding: 3px 6px; }
.ik-vcard-body { padding: 24px 22px; display: flex; gap: 18px; align-items: center; }
.ik-vcard-body img.ik-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ik-navy-soft); }
.ik-vcard-status { padding: 12px 22px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.ik-vcard-status.ok { background: #e3f4ea; color: var(--ik-green); }
.ik-vcard-status.bad { background: #fde7e7; color: var(--ik-red-dark); }

@media (max-width: 520px) {
	.ik-vcard-body { flex-direction: column; text-align: center; }
	.ik-vcard-body .ik-kv { text-align: left; }
}

@media print {
	.ik-p-top, .ik-p-side, .ik-p-foot, .ik-noprint, .ik-header, .ik-topbar, footer { display: none !important; }
	.ik-p-main { padding: 0; }
}
