:root {
    --maroon: #7f1d2d;
    --maroon-dark: #5f1220;
    --maroon-soft: #f8e8ec;
    --ink: #23272f;
    --muted: #69707d;
    --line: #e6e8ee;
    --surface: #ffffff;
    --soft-gray: #f5f6f8;
}

* {
    letter-spacing: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--soft-gray);
}

.student-theme-page {
    min-height: 100vh;
    background:
        linear-gradient(180deg, rgba(239, 255, 244, 0.95), rgba(232, 248, 238, 0.95)),
        url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=1600&q=80") center/cover fixed;
}

.student-navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(42, 70, 99, 0.12);
    backdrop-filter: blur(12px);
}

.student-navbar .navbar-brand {
    color: #25364b;
}

.student-navbar .navbar-brand:hover {
    color: #25364b;
}

.student-navbar small {
    color: #637083;
    font-size: 0.75rem;
}

.student-brand-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #2fbf71, #137a3f);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(19, 122, 63, 0.25);
}

.btn-student-outline {
    color: #137a3f;
    border: 1px solid rgba(19, 122, 63, 0.35);
    background: #fff;
}

.btn-student-outline:hover {
    color: #fff;
    background: #137a3f;
}

.student-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 75px);
}

.student-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 14%, rgba(164, 214, 94, 0.34), transparent 24%),
        radial-gradient(circle at 88% 20%, rgba(47, 191, 113, 0.24), transparent 24%),
        radial-gradient(circle at 70% 88%, rgba(11, 116, 66, 0.18), transparent 26%);
    pointer-events: none;
}

.student-hero > .container {
    position: relative;
    z-index: 1;
}

.student-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b7442;
    background: #e7f8eb;
    border: 1px solid rgba(47, 191, 113, 0.35);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.student-title {
    max-width: 620px;
    color: #25364b;
    font-size: clamp(2.15rem, 5vw, 4.5rem);
    line-height: 1.03;
    font-weight: 900;
}

.student-subtitle {
    max-width: 580px;
    color: #4d5c70;
    font-size: 1.1rem;
    line-height: 1.65;
}

.student-mini-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(37, 54, 75, 0.12);
    box-shadow: 0 18px 42px rgba(37, 54, 75, 0.12);
}

.student-mini-card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #137a3f;
    border-radius: 8px;
}

.student-mini-card span {
    display: block;
    color: #647083;
    font-size: 0.78rem;
}

.student-mini-card strong {
    display: block;
    color: #25364b;
}

.student-login-card {
    position: relative;
    padding: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 26px 70px rgba(37, 54, 75, 0.18);
}

.student-login-card::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px dashed rgba(47, 191, 113, 0.35);
    border-radius: 8px;
    pointer-events: none;
}

.student-login-card > * {
    position: relative;
    z-index: 1;
}

.student-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.student-avatar {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: linear-gradient(135deg, #2fbf71, #137a3f);
    border-radius: 8px;
    font-size: 1.75rem;
    box-shadow: 0 14px 32px rgba(19, 122, 63, 0.24);
}

.student-card-top h2 {
    margin: 0 0 4px;
    color: #25364b;
    font-size: 1.55rem;
    font-weight: 900;
}

.student-card-top p {
    margin: 0;
    color: #647083;
}

.student-search-form .form-label {
    color: #25364b;
    font-weight: 800;
}

.student-input-wrap {
    position: relative;
}

.student-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    color: #137a3f;
    transform: translateY(-50%);
}

.student-input-wrap .form-control {
    min-height: 58px;
    padding-left: 46px;
    border-radius: 8px;
    border: 2px solid #e7edf5;
    color: #25364b;
    font-size: 1.05rem;
    font-weight: 700;
    background: #fbfdff;
}

.student-input-wrap .form-control:focus {
    border-color: #2fbf71;
    box-shadow: 0 0 0 0.22rem rgba(47, 191, 113, 0.18);
}

