/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    /* Custom Theme Color Overrides (Coexists with Bootstrap) */
    --accent-color: #0d9488; /* Teal Accent */
    --accent-hover: #0f766e;
    --accent-light: rgba(13, 148, 136, 0.08);
    
    /* Theme Dependent variables */
    --bg-panel: #ffffff;
    --bg-page: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --sidebar-width: 260px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Ambient Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.03), 0 1px 2px -1px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
    --bg-page: #090d16;
    --bg-panel: #111a2e;
    --border-color: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --accent-light: rgba(20, 184, 166, 0.15);
    
    /* Softer Dark Mode Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

/* Page entrance animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-scale-in {
    animation: scaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Animation Sequential Delays */
.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.18s; }
.delay-4 { animation-delay: 0.24s; }
.delay-5 { animation-delay: 0.3s; }
.delay-6 { animation-delay: 0.36s; }

/* Base Body Styles */
body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/* Theme Toggle Button Styling */
#themeToggle {
    transition: var(--transition-smooth);
    border-color: var(--border-color) !important;
    background-color: var(--bg-panel);
    color: var(--text-secondary);
}

#themeToggle:hover {
    background-color: var(--accent-light);
    color: var(--accent-color);
    border-color: var(--accent-color) !important;
    transform: scale(1.08);
}

#themeToggle i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#themeToggle:active i {
    transform: scale(0.8) rotate(180deg);
}

/* Sidebar Custom Integration */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-panel);
    border-right: 1px solid var(--border-color);
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: var(--transition-smooth);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.brand-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--accent-color), #3b82f6);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-family: var(--font-display);
    font-size: 1.25rem;
    box-shadow: 0 4px 8px rgba(13, 148, 136, 0.25);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
    padding-left: 0;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.nav-item.active a, .nav-item a:hover {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

.nav-item.active i, .nav-item a:hover i {
    color: var(--accent-color);
}

.nav-item i {
    font-size: 1.15rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.school-profile-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    background-color: var(--bg-page);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.school-logo-badge {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bg-panel);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.school-info-badge {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.school-name-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.school-email-badge {
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Main Content with sidebar offset */
.main-layout {
    margin-left: var(--sidebar-width);
    padding: 2rem 2.5rem;
    min-height: 100vh;
    max-width: calc(100vw - var(--sidebar-width));
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .main-layout {
        margin-left: 0;
        max-width: 100%;
        padding: 1.5rem;
    }
}

/* Floating organic glow blobs in background */
.glowing-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

[data-theme="dark"] .glowing-blob {
    opacity: 0.16;
}

.blob-teal {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #0d9488 0%, rgba(13, 148, 136, 0) 70%);
    top: 5%;
    left: 10%;
    animation: floatBlob 22s infinite alternate ease-in-out;
}

.blob-indigo {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #4f46e5 0%, rgba(79, 70, 229, 0) 70%);
    bottom: 8%;
    right: 5%;
    animation: floatBlob 28s infinite alternate-reverse ease-in-out;
}

.blob-rose {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #f43f5e 0%, rgba(244, 63, 94, 0) 70%);
    top: 45%;
    left: 40%;
    animation: floatBlob 19s infinite alternate ease-in-out;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, -60px) scale(1.18) rotate(120deg);
    }
    100% {
        transform: translate(-50px, 70px) scale(0.88) rotate(240deg);
    }
}

/* Glassmorphism custom panel cards */
.custom-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.custom-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Dynamic Stat Cards - Vibrant Gradients */
.stat-card {
    border: none !important;
    color: white !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card-total {
    background: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%) !important;
}

.stat-card-active {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
}

.stat-card-classes {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%) !important;
}

.stat-card-scans {
    background: linear-gradient(135deg, #ea580c 0%, #e11d48 100%) !important;
}

/* Glassy overlay effect on metric cards for modern shine */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Ensure text elements inside stat cards stay clean, bright, and legible */
.stat-card .text-muted {
    color: rgba(255, 255, 255, 0.82) !important;
}

.stat-card h2 {
    color: #ffffff !important;
}

.stat-card .fs-2 {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Glowing shadows matching card gradients on hover */
.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
}

.stat-card-total:hover {
    box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.35), 0 10px 20px -10px rgba(6, 182, 212, 0.35);
}

.stat-card-active:hover {
    box-shadow: 0 15px 30px -5px rgba(5, 150, 105, 0.35), 0 10px 20px -10px rgba(16, 185, 129, 0.35);
}

.stat-card-classes:hover {
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.35), 0 10px 20px -10px rgba(79, 70, 229, 0.35);
}

