/* Shared visual system for normal public and admin views. */
:root { --vm-navy: #004c5a; --vm-deep: #053e4c; --vm-teal: #008fa3; --vm-orange: #f47a00; --vm-gold: #ffbf53; --vm-ink: #123941; --vm-muted: #5f777e; --vm-line: #dceff1; --vm-surface: #f4fcfd; }

/* Payment history: scoped student profile, summary, actions and table layout. */
.vm-payment-history-page .vm-payment-history-actions{display:flex;gap:9px;flex-wrap:wrap}.vm-payment-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.vm-payment-summary-card{padding:16px;border:1px solid var(--vm-line);border-radius:13px;background:#f8fcfc}.vm-payment-summary-card small{display:block;color:var(--vm-muted);font-weight:800}.vm-payment-summary-card strong{display:block;margin-top:7px;font-size:22px}.vm-payment-summary-card--paid{background:#effaf5}.vm-payment-summary-card--due{background:#fff7ea}.vm-payment-history-table{overflow-x:auto}@media(max-width:700px){.vm-payment-summary-grid{grid-template-columns:1fr}.vm-payment-history-actions{flex-direction:column}.vm-payment-history-actions .btn{text-align:center}}

/* Fees list: keep its three student actions compact and together inside the scrolling table. */
.vm-admin-list-page .vm-fee-actions { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 6px; white-space: nowrap; }
.vm-admin-list-page .vm-fee-action-btn { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 9px; border-radius: 8px !important; font-size: 12px; line-height: 1; white-space: nowrap; }
.vm-admin-list-page .vm-fee-action-btn--student { background: #edf8f9 !important; border-color: #a8d7dc !important; box-shadow: none; color: var(--vm-deep) !important; }
.vm-admin-list-page .vm-fee-action-btn--history { background: linear-gradient(180deg, #0a6271, var(--vm-deep)) !important; }
.vm-admin-list-page .vm-fee-action-btn--collect { background: linear-gradient(180deg, #ffc64d, var(--vm-orange)) !important; border-color: #e87a00 !important; color: var(--vm-deep) !important; }

/* Phase 4: compact brand certification line for the existing admin login card. */
.admin-login-page .login-certification { margin: -20px 0 24px; color: var(--vm-orange); font-size: 10px; font-weight: 800; letter-spacing: .65px; text-align: center; }

/* Phase 3: opt-in form and detail presentation for normal admin pages. */
.vm-admin-form-page .container.vm-page-shell, .vm-admin-detail-page .container.vm-page-shell { width: min(980px, 92%); max-width: 980px; margin: 26px auto 42px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.vm-admin-form-page .panel, .vm-admin-detail-page .panel, .vm-admin-detail-page .card { border: 1px solid var(--vm-line); border-radius: 16px; box-shadow: 0 10px 26px rgba(7,68,81,.10); }
.vm-admin-form-page .grid, .vm-admin-form-page .form-grid { gap: 18px; }.vm-admin-form-page .actions, .vm-admin-form-page .form-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.vm-admin-form-page label { color:var(--vm-navy); font-weight:800; }.vm-admin-form-page .hint, .vm-admin-form-page small { color:var(--vm-muted); line-height:1.45; }
.vm-admin-detail-page .top, .vm-admin-detail-page .student-header { padding-bottom:16px; border-bottom:1px solid var(--vm-line); }.vm-admin-detail-page dl { border-color:var(--vm-line); }.vm-admin-detail-page dt { background:#f8fcfc; color:var(--vm-navy); }.vm-admin-detail-page .actions { display:flex; flex-wrap:wrap; gap:8px; }
@media(max-width:700px){.vm-admin-form-page .container.vm-page-shell,.vm-admin-detail-page .container.vm-page-shell{width:94%;margin:18px auto 30px}.vm-admin-form-page .grid,.vm-admin-form-page .form-grid{grid-template-columns:1fr}.vm-admin-form-page .actions,.vm-admin-form-page .form-actions{flex-direction:column}.vm-admin-form-page .actions .btn,.vm-admin-form-page .form-actions .btn{text-align:center}}

/* Phase 2: compact, reusable treatment for normal admin list and management pages. */
.vm-admin-list-page .container.vm-page-shell { width: min(1280px, 92%); max-width: 1280px; margin: 26px auto 42px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.vm-admin-list-page .panel, .vm-admin-list-page .table-box { border-color: var(--vm-line); border-radius: 16px; box-shadow: 0 10px 26px rgba(7, 68, 81, .10); }
.vm-admin-list-page .top-section, .vm-admin-list-page .top, .vm-admin-list-page .tools { gap: 14px; }
.vm-admin-list-page .top-section, .vm-admin-list-page .top { padding-bottom: 16px; border-bottom: 1px solid var(--vm-line); }
.vm-admin-list-page .top-section h1, .vm-admin-list-page .top h1, .vm-admin-list-page .panel > h1 { margin: 0; color: var(--vm-navy); font-size: clamp(25px, 3vw, 32px); line-height: 1.15; }
.vm-admin-list-page .top-section > p, .vm-admin-list-page .top p, .vm-admin-list-page .panel > p, .vm-admin-list-page .muted { color: var(--vm-muted); line-height: 1.5; }
.vm-admin-list-page .search-form, .vm-admin-list-page .filter-form, .vm-admin-list-page .search { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.vm-admin-list-page .search-form input:not([type='hidden']), .vm-admin-list-page .search input, .vm-admin-list-page .filter-form input, .vm-admin-list-page .filter-form select { min-height: 42px; }
.vm-admin-list-page .table-box, .vm-admin-list-page .panel { overflow-x: auto; }
.vm-admin-list-page .table-box table, .vm-admin-list-page .panel > table { margin: 0; font-size: 14px; }
.vm-admin-list-page .table-box th, .vm-admin-list-page .panel > table th { padding: 12px; background: linear-gradient(180deg, #075967, var(--vm-deep)); color: #fff; }
.vm-admin-list-page .table-box td, .vm-admin-list-page .panel > table td { padding: 12px; border-bottom-color: #e2f0f1; }
.vm-admin-list-page .actions, .vm-admin-list-page .vm-admin-actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.vm-admin-list-page .status, .vm-admin-list-page .badge { border: 1px solid transparent; font-weight: 800; }
.vm-admin-list-page .no-data, .vm-admin-list-page .empty { padding: 26px; border: 1px dashed #b9dfe3; border-radius: 12px; background: #f8fcfc; color: var(--vm-muted); text-align: center; }
@media (max-width: 700px) { .vm-admin-list-page .container.vm-page-shell { width: 94%; margin: 18px auto 30px; }.vm-admin-list-page .top-section, .vm-admin-list-page .top { align-items: flex-start; flex-direction: column; }.vm-admin-list-page .search-form, .vm-admin-list-page .filter-form, .vm-admin-list-page .search { width: 100%; align-items: stretch; }.vm-admin-list-page .search-form input:not([type='hidden']), .vm-admin-list-page .search input, .vm-admin-list-page .filter-form input, .vm-admin-list-page .filter-form select { width: 100%; min-width: 0; }.vm-admin-list-page .search-form .btn, .vm-admin-list-page .filter-form .btn, .vm-admin-list-page .search .btn { text-align: center; } }

/* Normal admin pages: shared Veda Mantra identity without affecting .site-header public pages or print output. */
@media screen {
  header:not(.site-header):not(.admin-dashboard-header) { min-height: 76px; padding: 10px max(5%, calc((100% - 1250px) / 2)); gap: 12px; background: linear-gradient(135deg, var(--vm-deep), var(--vm-navy)); }
  header:not(.site-header):not(.admin-dashboard-header)::before { width: 48px; height: 48px; flex: 0 0 48px; content: ""; background: url('/images/veda-mantra-logo.png') center / contain no-repeat; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .16)); }
  header:not(.site-header):not(.admin-dashboard-header) h2 { margin-right: auto; font-size: 0; line-height: 1.1; }
  header:not(.site-header):not(.admin-dashboard-header) h2::before { display: block; content: "VEDA MANTRA EDUCATION PVT. LTD."; color: #fff; font-size: clamp(15px, 2vw, 20px); font-weight: 800; letter-spacing: .2px; }
  header:not(.site-header):not(.admin-dashboard-header) h2::after { display: block; margin-top: 4px; content: "ADMIN PANEL  •  ISO 9001 : 2015 CERTIFIED COMPANY"; color: #aee8ed; font-size: 10px; font-weight: 800; letter-spacing: .65px; }
  header:not(.site-header):not(.admin-dashboard-header) .header-links, header:not(.site-header):not(.admin-dashboard-header) .header-right { margin-left: auto; }
}

/* Reusable, opt-in normal-page primitives. */
.vm-page-shell { width: min(1280px, 92%); margin: 26px auto 42px; }
.vm-page-title { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--vm-line); }
.vm-page-title h1 { margin: 0; color: var(--vm-navy); font-size: clamp(25px, 3vw, 32px); line-height: 1.15; }
.vm-page-title p { margin: 7px 0 0; color: var(--vm-muted); line-height: 1.5; }
.vm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.vm-empty-state { padding: 26px; border: 1px dashed #b9dfe3; border-radius: 12px; background: #f8fcfc; color: var(--vm-muted); text-align: center; }
@media (max-width: 650px) { header:not(.site-header):not(.admin-dashboard-header) { min-height: 68px; padding-block: 9px; flex-wrap: wrap; } header:not(.site-header):not(.admin-dashboard-header)::before { width: 40px; height: 40px; flex-basis: 40px; } header:not(.site-header):not(.admin-dashboard-header) h2::before { font-size: 14px; } header:not(.site-header):not(.admin-dashboard-header) h2::after { font-size: 8px; letter-spacing: .35px; } .vm-page-shell { width: 94%; margin: 18px auto 30px; } }
body { color: var(--vm-ink); background: linear-gradient(135deg, #effcfd, #fff 55%, #eefbfc); } body:not(.admission-body) { min-height: 100vh; }
header:not(.site-header) { padding: 18px max(5%, calc((100% - 1250px) / 2)); background: linear-gradient(135deg, var(--vm-deep), var(--vm-navy)); box-shadow: 0 4px 16px rgba(0,69,82,.16); } header:not(.site-header) h1, header:not(.site-header) h2 { color: #fff; }
.container, .panel, .table-box, .form-box, .summary-box, .student-box, .student-card, .title-box, .box { border: 1px solid var(--vm-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 26px rgba(7,68,81,.10); }.container { width: min(1250px, 92%); margin: 34px auto; padding: 28px; }.panel, .form-box, .table-box, .summary-box, .student-box, .student-card, .title-box, .box { padding: 22px; }
.container h1, .container h2, .panel h1, .panel h2, .title-box h1, .student-header h1 { color: var(--vm-navy); }.container > h1:first-child, .title-box { border-bottom: 1px solid var(--vm-line); }
input, select, textarea { border: 1px solid #bcdde1 !important; border-radius: 9px !important; background: #fcffff !important; color: var(--vm-ink) !important; } input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,143,163,.14) !important; border-color: var(--vm-teal) !important; }
button, .btn, .save-btn, .update-btn, .collect-btn, .search-btn, .view-btn, .edit-btn, .receipt-btn, .back-btn { border-radius: 9px !important; border: 1px solid #056274 !important; background: linear-gradient(180deg, #0a8c9b, var(--vm-navy)) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 3px 0 #053d48; color: #fff !important; font-weight: 800; text-decoration: none; transition: transform .18s, box-shadow .18s; } button:hover, .btn:hover, .save-btn:hover, .update-btn:hover, .collect-btn:hover, .search-btn:hover, .view-btn:hover, .edit-btn:hover, .receipt-btn:hover, .back-btn:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 5px 10px rgba(5,61,72,.18); }.btn.success, .btn.add, .btn.orange, .add-btn { border-color: #e87a00 !important; background: linear-gradient(180deg, #ffc64d, var(--vm-orange)) !important; color: var(--vm-deep) !important; }.btn.danger, .delete-btn { border-color: #bb422a !important; background: #c64d34 !important; }.btn.warning { border-color: #d78616 !important; background: #e9a21f !important; }.btn.secondary, .btn.back, .btn.cancel-btn, .clear-btn { background: #edf8f9 !important; border-color: #a8d7dc !important; box-shadow: none; color: var(--vm-deep) !important; }
table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--vm-line); border-radius: 12px; background: #fff; } th { background: linear-gradient(180deg, #075967, var(--vm-deep)); color: #fff; } th, td { padding: 13px 12px; border-bottom: 1px solid #e2f0f1; text-align: left; } tr:last-child td { border-bottom: 0; } tbody tr:nth-child(even) { background: #f8fcfc; } tbody tr:hover { background: #edfafa; }.table-wrap { overflow-x: auto; border-radius: 12px; }
.cards, .grid, .form-grid, .details, .summary { gap: 18px; }.card { border: 1px solid var(--vm-line); border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(7,68,81,.09); }.card:hover { border-color: #9ddde0; }.status.active, .status.success, .paid { background: #d9f6ee; color: #08734f; }.status.inactive, .status.revoked, .due { background: #fff0ea; color: #b64c1b; }.error { border: 1px solid #f3c0ae; border-radius: 10px; background: #fff0ea; color: #9c3b16; }.message { border: 1px solid #bde5d1; border-radius: 10px; background: #eaf9f0; color: #08734f; }
.public-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.public-nav a { padding: 9px 10px; border: 1px solid rgba(4,79,93,.34); border-radius: 10px; background: linear-gradient(180deg, #0a6271, var(--vm-deep)); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 3px 0 #04323e; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }.public-nav a:hover, .public-nav a.active { background: linear-gradient(180deg, #ff9d28, var(--vm-orange)); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 0 #b95700; }.public-nav .login-link { background: linear-gradient(180deg, #ffd263, var(--vm-orange)); color: var(--vm-deep); border-color: #e89520; }
.public-verification-page .site-header { position: relative; }.public-verification-page footer { margin-top: 0; }.public-verification-page .card { border-radius: 18px; }.public-verification-page .intro .eyebrow { display: inline-block; padding: 7px 12px; border-radius: 999px; background: #fff4dc; color: #a85a00; }.public-verification-page .home-link { display: none; }
.admin-login-page { display: grid !important; place-items: center; padding: 28px 16px; }.admin-login-page .login-box { width: min(440px, 100%); border: 1px solid var(--vm-line); border-radius: 18px; box-shadow: 0 14px 34px rgba(7,68,81,.14); }.admin-login-page .logo { color: var(--vm-navy); }.admin-login-page .login-logo { display: block; width: 64px; height: 64px; margin: 0 auto 12px; object-fit: contain; }.admin-login-page .subtitle { color: var(--vm-teal); font-weight: 700; }.admin-login-page button { width: 100%; border-color: #e87a00 !important; background: linear-gradient(180deg, #ffc64d, var(--vm-orange)) !important; color: var(--vm-deep) !important; }.admin-login-page .back a { color: var(--vm-teal); font-weight: 800; }

@media (max-width:650px) { body > main.wrap > .card:has(> table) { overflow-x:auto; -webkit-overflow-scrolling:touch; } }
.public-verification-page footer { background: linear-gradient(135deg, #003845, #005366); color: #dff7f8; }.public-verification-page .footer-main { width: min(1250px, 90%); margin: auto; padding: 45px 0 34px; display: grid; grid-template-columns: 1.45fr 1fr 1fr .9fr; gap: 30px; }.public-verification-page .footer-brand-row { display: flex; align-items: center; gap: 10px; }.public-verification-page .footer-brand-row img { width: 55px; height: 55px; object-fit: contain; }.public-verification-page .footer-brand h2 { margin: 0; color: #fff; font-size: 18px; }.public-verification-page .footer-brand h2 span, .public-verification-page .footer-contact h3 { color: #ffbf53; }.public-verification-page .footer-registration { max-width: 265px; margin: 6px 0 0; color: #8de1e8; font-size: 11px; font-weight: 700; line-height: 1.35; }.public-verification-page .footer-summary { color: #b8dadd; font-size: 15px; }.public-verification-page .social-icons { display: flex; gap: 8px; margin-top: 15px; }.public-verification-page .social-icons span { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; background: rgba(255,255,255,.09); }.public-verification-page .footer-contact h3 { margin: 5px 0 12px; font-size: 16px; }.public-verification-page .footer-contact p { margin: 0 0 8px; color: #d9eef0; line-height: 1.6; }.public-verification-page .footer-contact small { color: #9fc7cc; }.public-verification-page .footer-phone { color: #fff !important; font-size: 22px; font-weight: 800; }.public-verification-page .footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 16px max(5%, calc((100% - 1250px) / 2)); border-top: 1px solid rgba(255,255,255,.14); color: #b7d7da; font-size: 12px; }.public-verification-page .footer-bottom span:last-child { color: #ffcf76; text-align: right; }
@media (max-width: 800px) { .container { width: 94%; padding: 20px; }.public-verification-page .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }.public-nav { justify-content: center; } } @media (max-width: 650px) { .container, .panel, .form-box, .table-box, .summary-box, .student-box, .student-card, .title-box, .box { padding: 18px; }.public-verification-page .footer-main { grid-template-columns: 1fr; gap: 24px; }.public-verification-page .footer-bottom { flex-direction: column; text-align: center; }.public-verification-page .footer-bottom span:last-child { text-align: center; } }
@media print { .public-verification-page footer { display: none !important; } }

/* Certificate Verification page-only visual corrections. */
.public-verification-page main { margin: 34px auto 40px; }.public-verification-page .intro { margin-bottom: 18px; }.public-verification-page .card { padding: 26px; }.public-verification-page .footer-main { grid-template-columns: 1.7fr 1fr 1fr .9fr; gap: 24px; }.public-verification-page .footer-brand h2 { white-space: nowrap; }
@media (min-width: 1181px) { .public-verification-page .header-inner { width: min(1320px, 94%); gap: 12px; }.public-verification-page .public-nav { flex-wrap: nowrap; gap: 3px; }.public-verification-page .public-nav a { padding: 8px 8px; font-size: 12px; } }
@media (max-width: 800px) { .public-verification-page .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }.public-verification-page .footer-brand h2 { white-space: normal; } }
@media (max-width: 650px) { .public-verification-page main { margin: 32px auto 36px; }.public-verification-page .card { padding: 21px; }.public-verification-page .footer-main { grid-template-columns: 1fr; } }

/* Certificate Verification scale matched to the approved Admission page. */
.public-verification-page .header-inner { width: min(1320px, 92%); min-height: 86px; gap: 24px; }.public-verification-page .brand { gap: 10px; min-width: max-content; }.public-verification-page .brand-logo { width: 52px; height: 52px; object-fit: contain; }.public-verification-page .brand-copy { line-height: 1; }.public-verification-page .logo { color: var(--vm-navy); font-size: 24px; font-weight: 800; letter-spacing: .25px; white-space: nowrap; }.public-verification-page .logo span { color: var(--vm-orange); }.public-verification-page .brand-copy p { margin: 6px 0 0; color: var(--vm-teal); font-size: 10px; font-weight: 700; letter-spacing: .7px; }.public-verification-page .brand-copy i { color: var(--vm-orange); font-style: normal; }
.public-verification-page main { width: min(900px, 90%); margin: 0 auto; padding: 56px 0 70px; }.public-verification-page .intro { width: min(760px, 90%); margin: 0 auto 26px; }.public-verification-page .intro .eyebrow { padding: 8px 14px; border: 1px solid #ffc661; background: linear-gradient(135deg, #ffdc79, #ffad22); color: var(--vm-deep); font-size: 12px; letter-spacing: .4px; }.public-verification-page .intro h1 { margin: 14px 0 8px; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }.public-verification-page .intro p { margin: 0; font-size: 17px; }.public-verification-page .card { padding: 34px; border-color: #dceff1; border-radius: 18px; box-shadow: 0 14px 34px rgba(7,68,81,.12); }.public-verification-page label { margin-bottom: 8px; font-size: 14px; }.public-verification-page input { min-height: 48px; padding: 12px 13px; font: inherit; }.public-verification-page form { gap: 12px; }.public-verification-page form button { min-height: 48px; padding: 12px 20px; font-size: 16px; }.public-verification-page .hint { margin: 9px 0 0; }
.public-verification-page .footer-main { width: min(1250px, 90%); padding: 45px 0 34px; grid-template-columns: 1.45fr 1fr 1fr .9fr; gap: 30px; }.public-verification-page .footer-brand-row img { width: 55px; height: 55px; }.public-verification-page .footer-brand h2 { font-size: 18px; white-space: nowrap; }.public-verification-page .footer-registration { font-size: 11px; }.public-verification-page .footer-summary, .public-verification-page .footer-contact p { font-size: 15px; }.public-verification-page .footer-phone { font-size: 22px; }.public-verification-page .social-icons span { width: 29px; height: 29px; }.public-verification-page .footer-bottom { font-size: 12px; }
@media (min-width: 1181px) { .public-verification-page .public-nav { gap: 5px; }.public-verification-page .public-nav a { padding: 9px 10px; font-size: 13px; } }
@media (min-width: 1181px) and (max-width: 1279px) { .public-verification-page .public-nav { flex-wrap: wrap; } }
@media (max-width: 1050px) { .public-verification-page .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }.public-verification-page .footer-brand { grid-column: auto; } }
@media (max-width: 650px) { .public-verification-page .header-inner { width: 94%; gap: 12px; }.public-verification-page .brand-logo { width: 42px; height: 42px; }.public-verification-page .logo { font-size: 16px; white-space: normal; }.public-verification-page .brand-copy p { font-size: 9px; }.public-verification-page .brand { gap: 6px; min-width: 0; }.public-verification-page main { width: 90%; padding: 42px 0 52px; }.public-verification-page .intro { margin-bottom: 26px; }.public-verification-page .intro p { font-size: 16px; }.public-verification-page .card { padding: 24px 20px; }.public-verification-page .footer-main { width: 90%; grid-template-columns: 1fr; gap: 24px; }.public-verification-page .footer-brand h2 { white-space: normal; } }