.btn-student-search {
    min-height: 54px;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-weight: 900;
    background: linear-gradient(135deg, #137a3f, #2fbf71);
    box-shadow: 0 16px 34px rgba(19, 122, 63, 0.28);
}

.btn-student-search:hover {
    color: #fff;
    filter: brightness(0.96);
}

.student-help {
    color: #687586;
    font-size: 0.9rem;
}

.student-spinner {
    color: #137a3f;
}

.student-countdown {
    margin-bottom: 22px;
    padding: 18px;
    color: #25364b;
    background: #eaf9ee;
    border: 1px solid rgba(47, 191, 113, 0.35);
    border-radius: 8px;
}

.student-countdown-open {
    background: #e6f7ed;
    border-color: rgba(19, 122, 63, 0.28);
}

.student-countdown-open .countdown-kids-grid div {
    background: #f8fffb;
}

.countdown-kids-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.countdown-kids-grid div {
    padding: 12px 8px;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(37, 54, 75, 0.09);
}

.countdown-kids-grid strong {
    display: block;
    color: #137a3f;
    font-size: 1.45rem;
    line-height: 1;
}

.countdown-kids-grid span {
    display: block;
    margin-top: 5px;
    color: #647083;
    font-size: 0.76rem;
}

.student-info-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.student-info-row div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    color: #25364b;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(37, 54, 75, 0.1);
    border-radius: 8px;
}

.student-info-row i {
    color: #137a3f;
}

.student-footer {
    padding: 20px 0;
    color: #4d5c70;
    background: rgba(255, 255, 255, 0.88);
    border-top: 1px solid rgba(37, 54, 75, 0.1);
}

.student-footer strong,
.student-footer span {
    display: block;
}

.certificate-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(11, 55, 35, 0.66);
    backdrop-filter: blur(8px);
    animation: certificateFadeIn 0.24s ease both;
}

.graduation-certificate {
    position: relative;
    width: min(100%, 860px);
    padding: 18px;
    text-align: center;
    color: #153d28;
    border-radius: 8px;
    background:
        linear-gradient(135deg, #f9f4df, #fffdf2 42%, #eefaf1),
        repeating-linear-gradient(45deg, rgba(181, 141, 54, 0.08) 0 10px, transparent 10px 20px);
    border: 3px solid #b58d36;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    animation: certificatePop 0.34s cubic-bezier(.2, 1.08, .32, 1.12) both;
}

.graduation-certificate::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 3px solid #137a3f;
    border-radius: 8px;
    pointer-events: none;
}

.graduation-certificate::after {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(181, 141, 54, 0.72);
    border-radius: 8px;
    pointer-events: none;
}

.graduation-certificate > * {
    position: relative;
    z-index: 1;
}

.certificate-inner {
    position: relative;
    z-index: 1;
    padding: 34px 44px 32px;
}

.certificate-corners span {
    position: absolute;
    z-index: 1;
    width: 72px;
    height: 72px;
    border-color: #b58d36;
    pointer-events: none;
}

.certificate-corners span:nth-child(1) {
    top: 28px;
    left: 28px;
    border-top: 4px solid;
    border-left: 4px solid;
}

.certificate-corners span:nth-child(2) {
    top: 28px;
    right: 28px;
    border-top: 4px solid;
    border-right: 4px solid;
}

.certificate-corners span:nth-child(3) {
    bottom: 28px;
    left: 28px;
    border-bottom: 4px solid;
    border-left: 4px solid;
}

.certificate-corners span:nth-child(4) {
    right: 28px;
    bottom: 28px;
    border-right: 4px solid;
    border-bottom: 4px solid;
}

.certificate-close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    color: #137a3f;
    background: #fff;
    border: 1px solid rgba(19, 122, 63, 0.24);
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
}

.certificate-ribbon {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    color: #fff8dc;
    background:
        radial-gradient(circle at 30% 25%, #f7df8a, #b58d36 34%, #137a3f 36%, #0b7442);
    border-radius: 50%;
    border: 5px solid #f5e6ae;
    font-size: 2.35rem;
    box-shadow: 0 14px 34px rgba(19, 122, 63, 0.28);
}

.certificate-kicker {
    margin-bottom: 6px;
    color: #8d6b24;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.graduation-certificate h2 {
    margin: 0;
    color: #0b7442;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 5vw, 4rem);
    font-weight: 900;
    white-space: nowrap;
}

.certificate-school {
    margin: 8px 0 12px;
    color: #506558;
    font-weight: 700;
}

.certificate-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px auto 22px;
}