.stat-card-scans:hover {
    box-shadow: 0 15px 30px -5px rgba(234, 88, 12, 0.35), 0 10px 20px -10px rgba(225, 29, 72, 0.35);
}

/* Card Icon Hover Micro-animations */
@keyframes pulseIcon {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.25) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-8deg) scale(1.1); }
    75% { transform: rotate(8deg) scale(1.1); }
}

@keyframes spinQr {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.25); }
    100% { transform: rotate(360deg) scale(1); }
}

.stat-card-total:hover .fs-2 i {
    animation: pulseIcon 1.2s infinite ease-in-out;
}

.stat-card-active:hover .fs-2 i {
    animation: wiggle 1s infinite ease-in-out;
}

.stat-card-classes:hover .fs-2 i {
    animation: wiggle 1s infinite ease-in-out;
}

.stat-card-scans:hover .fs-2 i {
    animation: spinQr 1.5s infinite linear;
}

/* Workflow Actions Tiles */
.workflow-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none !important;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.workflow-tile i {
    color: var(--accent-color);
    transition: var(--transition-smooth);
}

.workflow-tile:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-panel), var(--accent-light));
    transform: translateY(-4px);
    box-shadow: 0 8px 16px -4px rgba(13, 148, 136, 0.15), var(--shadow-md);
    color: var(--accent-color) !important;
}

.workflow-tile:hover i {
    transform: scale(1.25) translateY(-3px);
}

/* System Activity Timeline Audit */
.timeline-container {
    position: relative;
    padding-left: 0.5rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    bottom: 8px;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.25rem;
    transition: var(--transition-smooth);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-panel);
    border: 3px solid var(--accent-color);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover::before {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

.timeline-item .action-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-item .tag-verification {
    background-color: var(--accent-light);
    color: var(--accent-color);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

.timeline-item .tag-default {
    background-color: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

/* ID Card Styles - DOUBLE SIDED */
.card-preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    background-color: var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--text-muted);
}

/* Base CR80 Specs */
.id-card {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06), 0 3px 6px rgba(0,0,0,0.04);
}

