﻿
/* ====== Base / Global ====== */
html, body {
    height: 100%;
}

body {
    margin: 10px;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #111; /* default text color */
}

/* Default span styling (no border, black text) */
span {
    color: #111;
    background: none;
    border: none;
    font-size: 12px;
    font-weight: bold; /* change to 400 for normal weight */
    line-height: 1.2;
}

/* Paragraphs styling */
p {
    font-size: 12px;
    color: black;
    margin: 0 0 12px 0; /* spacing between paragraphs */
}

.justified {
    text-align: justify;
}

/* Section spacing utility */
.section {
    /*  margin-bottom: 24px; space between sections */
}

/* Optional: limit page width and center content */
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
/* CENTER TEXT */
.center-text {
    flex: 2 1 300px;
    text-align: center;
    font-size: 10px;
    line-height: 20px;
}
.label {
    font-weight: bold;
    display: inline-block;
}
.boldText{
    font-weight:bold;
}

.center-span-row {
    display: flex;
    justify-content: center; /* center the entire row */
    gap: 2px;  /*space between spans */
    font-size: 12px; /* large heading size */
    font-weight: bold;
}

    .center-span-row span {
        color: black; /* text color */
    }

/* ====== (1) Six spans — each row one span, centered ====== */
.six-span-center {
    display: grid;
    grid-template-rows: repeat(6, auto); /* 6 rows */
   /* row-gap: 2px; vertical spacing */
    justify-items: center; /* center each span per row */
}

    .six-span-center span {
        padding: 2px 0;
        text-align: center;
        font-weight: bolder;
        font-size: 12px; /* large heading size */
        white-space: nowrap;
    }


.three-span-right {
    display: grid;
    grid-template-columns: repeat(3, max-content); /* size columns to content */
    column-gap: 24px; /* horizontal gap */
    justify-content: start; /* push both spans to the right */
    align-items: center;
}

    .three-span-right span {
        white-space: nowrap;
        color:black;
        font-weight: bold;
        font-size: 10px; /* large heading size */
       
    }




.two-span-right {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 24px;
    justify-content: end; /* move spans to the right */
    align-items: center;
}

    .two-span-right span {
        color: black;
        font-size: 12px;
        white-space: nowrap;
    }


.two-span-left {
    display: grid;
    grid-template-columns: repeat(2, max-content); /* two columns sized to content */
    column-gap: 24px; /* space between spans */
    justify-content: start; /* align both spans to the left */
    align-items: center;
}

    .two-span-left span {
        color: black;
        /*font-weight: 200;*/
        font-size: 12px; /* large heading size */
        white-space: nowrap;
    }


/* Container for all rows */
.multi-span-container {
    display: grid;
    grid-template-columns: repeat(4, 200px); /* 4 equal columns, fixed width */
    row-gap: 3px; /* space between rows */
}

    /* Each span cell */
    .multi-span-container span {
        color: black;
        font-weight: bold;
        padding: 4px 0;
        font-size: 12px; /* large heading size */
        text-align: left; /* ensures text starts at the same point */
        background: none; /* no border or background */
    }

/* ====== (3) Four spans in a row — equal columns ====== */
.four-span-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    column-gap: 32px; /* space between columns */
    align-items: center;
}

    .four-span-row span {
        text-align: left; /* consistent start point */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 2px 0;
    }

/* ====== Full-length TextBox at the end ====== */
/* Works for <asp:TextBox> via CssClass, and for plain <input type="text"> */
.full-width-textbox {
    width: 100%; /* fill container width */
    max-width: 100%;
    box-sizing: border-box; /* include padding/border in total width */
    padding: 10px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    word-wrap: break-word; /* Ensures wrapping */
    resize: vertical;
    white-space: pre-wrap; /* Preserve spaces and wrap text */
    overflow-wrap: break-word; /* Modern way to break long words */
}



.pdf-page {
    width: 816px; /* Match PDF width */
    min-height: 1056px; /* Optional: PDF height */
    margin: 10px auto; /* Center on screen */
    padding: 40px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 12pt;
    border: 1px solid #ccc; /* Remove for production */
    background: #fff;
}


a {
    color: #0a5bd3; /* explicit foreground color */
    text-decoration: underline; /* keeps links identifiable */
}

a:visited {
    color: #6a38c2; /* distinct but accessible visited color */
}

a:hover, a:active {
    color: #0948a6; /* darker on hover/active for clarity */
}

a:focus-visible {
    outline: 3px solid #0a5bd3; /* visible focus; ensure 3:1 contrast */
    outline-offset: 2px;
}




/* ====== Responsive tweaks (optional) ====== */
@media (max-width: 768px) {
    .two-span-right {
        grid-template-columns: 1fr 1fr; /* equal halves on tablet */
        justify-content: stretch; /* fill row width */
    }

    .four-span-row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns x 2 rows on tablet */
        row-gap: 12px;
    }
}

@media (max-width: 480px) {
    .two-span-right {
        grid-template-columns: 1fr; /* stack vertically on mobile */
        row-gap: 8px;
    }

    .four-span-row {
        grid-template-columns: 1fr; /* stack 4 rows on mobile */
        row-gap: 8px;
    }
}


@media print {

    html, body {
        width: 8.5in;
        height: 11in;
        margin: 0;
        padding: 0;
        zoom: 1; /* Avoid browser scaling */
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact; /* Keep colors accurate */
    }

    * {
        box-sizing: border-box;
    }

    /* Avoid content splitting weirdly */
    .page-break {
        page-break-before: always;
    }

    /* Optional: hide non-print stuff */
    .no-print {
        display: none !important;
    }
}