.certificate-divider::before,
.certificate-divider::after {
    content: "";
    width: min(26vw, 160px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #b58d36);
}

.certificate-divider::after {
    background: linear-gradient(90deg, #b58d36, transparent);
}

.certificate-divider span {
    width: 10px;
    height: 10px;
    background: #b58d36;
    transform: rotate(45deg);
}

.certificate-presented {
    margin-bottom: 8px;
    color: #687568;
    font-style: italic;
}

.certificate-name {
    margin: 12px auto 18px;
    padding: 12px 16px;
    color: #0b7442;
    background: rgba(255, 255, 255, 0.58);
    border-top: 2px solid rgba(181, 141, 54, 0.42);
    border-bottom: 2px solid rgba(181, 141, 54, 0.42);
    border-radius: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    box-shadow: none;
}

.certificate-copy {
    max-width: 560px;
    margin: 0 auto 22px;
    color: #506558;
    font-size: 1.05rem;
}

.certificate-copy strong {
    color: #137a3f;
}

.certificate-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin: 0 auto 28px;
}

.certificate-meta span {
    padding: 12px;
    background: #eefaf1;
    border: 1px solid rgba(19, 122, 63, 0.16);
    border-radius: 8px;
}

.certificate-meta strong {
    display: block;
    color: #137a3f;
    font-size: 0.76rem;
    text-transform: uppercase;
}

.certificate-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@keyframes certificateFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes certificatePop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-shape {
    position: absolute;
    z-index: 0;
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 8px;
    color: #fff;
    opacity: 0.9;
    animation: floatSchool 5s ease-in-out infinite;
}

.shape-pencil {
    left: 5%;
    top: 20%;
    background: #8bc34a;
}

.shape-book {
    right: 6%;
    top: 18%;
    background: #2fbf71;
    animation-delay: 0.8s;
}

.shape-star {
    right: 13%;
    bottom: 16%;
    background: #0b7442;
    animation-delay: 1.4s;
}

@keyframes floatSchool {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-16px) rotate(4deg);
    }
}

.app-navbar {
    background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
    box-shadow: 0 10px 30px rgba(35, 39, 47, 0.16);
}

.brand-mark,
.login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    color: var(--maroon);
    background: #fff;
}

.navbar-brand small {
    font-size: 0.75rem;
    opacity: 0.82;
}

.hero-section {
    min-height: calc(100vh - 74px);
    background:
        linear-gradient(120deg, rgba(95, 18, 32, 0.96), rgba(127, 29, 45, 0.82)),
        url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.min-vh-hero {
    min-height: calc(100vh - 146px);
    padding: 56px 0;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.78);
}

.eyebrow {
    color: #ffdce3;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.text-maroon {
    color: var(--maroon);
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    padding: 12px 14px;
    backdrop-filter: blur(8px);
}

.search-panel,
.login-card,
.admin-panel {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 8px;
}

.search-panel {
    padding: 30px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
}

.chart-icon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--maroon);
    background: var(--maroon-soft);
    font-size: 1.3rem;
}

.btn-maroon {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--maroon);
    --bs-btn-border-color: var(--maroon);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--maroon-dark);
    --bs-btn-hover-border-color: var(--maroon-dark);
    --bs-btn-focus-shadow-rgb: 127, 29, 45;
}

.countdown-box {
    margin-top: 24px;
    padding: 18px;
    background: var(--maroon-soft);
    border: 1px solid #f0ccd4;
    border-radius: 8px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.countdown-grid div {
    text-align: center;
    background: #fff;
    border: 1px solid #f1d4da;
    border-radius: 8px;
    padding: 10px 6px;
}

.countdown-grid strong {
    display: block;
    font-size: 1.45rem;
    color: var(--maroon);
    line-height: 1;
}

.countdown-grid span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.75rem;
}

.result-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(35, 39, 47, 0.08);
}

.result-card > * {
    position: relative;
    z-index: 1;
}

.status-badge {
    font-size: 0.95rem;
    padding: 10px 12px;
}

.info-tile {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fafafa;
}

.info-tile span {
    display: block;
    font-size: 0.78rem;
    color: var(--muted);
}

.info-tile strong {
    display: block;
    margin-top: 3px;
}

.fade-in {
    animation: fadeInUp 0.28s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.login-page {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(95, 18, 32, 0.94), rgba(127, 29, 45, 0.74)),
        url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 430px);
    padding: 32px;
}

.login-icon {
    margin-bottom: 12px;
    background: var(--maroon-soft);
}

.admin-page {
    background: #f4f5f7;
}

.admin-panel {
    padding: 22px;
    box-shadow: 0 14px 34px rgba(35, 39, 47, 0.06);
}

.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 118px;
    padding: 22px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
    box-shadow: 0 14px 34px rgba(127, 29, 45, 0.22);
}