/* Portrait Dimensions */
.id-card.portrait {
    width: 260px;
    height: 400px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

/* Landscape Dimensions */
.id-card.landscape {
    width: 400px;
    height: 260px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

/* Front Side Specifics */
.id-card .card-header-bg {
    height: 85px;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    position: relative;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 5;
    gap: 10px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.card-school-logo {
    height: 34px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
    display: block;
}

.header-text-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.card-school-name {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
}

.card-school-motto {
    font-size: 0.5rem;
    font-style: italic;
    opacity: 0.9;
    margin-top: 1px;
    line-height: 1.1;
}

.id-card .card-body {
    flex-grow: 1;
    display: flex;
    position: relative;
}

.id-card.portrait .card-body {
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.card-photo-container-premium {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-top: -45px; /* Pulls it up to overlap the header */
    margin-bottom: 6px;
    overflow: hidden;
    background: white;
    z-index: 10;
    flex-shrink: 0;
}

.card-student-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-student-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

.card-student-badge {
    display: inline-block;
    padding: 3px 16px;
    background-color: var(--accent-color);
    color: white !important;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
    margin-bottom: 8px;
}

.card-info-row {
    border-bottom: 1px solid #f1f5f9;
}

.card-info-row:last-child {
    border-bottom: none;
}

.card-info-label {
    width: 75px;
    color: #64748b;
    font-weight: 700;
    padding: 3px 0;
    text-align: left;
}

.card-info-colon {
    width: 10px;
    color: #64748b;
    font-weight: 700;
    padding: 3px 0;
    text-align: center;
}

.card-info-value {
    color: #1e293b;
    font-weight: 600;
    padding: 3px 0;
    text-align: left;
}

.card-footer-row-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
    padding: 4px 0 10px 0;
    background: transparent;
}

.card-qr-container-premium {
    width: 46px;
    height: 46px;
    border: 1px solid #cbd5e1;
    padding: 2px;
    background: white;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card-qr-code {
    width: 100%;
    height: 100%;
}

.signature-container-premium {
    text-align: center;
    width: 75px;
}

.signature-img-premium {
    height: 18px;
    max-width: 70px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1px auto;
}

.signature-label-premium {
    font-size: 0.45rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    display: block;
    border-top: 1px solid #cbd5e1;
    padding-top: 1px;
}

/* Back Side Specifics */
.id-card-back {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    font-size: 0.68rem;
    line-height: 1.4;
    background-color: #f8fafc;
}

.id-card-back .back-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 0.4rem;
    margin-bottom: 0.75rem;
}

.back-info-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.back-info-item h6 {
    font-size: 0.625rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.back-info-item p {
    margin-bottom: 0;
    font-weight: 600;
    color: #1e293b;
}

.back-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #cbd5e1;
    padding-top: 0.5rem;
    margin-top: auto;
}

.signature-container {
    text-align: center;
    width: 80px;
}

.signature-img {
    height: 20px;
    max-width: 75px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.signature-label {
    font-size: 0.45rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    display: block;
}

/* Print Layout Specifications (A4 aligned sheets) */
@media print {
    body {
        background-color: white !important;
    }
    .no-print, header, aside, .sidebar, .btn, .navbar, .selection-panel {
        display: none !important;
    }
    .main-layout {
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    .print-sheet {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Fits 3 cards side-by-side for single-sided */
        gap: 10mm;
        padding: 10mm;
        background-color: white !important;
    }
    .id-card {
        box-shadow: none !important;
        border: 1px solid #000000 !important;
        page-break-inside: avoid;
    }
}

/* Single-Sided Card Layout Styles */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 8px;
}

.card-qr-container-inline {
    width: 60px;
    height: 60px;
    border: 1px solid #e2e8f0;
    padding: 2px;
    background: white;
    border-radius: 4px;
    flex-shrink: 0;
}

.card-photo-container-inline {
    width: 70px;
    height: 80px;
    border-radius: 6px;
    border: 2px solid var(--accent-color);
    overflow: hidden;
    flex-shrink: 0;
}

.card-student-identity {
    text-align: center;
    margin-bottom: 6px;
    width: 100%;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
    border-top: 1px solid #cbd5e1;
    padding-top: 4px;
}

.card-return-text {
    font-size: 0.55rem;
    color: #64748b;
    text-align: left;
    line-height: 1.2;
}

.signature-container-inline {
    text-align: center;
    width: 70px;
}

.signature-img-inline {
    height: 18px;
    max-width: 65px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.signature-label-inline {
    font-size: 0.45rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    display: block;
}

/* Adjustments for landscape layout in single-sided */
.id-card.landscape .card-top-row {
    margin-bottom: 4px;
}

.id-card.landscape .card-photo-container-inline {
    width: 60px;
    height: 70px;
}

.id-card.landscape .card-qr-container-inline {
    width: 50px;
    height: 50px;
}

.id-card.landscape .card-student-identity {
    text-align: left;
    margin-bottom: 4px;
}

.id-card.landscape .card-student-name {
    margin-bottom: 0;
}

/* Premium ID Card CSS Enhancements */
.id-card {
    background: radial-gradient(circle at 100% 0%, var(--accent-light) 0%, #ffffff 80%) !important;
    border: 1px solid var(--border-color) !important;
}

.id-card .card-header-bg {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover)) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.card-student-badge {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--accent-light);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 9999px;
    margin-bottom: 8px;
}

.id-card.landscape .card-student-badge {
    margin-bottom: 4px;
}

.card-info-item {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.card-info-item:last-child {
    border-bottom: none;
}

.card-info-label-icon {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.75rem;
    width: 16px;
    text-align: center;
}

.card-photo-container-inline {
    border: 2px solid var(--accent-color) !important;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2px;
}

.card-qr-container-inline {
    border: 1px solid var(--border-color) !important;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    padding: 3px;
    border-radius: 6px !important;
}

/* Landscape Premium Layout Adjustments */
.id-card.landscape .card-header-bg {
    height: 60px;
    padding: 0.5rem 1.25rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.id-card.landscape .card-body {
    flex-direction: row;
    align-items: stretch;
    padding: 0.75rem 1.25rem;
}

.card-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 85px;
    flex-shrink: 0;
    border-right: 1px dashed #e2e8f0;
    padding-right: 12px;
    margin-right: 12px;
}

.card-right-col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.id-card.landscape .card-photo-container-premium {
    width: 70px;
    height: 70px;
    margin-top: 0;
    margin-bottom: 6px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.id-card.landscape .card-student-name {
    text-align: left;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.id-card.landscape .card-student-badge {
    margin-bottom: 6px;
    font-size: 0.55rem;
    padding: 2px 10px;
}

.id-card.landscape .card-info-table {
    font-size: 0.625rem;
    margin-bottom: 0;
}

.id-card.landscape .card-info-label {
    width: 65px;
    padding: 1px 0;
}

.id-card.landscape .card-info-colon {
    width: 8px;
    padding: 1px 0;
}

.id-card.landscape .card-info-value {
    padding: 1px 0;
}

.id-card.landscape .card-footer-row-premium {
    padding: 0;
    margin-top: auto;
}

/* Style 1: Kendriya Vidyalaya style */
.id-card.style-kendriya {
    background: linear-gradient(135deg, #ffffff 75%, var(--accent-light) 100%) !important;
}

/* Portrait Specifics */
.id-card.portrait.style-kendriya .card-header-bg {
    height: 95px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    padding: 12px 10px 0 10px !important;
}

.id-card.portrait.style-kendriya .card-school-name {
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.id-card.portrait.style-kendriya .card-school-motto {
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
    opacity: 0.95 !important;
}

.id-card.portrait.style-kendriya .card-photo-container-premium {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3.5px solid var(--accent-color) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12) !important;
    margin-top: -40px !important;
    margin-bottom: 6px !important;
    overflow: hidden !important;
    background: white !important;
    z-index: 10 !important;
}

.id-card.portrait.style-kendriya .card-student-name {
    color: var(--accent-color) !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    margin-bottom: 2px !important;
    text-transform: uppercase !important;
}

.id-card.portrait.style-kendriya .card-student-badge {
    background-color: var(--accent-color) !important;
    color: white !important;
    border-radius: 9999px !important;
    padding: 2px 12px !important;
    font-size: 0.6rem !important;
    margin-bottom: 6px !important;
}

.id-card.portrait.style-kendriya .card-info-table {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
}

.id-card.portrait.style-kendriya .card-info-table td {
    padding: 2.5px 0 !important;
}

.id-card.portrait.style-kendriya .card-footer-row-premium {
    padding-bottom: 8px !important;
}

/* Landscape Specifics */
.id-card.landscape.style-kendriya .card-header-bg {
    height: 55px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    padding: 4px 10px !important;
}

.id-card.landscape.style-kendriya .card-school-name {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 0 !important;
}

.id-card.landscape.style-kendriya .card-school-motto {
    font-size: 0.45rem !important;
    line-height: 1.1 !important;
}

.id-card.landscape.style-kendriya .card-photo-container-premium {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    border: 3px solid var(--accent-color) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    overflow: hidden !important;
    background: white !important;
}

.id-card.landscape.style-kendriya .card-student-name {
    color: var(--accent-color) !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    text-align: left !important;
}

.id-card.landscape.style-kendriya .card-student-badge {
    background-color: var(--accent-color) !important;
    color: white !important;
    border-radius: 9999px !important;
    padding: 2px 10px !important;
    font-size: 0.55rem !important;
    margin-bottom: 6px !important;
    box-shadow: none !important;
    display: inline-block !important;
}

/* Style 2: Radiant School style */
.id-card.style-radiant {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
}
.id-card.style-radiant .card-header-bg {
    height: 55px;
    display: flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 0;
    border-bottom: 3px solid var(--accent-color);
    gap: 10px;
}
.id-card.style-radiant .radiant-sub-header {
    background: var(--secondary-color, #f97316) !important;
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    text-align: center;
    padding: 3px 0;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 10px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.id-card.style-radiant .card-photo-container-premium {
    width: 80px;
    height: 85px;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    margin-top: 0;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.id-card.style-radiant .card-student-badge {
    display: none;
}
.id-card.style-radiant .card-info-table .card-info-label {
    color: #475569;
}
.id-card.style-radiant .card-info-table .card-info-value {
    color: #000000;
    font-weight: 700;
}
.id-card.style-radiant .card-footer-row-premium {
    background: var(--secondary-color, #f97316) !important;
    padding: 10px 12px 4px 12px;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: -10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.id-card.style-radiant .card-footer-row-premium .card-qr-container-premium {
    position: relative;
    top: -12px;
}
.id-card.style-radiant .card-footer-row-premium .signature-label-premium {
    color: white !important;
    border-top: 1px solid white !important;
}

/* Style 3: GHSS Padre style */
.id-card.style-ghss {
    background: #ffffff !important;
    border: 1px solid var(--accent-color, #0284c7) !important;
}
.id-card.style-ghss::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(180deg, var(--secondary-color, #0284c7), var(--accent-color, #0ea5e9)) !important;
    border-top-left-radius: 11px;
    border-bottom-left-radius: 11px;
    z-index: 2;
}
.id-card.style-ghss .card-header-bg {
    height: 70px;
    background: transparent !important;
    color: var(--accent-color, #0284c7) !important;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 18px;
    border-bottom: 1px solid #e2e8f0;
    gap: 10px;
}
.id-card.style-ghss .card-school-logo {
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.id-card.style-ghss .card-school-name {
    color: var(--accent-color, #0284c7) !important;
    font-weight: 900;
}
.id-card.style-ghss .card-photo-container-premium {
    width: 80px;
    height: 85px;
    border-radius: 4px;
    border: 2px solid #000000;
    margin-top: 8px;
    margin-bottom: 6px;
}
.id-card.style-ghss .card-student-name {
    color: var(--accent-color, #0284c7) !important;
    font-weight: 800;
}
.id-card.style-ghss .card-student-badge {
    display: none;
}
.id-card.style-ghss .card-info-table .card-info-label {
    color: #000000;
    font-weight: 700;
}
.id-card.style-ghss .card-info-table .card-info-value {
    color: #000000;
    font-weight: 700;
}

/* Landscape specific style overrides */
.id-card.landscape.style-radiant .radiant-sub-header {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    margin-bottom: 6px;
    font-size: 0.58rem;
    padding: 2px 0;
}
.id-card.landscape.style-radiant .card-photo-container-premium {
    width: 70px;
    height: 70px;
    border-radius: 8px;
}
.id-card.landscape.style-radiant .card-footer-row-premium {
    background: var(--secondary-color, #f97316) !important;
    padding: 6px 12px;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    margin-bottom: -0.75rem;
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.id-card.landscape.style-ghss::before {
    border-top-left-radius: 11px;
    border-bottom-left-radius: 11px;
}
.id-card.landscape.style-ghss .card-photo-container-premium {
    width: 70px;
    height: 70px;
    border: 2px solid #000000;
}

/* Style 4: Radiant Classic V2 style */
.id-card.style-radiant_v2 {
    background: #ffffff !important;
    border: 1px solid var(--border-color) !important;
}

/* Portrait Specifics */
.id-card.portrait.style-radiant_v2 .header-top {
    background-color: var(--accent-color, #1a3697);
    color: white;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-bottom: 2px solid var(--secondary-color, #ff8c00);
    width: 100%;
    height: 48px;
}

.id-card.portrait.style-radiant_v2 .header-top .logo {
    width: 32px;
    height: 32px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--accent-color, #1a3697);
    border: 1.5px solid var(--secondary-color, #ff8c00);
    font-size: 15px;
    flex-shrink: 0;
}

.id-card.portrait.style-radiant_v2 .header-top .school-info h1 {
    font-size: 10.5px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    color: white;
}

.id-card.portrait.style-radiant_v2 .header-top .school-info p {
    font-size: 7.5px;
    font-style: italic;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.1;
}

.id-card.portrait.style-radiant_v2 .header-curve {
    background-color: var(--secondary-color, #f28d35);
    color: white;
    text-align: center;
    padding: 3px 0;
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0.5px;
    border-bottom-left-radius: 50% 15px;
    border-bottom-right-radius: 50% 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    width: 100%;
}

.id-card.portrait.style-radiant_v2 .profile-section {
    margin: 10px auto 4px auto;
    text-align: center;
}

.id-card.portrait.style-radiant_v2 .profile-img {
    width: 80px;
    height: 95px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--accent-color, #1a3697);
    background-color: #87ceeb;
}

.id-card.portrait.style-radiant_v2 .details-section {
    padding: 0 16px;
    flex-grow: 1;
    width: 100%;
}

.id-card.portrait.style-radiant_v2 .info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 4px;
}

.id-card.portrait.style-radiant_v2 .info-table td {
    padding: 2px 0;
    vertical-align: top;
    font-size: 9px;
    color: #000000;
    line-height: 1.2;
}

.id-card.portrait.style-radiant_v2 .info-table td.label {
    font-weight: 700;
    width: 70px;
}

.id-card.portrait.style-radiant_v2 .info-table td.colon {
    width: 10px;
    font-weight: bold;
}

.id-card.portrait.style-radiant_v2 .info-table td.value {
    font-weight: 600;
}

.id-card.portrait.style-radiant_v2 .address-box {
    font-size: 8px;
    color: #000000;
    line-height: 1.3;
}

.id-card.portrait.style-radiant_v2 .footer-section {
    position: relative;
    height: 52px;
    background: linear-gradient(to top, var(--secondary-color, #f28d35) 70%, transparent 30%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 16px 6px 16px;
    width: 100%;
    margin-top: auto;
}

.id-card.portrait.style-radiant_v2 .footer-section .card-qr-container-premium {
    width: 32px;
    height: 32px;
    padding: 1px;
    border-radius: 4px;
    margin-bottom: 2px;
    background: white;
    border: 1px solid #cbd5e1;
}

.id-card.portrait.style-radiant_v2 .footer-section .signature-area {
    text-align: center;
    margin-bottom: 0px;
}

.id-card.portrait.style-radiant_v2 .footer-section .signature-img-premium {
    height: 16px;
    max-width: 65px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.id-card.portrait.style-radiant_v2 .footer-section .signature-label-premium {
    font-size: 7px;
    font-weight: bold;
    color: #000;
    border-top: 1.2px solid #000;
    padding-top: 1px;
    display: block;
    text-transform: uppercase;
}

/* Landscape Specifics for Radiant V2 */
.id-card.landscape.style-radiant_v2 .header-top {
    background-color: var(--accent-color, #1a3697);
    color: white;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border-bottom: 2px solid var(--secondary-color, #ff8c00);
    width: 100%;
    height: 40px;
}

.id-card.landscape.style-radiant_v2 .header-top .logo {
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--accent-color, #1a3697);
    border: 1.5px solid var(--secondary-color, #ff8c00);
    font-size: 13px;
    flex-shrink: 0;
}

.id-card.landscape.style-radiant_v2 .header-top .school-info {
    text-align: left;
}

.id-card.landscape.style-radiant_v2 .header-top .school-info h1 {
    font-size: 10px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    color: white;
}

.id-card.landscape.style-radiant_v2 .header-top .school-info p {
    font-size: 7px;
    font-style: italic;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.1;
    text-align: left;
}

.id-card.landscape.style-radiant_v2 .header-curve {
    background-color: var(--secondary-color, #f28d35);
    color: white;
    text-align: center;
    padding: 2px 0;
    font-weight: 600;
    font-size: 8px;
    letter-spacing: 0.5px;
    border-bottom-left-radius: 50% 8px;
    border-bottom-right-radius: 50% 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    width: 100%;
}

.id-card.landscape.style-radiant_v2 .card-body {
    display: flex;
    flex-direction: row;
    padding: 8px 12px;
    flex-grow: 1;
    width: 100%;
}

.id-card.landscape.style-radiant_v2 .card-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 75px;
    flex-shrink: 0;
    border-right: 1px dashed #e2e8f0;
    padding-right: 8px;
    margin-right: 8px;
}

.id-card.landscape.style-radiant_v2 .profile-img {
    width: 65px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--accent-color, #1a3697);
    background-color: #87ceeb;
    margin-bottom: 4px;
}

.id-card.landscape.style-radiant_v2 .card-qr-container-premium {
    width: 30px;
    height: 30px;
    padding: 1px;
    border-radius: 4px;
    background: white;
    border: 1px solid #cbd5e1;
}

.id-card.landscape.style-radiant_v2 .card-right-col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    height: 100%;
}

.id-card.landscape.style-radiant_v2 .info-table {
    width: 100%;
    border-collapse: collapse;
}

.id-card.landscape.style-radiant_v2 .info-table td {
    padding: 1px 0;
    vertical-align: top;
    font-size: 8.5px;
    color: #000000;
}

.id-card.landscape.style-radiant_v2 .info-table td.label {
    font-weight: 700;
    width: 65px;
}

.id-card.landscape.style-radiant_v2 .info-table td.colon {
    width: 8px;
    font-weight: bold;
}

.id-card.landscape.style-radiant_v2 .info-table td.value {
    font-weight: 600;
}

.id-card.landscape.style-radiant_v2 .address-box {
    font-size: 7.5px;
    color: #000000;
    line-height: 1.2;
    margin-top: 2px;
}

.id-card.landscape.style-radiant_v2 .signature-row {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-top: auto;
    width: 100%;
}

.id-card.landscape.style-radiant_v2 .signature-area {
    text-align: center;
}

.id-card.landscape.style-radiant_v2 .signature-img-premium {
    height: 14px;
    max-width: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.id-card.landscape.style-radiant_v2 .signature-label-premium {
    font-size: 6.5px;
    font-weight: bold;
    color: #000;
    border-top: 1px solid #000;
    padding-top: 1px;
    display: block;
    text-transform: uppercase;
}

/* Style 5: Delhi International Public School style (Bilingual & Curved Waves) */
.id-card.style-delhi_int {
    background: #ffffff !important;
    border: 1px solid var(--border-color, #cbd5e1) !important;
    border-top: none !important; /* No top border line since header covers it */
}

/* Portrait Specifics */
.id-card.portrait.style-delhi_int .delhi-header-container {
    position: relative;
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    overflow: visible;
    flex-shrink: 0;
}

.id-card.portrait.style-delhi_int .delhi-orange-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 96px;
    background-color: var(--secondary-color, #f27a1b);
    border-bottom-left-radius: 60% 25px;
    border-bottom-right-radius: 12px;
    z-index: 1;
}

.id-card.portrait.style-delhi_int .delhi-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;
    background-color: var(--accent-color, #0a477b);
    border-bottom-left-radius: 65% 26px;
    border-bottom-right-radius: 10% 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 6px 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
    gap: 8px;
}

.id-card.portrait.style-delhi_int .delhi-logo {
    width: 38px;
    height: 38px;
    background-color: white;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e8f0;
    padding: 2px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.id-card.portrait.style-delhi_int .delhi-school-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.id-card.portrait.style-delhi_int .delhi-school-info h1 {
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    color: white;
}

.id-card.portrait.style-delhi_int .delhi-school-info p {
    font-size: 7.5px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: white;
    opacity: 0.95;
}

.id-card.portrait.style-delhi_int .profile-section {
    margin: 8px auto 4px auto;
    text-align: center;
    z-index: 3;
    position: relative;
}

.id-card.portrait.style-delhi_int .profile-img {
    width: 76px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--accent-color, #0a477b);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.id-card.portrait.style-delhi_int .student-identity {
    text-align: center;
    margin-bottom: 6px;
    width: 100%;
}

.id-card.portrait.style-delhi_int .student-name {
    font-family: var(--font-sans);
    font-size: 11.5px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.id-card.portrait.style-delhi_int .student-adm {
    font-family: var(--font-sans);
    font-size: 9.5px;
    font-weight: 700;
    color: #000000;
}

.id-card.portrait.style-delhi_int .delhi-qr-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    width: 100%;
}

.id-card.portrait.style-delhi_int .delhi-qr-label {
    display: flex;
    align-items: center;
    gap: 3px;
    line-height: 1.1;
}

.id-card.portrait.style-delhi_int .delhi-qr-arrow {
    font-size: 10px;
    font-weight: 900;
}

.id-card.portrait.style-delhi_int .delhi-qr-text {
    font-size: 7.5px;
    font-weight: 800;
    color: #000000;
    text-align: left;
}

.id-card.portrait.style-delhi_int .card-qr-container-premium {
    width: 32px;
    height: 32px;
    padding: 1px;
    border-radius: 4px;
    background: white;
    border: 1px solid #cbd5e1;
}

.id-card.portrait.style-delhi_int .details-section {
    padding: 0 16px;
    flex-grow: 1;
    width: 100%;
}

.id-card.portrait.style-delhi_int .info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2px;
}

.id-card.portrait.style-delhi_int .info-table td {
    padding: 1.5px 0;
    vertical-align: top;
    font-size: 9px;
    color: #000000;
    line-height: 1.2;
}

.id-card.portrait.style-delhi_int .info-table td.label {
    font-weight: 700;
    width: 70px;
}

.id-card.portrait.style-delhi_int .info-table td.colon {
    width: 8px;
    font-weight: bold;
}

.id-card.portrait.style-delhi_int .info-table td.value {
    font-weight: 600;
}

.id-card.portrait.style-delhi_int .signature-blood-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 2px 16px 4px 16px;
    margin-top: auto;
}

.id-card.portrait.style-delhi_int .blood-box-delhi {
    font-size: 8px;
    font-weight: 800;
    color: #000000;
    line-height: 1.2;
}

.id-card.portrait.style-delhi_int .signature-area-delhi {
    text-align: center;
}

.id-card.portrait.style-delhi_int .signature-img-delhi {
    height: 14px;
    max-width: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.id-card.portrait.style-delhi_int .signature-label-delhi {
    font-size: 6.5px;
    font-weight: bold;
    color: #000000;
    border-top: 1px solid #000000;
    padding-top: 1px;
    display: block;
    text-transform: uppercase;
}

.id-card.portrait.style-delhi_int .delhi-footer-banner {
    height: 18px;
    width: 100%;
    background-color: var(--accent-color, #0a477b);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: auto;
}


/* Landscape Specifics */
.id-card.landscape.style-delhi_int .delhi-header-container {
    position: relative;
    width: 100%;
    height: 52px;
    background-color: #ffffff;
    overflow: visible;
    flex-shrink: 0;
}

.id-card.landscape.style-delhi_int .delhi-orange-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background-color: var(--secondary-color, #f27a1b);
    border-bottom-left-radius: 40% 12px;
    border-bottom-right-radius: 8px;
    z-index: 1;
}

.id-card.landscape.style-delhi_int .delhi-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    background-color: var(--accent-color, #0a477b);
    border-bottom-left-radius: 45% 12px;
    border-bottom-right-radius: 8% 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 3px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    gap: 8px;
}

.id-card.landscape.style-delhi_int .delhi-logo {
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e8f0;
    padding: 1px;
    flex-shrink: 0;
}

.id-card.landscape.style-delhi_int .delhi-school-info h1 {
    font-size: 9.5px;
    line-height: 1.1;
}

.id-card.landscape.style-delhi_int .delhi-school-info p {
    font-size: 6.8px;
    line-height: 1.0;
}

.id-card.landscape.style-delhi_int .card-body {
    display: flex;
    flex-direction: row;
    padding: 8px 12px 2px 12px;
    flex-grow: 1;
    width: 100%;
}

.id-card.landscape.style-delhi_int .card-left-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 75px;
    flex-shrink: 0;
    border-right: 1px dashed #cbd5e1;
    padding-right: 8px;
    margin-right: 8px;
}

.id-card.landscape.style-delhi_int .profile-img {
    width: 60px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--accent-color, #0a477b);
    background-color: #f1f5f9;
    margin-bottom: 4px;
}

.id-card.landscape.style-delhi_int .delhi-qr-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin-top: auto;
}

.id-card.landscape.style-delhi_int .card-qr-container-premium {
    width: 26px;
    height: 26px;
    padding: 1px;
    border-radius: 3px;
    background: white;
    border: 1px solid #cbd5e1;
}

.id-card.landscape.style-delhi_int .delhi-qr-arrow {
    font-size: 8px;
}

.id-card.landscape.style-delhi_int .delhi-qr-text {
    font-size: 6.5px;
    font-weight: 800;
}

.id-card.landscape.style-delhi_int .card-right-col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.id-card.landscape.style-delhi_int .student-identity {
    text-align: left;
    margin-bottom: 3px;
}

.id-card.landscape.style-delhi_int .student-name {
    font-size: 10.5px;
    margin-bottom: 0;
}

.id-card.landscape.style-delhi_int .student-adm {
    font-size: 8.5px;
}

.id-card.landscape.style-delhi_int .info-table td {
    padding: 1px 0;
    font-size: 8px;
}

.id-card.landscape.style-delhi_int .info-table td.label {
    width: 60px;
}

.id-card.landscape.style-delhi_int .signature-blood-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    padding: 0;
    margin-top: auto;
}

.id-card.landscape.style-delhi_int .delhi-footer-banner {
    height: 14px;
    width: 100%;
    background-color: var(--accent-color, #0a477b);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 6.5px;
    font-weight: 700;
    margin-top: auto;
}

