/* J. S. Public School Korchey - Student Registration Portal Stylesheet */
/* File: css/style.css */

:root {
    --primary: #0a2540;
    --primary-dark: #061527;
    --primary-light: #163e69;
    --accent: #d97706;
    --accent-hover: #b45309;
    --accent-light: #fef3c7;
    --success: #059669;
    --success-hover: #047857;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #0284c7;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-surface: #f1f5f9;
    --border-color: #e2e8f0;
    --border-focus: #3b82f6;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-page);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================================
   TOP NOTICE TICKER BAR
   ============================================================ */
.top-notice-bar {
    background: linear-gradient(90deg, #061527 0%, #0a2540 100%);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 2px solid var(--accent);
}

.notice-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-transform: uppercase;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.notice-text {
    flex: 1;
    overflow: hidden;
    color: #cbd5e1;
}

.notice-contact {
    white-space: nowrap;
    font-weight: 600;
    color: #f1f5f9;
}

.notice-contact a {
    color: #fef08a;
    font-weight: 700;
}

/* ============================================================
   SITE HEADER & NAVIGATION
   ============================================================ */
.site-header {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.school-logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.school-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.school-subname {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.school-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.meta-dot {
    color: var(--text-light);
}

.header-action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-register {
    background-color: var(--success);
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.btn-register:hover {
    background-color: var(--success-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
}

.btn-signin {
    background-color: var(--primary);
    color: #ffffff !important;
}

.btn-signin:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-admin-header {
    background-color: var(--bg-surface);
    color: var(--text-muted) !important;
    padding: 9px 12px;
    border: 1px solid var(--border-color);
}

.btn-admin-header:hover {
    background-color: var(--primary);
    color: #ffffff !important;
}

/* Sub Nav Strip */
.sub-nav {
    background: #fafbfc;
    border-top: 1px solid var(--border-color);
}

.sub-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    padding-bottom: 6px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-main);
    border-radius: var(--radius-sm);
}

.nav-links a:hover, .nav-links a.active {
    background: #e2e8f0;
    color: var(--primary);
    font-weight: 600;
}

.session-badge {
    font-size: 12.5px;
    color: var(--primary);
    background: var(--accent-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid #fde68a;
}

/* ============================================================
   HERO / BANNER SECTION
   ============================================================ */
.portal-hero {
    background: linear-gradient(135deg, #0a2540 0%, #11355e 100%);
    color: #ffffff;
    padding: 45px 0 50px;
    position: relative;
    overflow: hidden;
}

.portal-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fef08a;
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 14px;
    color: #ffffff;
}

.hero-title span {
    color: #f59e0b;
}

.hero-desc {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 24px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-hero-primary {
    background: var(--accent);
    color: #ffffff !important;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 22px;
    font-size: 15px;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-quick-card {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-main);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

.quick-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.quick-card-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
}

.quick-checklist {
    list-style: none;
    margin-bottom: 20px;
}

.quick-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.quick-checklist li i {
    color: var(--success);
    margin-top: 3px;
}

/* ============================================================
   SECTION TITLES & FILTER TABS
   ============================================================ */
.section-wrapper {
    padding: 50px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 35px;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Filter Buttons */
.filter-tabs-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 35px;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* ============================================================
   APPLICATION FORM CARDS GRID (Reference: registration.ggpsbokaro.com)
   ============================================================ */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.app-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #cbd5e1;
}

.app-card-img-wrap {
    height: 160px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.app-card-icon-bg {
    font-size: 70px;
    color: rgba(255, 255, 255, 0.12);
    position: absolute;
    right: -10px;
    bottom: -15px;
    transform: rotate(-15deg);
}

.class-graphic-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    z-index: 2;
}

.class-graphic-circle i {
    font-size: 26px;
    margin-bottom: 4px;
}

.class-graphic-circle span {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.wing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    z-index: 3;
}

.status-badge-open {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--success);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.app-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.app-card-title {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.25;
}

.app-card-class {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.app-card-session {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.age-eligibility-snippet {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 16px;
}

.age-eligibility-snippet strong {
    color: var(--primary);
}

.app-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.btn-card-apply {
    background: var(--primary);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-card-apply:hover {
    background: var(--accent);
}

.arrow-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.app-card:hover .arrow-icon-circle {
    background: var(--accent);
    color: #ffffff;
    transform: translateX(3px);
}

/* ============================================================
   HOW TO APPLY 4-STEP WALKTHROUGH
   ============================================================ */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.step-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-num-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* ============================================================
   GUIDELINES & ADMISSION FORM NOTICE PAGE (Like reference Token 1 & 2)
   ============================================================ */
.notice-page-wrapper {
    padding: 40px 0 60px;
}

.notice-container-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    max-width: 980px;
    margin: 0 auto;
}

.notice-card-header {
    background: linear-gradient(135deg, #0a2540 0%, #153e6b 100%);
    color: #ffffff;
    padding: 30px;
    text-align: center;
    position: relative;
}

.notice-card-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #bde8d5;
}

.notice-card-header p {
    font-size: 15px;
    color: #e2e8f0;
}

.notice-card-body {
    padding: 35px 40px;
}

.school-letterhead {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.school-letterhead h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.school-letterhead .location {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
}

.school-letterhead .sub-guideline {
    font-size: 14px;
    color: var(--text-muted);
}

.guidelines-ol {
    padding-left: 20px;
    margin-bottom: 30px;
}

.guidelines-ol li {
    font-size: 14.5px;
    margin-bottom: 14px;
    line-height: 1.65;
    color: #334155;
}

.guidelines-ol li strong {
    color: var(--primary);
}

/* Age Table */
.age-table-wrapper {
    margin: 25px 0;
    overflow-x: auto;
}

.age-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 14px;
}

.age-table th, .age-table td {
    border: 1px solid #cbd5e1;
    padding: 12px 16px;
    text-align: left;
}

.age-table th {
    background-color: #f1f5f9;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.age-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.age-table .highlight-col {
    font-weight: 700;
    color: var(--primary);
}

/* Action Buttons Bar in Guidelines */
.notice-actions-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.button-forestgreen {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-color: #15803d;
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background-color 0.25s, transform 0.2s;
    cursor: pointer;
}

.button-forestgreen:hover {
    background-color: #166534;
    color: #ffffff;
    transform: translateY(-2px);
}

.button-oceanblue {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background-color: #1a8ba8;
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background-color 0.25s, transform 0.2s;
    cursor: pointer;
}

.button-oceanblue:hover {
    background-color: #0b5163;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   STEP WIZARD & REGISTRATION FORM (Step 1 & Step 2)
   ============================================================ */
.form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 35px 40px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.form-header-banner {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.form-header-banner h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4px;
}

.form-header-banner .badge-pill {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 6px;
}

/* Wizard Stepper */
.stepper-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    position: relative;
}

.stepper-bar::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
}

.step-item.active .step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(10, 37, 64, 0.15);
}

.step-item.completed .step-circle {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

.step-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.step-item.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

/* Form Sections */
.form-section {
    background: #ffffff;
    margin-bottom: 28px;
}

.section-legend {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 8px;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-legend i {
    color: var(--accent);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-3  { grid-column: span 3; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
}

.form-group label .req {
    color: var(--danger);
    font-weight: 700;
}

.form-control, .form-select {
    width: 100%;
    height: 44px;
    padding: 9px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-main);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

textarea.form-control {
    height: auto;
    min-height: 80px;
    resize: vertical;
}

.form-control:focus, .form-select:focus {
    border-color: var(--border-focus);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-control[readonly] {
    background-color: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

/* Photo Upload Box with Preview */
.photo-upload-card {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.2s ease;
    cursor: pointer;
}

.photo-upload-card:hover {
    border-color: var(--primary);
    background: #f1f5f9;
}

.photo-preview-box {
    width: 110px;
    height: 130px;
    margin: 0 auto 10px;
    background: #e2e8f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}

.photo-preview-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.photo-preview-box i {
    font-size: 38px;
    color: #94a3b8;
}

.upload-hint {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Declaration Box */
.declaration-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
}

.declaration-box p {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary);
}

/* Payment Mode Section */
.payment-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 15px 0 25px;
}

.payment-option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 14px;
}

.payment-option-card:hover, .payment-option-card.selected {
    border-color: var(--primary);
    background: #eff6ff;
}

.payment-option-card input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.payment-details h5 {
    font-family: var(--font-heading);
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 2px;
}

.payment-details p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   LOGIN PAGE (Reference: registration.ggpsbokaro.com/Home/Login)
   ============================================================ */
.login-page-container {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* Vibrant Blue Radiant Background Matching Reference Image */
.applicant-screen-bg {
    min-height: calc(100vh - 180px);
    background: #2574b5;
    background: radial-gradient(ellipse at 50% 50%, #3592de 0%, #2072ae 50%, #104e7e 100%);
    padding: 60px 20px;
}

.applicant-login-card {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    width: 100%;
    max-width: 780px;
    padding: 45px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.applicant-card-left {
    text-align: center;
    border-right: 1px solid #e2e8f0;
    padding-right: 30px;
}

.applicant-card-logo {
    width: 175px;
    height: 175px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.applicant-card-brand {
    font-size: 13.5px;
    font-weight: 800;
    color: #0f4c81;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.applicant-card-sub {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 4px;
}

.applicant-card-right {
    padding-left: 10px;
}

.applicant-form-heading {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.applicant-form-heading i {
    font-size: 17px;
    color: #334155;
}

.applicant-input-pill {
    position: relative;
    margin-bottom: 18px;
}

.applicant-input-pill input,
.applicant-input-pill .flatpickr-input {
    width: 100%;
    height: 44px;
    background: #e9ecef !important;
    border: 1px solid #ced4da !important;
    border-radius: 30px !important;
    padding: 10px 18px 10px 44px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
}

.applicant-input-pill input:focus,
.applicant-input-pill .flatpickr-input:focus {
    background: #ffffff !important;
    border-color: #2b7bb9 !important;
    box-shadow: 0 0 0 3px rgba(43, 123, 185, 0.18) !important;
    outline: none !important;
}

.applicant-input-pill i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #868e96;
    font-size: 15px;
    z-index: 2;
}

.applicant-btn-submit {
    width: 100%;
    height: 44px;
    background: #2b7bb9;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(43, 123, 185, 0.35);
    transition: all 0.2s ease;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.applicant-btn-submit:hover {
    background: #23689d;
    box-shadow: 0 6px 18px rgba(43, 123, 185, 0.45);
    transform: translateY(-1px);
}

.applicant-form-footer {
    text-align: center;
    margin-top: 22px;
}

.applicant-form-footer a {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.applicant-form-footer a:hover {
    color: #2b7bb9;
}

@media (max-width: 768px) {
    .applicant-login-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 20px;
    }
    .applicant-card-left {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .applicant-card-logo {
        width: 130px;
        height: 130px;
    }
    .applicant-card-right {
        padding-left: 0;
    }
}

.login-card-wrap {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 440px;
    padding: 40px 35px;
    text-align: center;
}

.login-logo-wrap {
    margin-bottom: 20px;
}

.login-logo-wrap img {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    object-fit: contain;
}

.login-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.input-with-icon {
    position: relative;
    margin-bottom: 18px;
}

.input-with-icon input {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.2s ease;
}

.input-with-icon input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.12);
    outline: none;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

.btn-login-submit {
    width: 100%;
    height: 48px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login-submit:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.login-footer-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 13.5px;
}

.login-footer-links a {
    color: var(--accent);
    font-weight: 700;
}

/* ============================================================
   STUDENT DASHBOARD & STATUS TRACKER
   ============================================================ */
.dashboard-wrapper {
    padding: 40px 0 60px;
}

.dashboard-header-card {
    background: linear-gradient(135deg, #0a2540 0%, #153e6b 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    border: 3px solid rgba(255, 255, 255, 0.4);
    object-fit: cover;
    background: #ffffff;
}

.dashboard-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.dashboard-meta {
    font-size: 14px;
    color: #cbd5e1;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.dashboard-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Status Tracker Progress Bar */
.status-tracker-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 30px;
    margin-bottom: 30px;
}

.tracker-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tracker-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.tracker-timeline::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.tracker-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 140px;
}

.tracker-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.tracker-node.completed .tracker-circle {
    background: var(--success);
    border-color: var(--success);
    color: #ffffff;
}

.tracker-node.active .tracker-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(10, 37, 64, 0.15);
}

.tracker-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.tracker-time {
    font-size: 11px;
    color: var(--text-muted);
}

/* Test Notice Banner inside Dashboard */
.test-schedule-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.test-schedule-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #1e40af;
    margin-bottom: 4px;
}

.test-schedule-info p {
    font-size: 13.5px;
    color: #3b82f6;
}

/* ============================================================
   SYSTEM-GENERATED PRINTABLE FORM & ACKNOWLEDGEMENT
   ============================================================ */
.print-paper-container {
    background: #ffffff;
    max-width: 900px;
    margin: 30px auto;
    padding: 40px;
    border: 1px solid #cbd5e1;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    font-size: 13.5px;
}

.print-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #000000;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.print-header-brand {
    text-align: center;
    flex: 1;
}

.print-header-brand h1 {
    font-size: 24px;
    font-weight: 900;
    color: #000000;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.print-header-brand .sub {
    font-size: 13px;
    font-weight: 700;
}

.print-header-brand .affil {
    font-size: 11.5px;
    color: #333333;
}

.print-header-brand .addr {
    font-size: 11.5px;
    color: #333333;
}

.print-logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin-left: 22px;
    margin-right: 15px;
}

.print-photo-box {
    width: 85px;
    height: 105px;
    border: 1px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fafc;
    border-radius: 10px;
}

.print-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 9px;
}

.print-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 13px;
}

.print-meta-grid div {
    display: flex;
    flex-direction: column;
}

.print-section-title {
    font-size: 14px;
    font-weight: 800;
    background: #e2e8f0;
    padding: 5px 10px;
    border-left: 4px solid var(--primary);
    margin: 16px 0 10px;
    text-transform: uppercase;
}

.print-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
}

.print-table th, .print-table td {
    border: 1px solid #cbd5e1;
    padding: 7px 10px;
    font-size: 12.5px;
}

.print-table th {
    background: #f8fafc;
    width: 25%;
    font-weight: 700;
    color: #334155;
}

.print-signatures-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.sign-box {
    border-top: 1px solid #000000;
    padding-top: 6px;
    font-size: 12px;
    font-weight: 700;
}

/* ============================================================
   PRINT MEDIA STYLES
   ============================================================ */
@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
        font-size: 12pt;
    }
    .top-notice-bar, .site-header, .site-footer, .no-print, .btn, .loader-overlay {
        display: none !important;
    }
    .print-paper-container {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    .print-table th, .print-table td {
        border-color: #555555 !important;
    }
}

/* ============================================================
   ADMIN DASHBOARD STYLES
   ============================================================ */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 120px);
}

.admin-sidebar {
    background: #0f172a;
    color: #cbd5e1;
    padding: 25px 0;
}

.admin-sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 20px;
}

.admin-sidebar-header h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #ffffff;
}

.admin-nav-menu {
    list-style: none;
}

.admin-nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-nav-menu a:hover, .admin-nav-menu a.active {
    background: #1e293b;
    color: #ffffff;
    border-left: 4px solid var(--accent);
}

.admin-main-panel {
    background: #f8fafc;
    padding: 30px;
    overflow-y: auto;
}

.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.stat-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

/* Admin Table */
.data-table-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.data-table-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.search-input {
    width: 280px;
    height: 38px;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.admin-table th, .admin-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #475569;
}

.admin-table tr:hover {
    background: #f1f5f9;
}

/* Status Badges */
.badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.badge-submitted { background: #e0f2fe; color: #0369a1; }
.badge-scheduled { background: #fef3c7; color: #b45309; }
.badge-verified  { background: #ede9fe; color: #6d28d9; }
.badge-admitted  { background: #dcfce7; color: #15803d; }
.badge-rejected  { background: #fee2e2; color: #b91c1c; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    margin-top: auto;
}

.footer-note-strip {
    background-color: #ffd800;
    color: #000000;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.footer-note-strip a {
    color: #000000;
    font-weight: 700;
}

.note-highlight {
    font-weight: 800;
    color: #dc2626;
}

.footer-main {
    padding: 45px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 14px;
}

.footer-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #ffffff;
}

.footer-brand .tagline {
    font-size: 12px;
    color: #94a3b8;
}

.school-desc {
    font-size: 13.5px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-nav-list, .contact-list {
    list-style: none;
}

.footer-nav-list li {
    margin-bottom: 8px;
}

.footer-nav-list a {
    color: #cbd5e1;
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-nav-list a:hover {
    color: #f59e0b;
    transform: translateX(3px);
}

.contact-list li {
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-list li i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    background: #020617;
    padding: 16px 0;
    border-top: 1px solid #1e293b;
    font-size: 12.5px;
}

.bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.powered-by {
    color: #94a3b8;
}

/* Global Loading Spinner Overlay */
.loader-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-box {
    background: #ffffff;
    padding: 24px 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .steps-container { grid-template-columns: repeat(2, 1fr); }
    .col-6, .col-8, .col-4 { grid-column: span 12; }
}

@media (max-width: 768px) {
    .header-container { flex-direction: column; align-items: flex-start; gap: 14px; }
    .header-action-buttons { width: 100%; justify-content: flex-start; }
    .sub-nav-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
    .nav-links { flex-wrap: wrap; }
    .steps-container { grid-template-columns: 1fr; }
    .stepper-bar { display: none; }
    .form-card { padding: 20px 16px; }
    .print-meta-grid { grid-template-columns: 1fr; }
    .print-signatures-row { grid-template-columns: 1fr; gap: 40px; }
}