.stat-card.success {
    background: linear-gradient(135deg, #198754, #11643d);
}

.stat-card.danger {
    background: linear-gradient(135deg, #dc3545, #9f1f2d);
}

.stat-card span {
    display: block;
    opacity: 0.82;
    font-weight: 600;
}

.stat-card strong {
    display: block;
    margin-top: 5px;
    font-size: 2.1rem;
    line-height: 1;
}

.stat-card i {
    font-size: 2rem;
    opacity: 0.78;
}

.admin-table thead th {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
}

.admin-table td {
    border-color: var(--line);
}

.print-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 18px;
}

.paper-a4 {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto 28px;
    padding: 20mm;
    background: #fff;
    color: #111;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.letterhead {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-box {
    width: 72px;
    height: 72px;
    border: 2px solid #111;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.letterhead h1,
.letterhead h2,
.letterhead h3,
.letterhead p {
    margin: 0;
}

.letterhead h1 {
    font-size: 16pt;
    font-weight: 700;
}

.letterhead h2 {
    font-size: 15pt;
    font-weight: 700;
}

.letterhead h3 {
    font-size: 18pt;
    font-weight: 800;
}

.letterhead p {
    font-size: 10.5pt;
}

.letter-line {
    border-top: 3px solid #111;
    border-bottom: 1px solid #111;
    height: 6px;
    margin: 14px 0 32px;
}

.letter-body {
    font-size: 12pt;
    line-height: 1.7;
}

.letter-body h4 {
    text-align: center;
    text-decoration: underline;
    font-weight: 800;
    margin-bottom: 0;
}

.student-table {
    margin: 20px 0;
    width: 100%;
}

.student-table td {
    padding: 4px 0;
}

.student-table td:first-child {
    width: 150px;
}

.student-table td:nth-child(2) {
    width: 20px;
}

.graduation-status {
    width: 70%;
    margin: 22px auto;
    padding: 14px;
    border: 2px solid #111;
    text-align: center;
    font-size: 22pt;
    font-weight: 900;
}

.graduation-status.passed {
    color: #0f7a3f;
}

.graduation-status.failed {
    color: #b3202e;
}

.signature-block {
    display: flex;
    justify-content: flex-end;
    margin-top: 38px;
}

.signature-block > div {
    width: 260px;
}

.signature-space {
    height: 84px;
}

@media (max-width: 767.98px) {
    .student-title {
        font-size: 2.35rem;
    }

    .student-login-card {
        padding: 22px;
    }

    .student-card-top {
        align-items: flex-start;
    }

    .student-avatar {
        width: 54px;
        height: 54px;
        font-size: 1.35rem;
    }

    .countdown-kids-grid,
    .student-info-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .student-info-row div:last-child {
        grid-column: 1 / -1;
    }

    .graduation-certificate {
        padding: 12px;
        max-height: 92vh;
        overflow-y: auto;
        border-width: 2px;
    }

    .graduation-certificate::before {
        inset: 7px;
        border-width: 2px;
    }

    .graduation-certificate::after {
        inset: 16px;
    }

    .certificate-inner {
        padding: 22px 16px 20px;
    }

    .graduation-certificate h2 {
        font-size: clamp(1.25rem, 8vw, 1.8rem);
    }

    .certificate-corners span {
        width: 44px;
        height: 44px;
    }

    .certificate-corners span:nth-child(1),
    .certificate-corners span:nth-child(2) {
        top: 18px;
    }

    .certificate-corners span:nth-child(1),
    .certificate-corners span:nth-child(3) {
        left: 18px;
    }

    .certificate-corners span:nth-child(2),
    .certificate-corners span:nth-child(4) {
        right: 18px;
    }

    .certificate-corners span:nth-child(3),
    .certificate-corners span:nth-child(4) {
        bottom: 18px;
    }

    .certificate-ribbon {
        width: 64px;
        height: 64px;
        font-size: 1.7rem;
    }

    .certificate-meta {
        grid-template-columns: 1fr;
    }

    .floating-shape {
        width: 52px;
        height: 52px;
        opacity: 0.45;
    }

    .search-panel,
    .login-card,
    .admin-panel {
        padding: 20px;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .min-vh-hero {
        padding: 34px 0;
    }

    .paper-a4 {
        width: 100%;
        min-height: auto;
        padding: 18px;
        box-shadow: none;
    }

    .letterhead {
        align-items: flex-start;
    }

    .logo-box {
        width: 54px;
        height: 54px;
    }

    .letterhead h1 {
        font-size: 11pt;
    }

    .letterhead h2 {
        font-size: 11pt;
    }

    .letterhead h3 {
        font-size: 13pt;
    }
}

@media print {
    @page {
        size: A4;
        margin: 12mm;
    }

    body {
        background: #fff;
    }

    .no-print,
    .print-actions,
    .navbar,
    .btn {
        display: none !important;
    }

    .paper-a4 {
        width: auto;
        min-height: auto;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
}
