body {
    font-family: 'Poppins', 'Lato', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #fff;
}

.degree_name {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.legend {
    border: 2px solid rgb(0, 50, 158, 75%);
    width:  1100px;
    margin: 0 auto;
    padding: 0;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: .8rem;
}

.legend ul {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 5px 0;
}

.legend li {
    list-style-type: none;
    padding: 0 5px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 15px;
}

.year_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.total {
    font-weight: bold;
    font-style: italic;
}

.gutter {
    background-color: transparent !important;
    border: none !important;
    background: transparent !important;
}

table {
    width: 1750px;
    zoom: 80%;
    border-collapse: collapse;
    margin: 0 auto 20px auto;
    table-layout: fixed;
}

th {
    border-bottom: 3px solid #000;
    word-wrap: normal;
    padding: 5px;
    text-align: center;
    font-size: 1.3rem;
    white-space: nowrap;
} 

td {
    padding: 5px;
    border-bottom: 1px solid #ccc;
    font-size: 1.2rem;
    line-height: 1.4rem;
    white-space: normal;
    vertical-align: middle;
}


caption {
    padding: 5px 0;
}

.icon {
    padding-left: 5px;
}

.term {
    background-color: rgb(0, 50, 158, 75%);
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
}

hr {
    border: 3px solid black;
    width: 80%;
    margin: 20px auto;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100px;
    align-items: center;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.card {
    height: 110px !important;
    width: 450px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #fff;
}

.card-body {
    padding: 10px !important;
    margin: 0;
}

.card-body p, .card-body a, .card-body h5 {
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.card-body h5 {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.img-fluid {
    height: 88px !important;
    width: 75px;
    padding-right: 10px;
    object-fit: cover;
}

.logo {
    width: auto;
    height: 88px;
    margin: 30px auto;
    display: block;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00329e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border: 1px solid #00329e;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background-color: #00329e;
    color: #fff;
    text-decoration: none;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 20px auto;
}

.print-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #00329e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.print-btn:hover {
    background-color: #00226b;
}

@media print {
    .no-print {
        display: none !important;
    }
    table {
        width: 100% !important;
        zoom: 100% !important;
        table-layout: fixed !important;
    }
    @page {
        size: letter landscape;
        margin: 0.15in 0.2in 0.15in 0.2in;
    }
    body {
        font-size: 10pt !important;
        font-family: Arial, "Times New Roman", sans-serif;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        padding: 0;
        margin: 0;
    }
    .degree_name, .legend, footer {
        margin: 3pt auto !important;
        width: 100% !important;
        max-width: 100% !important;
        zoom: 62% !important;
    }
    .icon {
        padding-left: 2px;
    }
    td, th {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        padding: 3px !important;
        font-size: 14.5pt !important;
        line-height: 1.15 !important;
        vertical-align: middle !important;
    }
}
