﻿.section-title {
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(8, 0, 94);
    margin: 1px;
    font-size: 26px;
    font-weight: bold;
}

.section-report {
    border: 2px solid rgb(51, 51, 51);
}

.section-report-title {
    position: relative;
    display: inline-block;
    margin: 3px;
    padding: 6px;
    font-size: 18px;
    color: rgb(8, 0, 94);
    font-weight: bold;
    cursor: default;
    white-space: normal;
}

.section-report-subtitle {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.modal-header button {
    margin: calc(var(--bs-modal-footer-gap) * .5);
}

td, th {
    height: 15px;
    font-size: 12px;
    padding: .25rem !important;
}

span {
    font-size: 14px;
}

#tblSubjects {
    --bs-table-bg: transparent !important;
}

#conduct table, #conduct th, #conduct td, #attendance table #attendance th, #attendance td {
    border: 1px solid black;
    border-collapse: collapse;
}

.watermark-overlay::after {
    content: '';
    position: fixed; /* Stays in place when scrolling */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('../img/logo.png') center center no-repeat;
    opacity: 0.06; /* Makes the watermark semi-transparent */
    pointer-events: none; /* Allows clicks to go through the watermark to content below */
    z-index: 0; /* Puts the watermark behind other content */
    filter: grayscale(100%)
}

#user-image {
    border-radius: 15px;
    box-shadow: 0 0 8px 8px white inset;
    padding: 8px;
}

/* Single-line footer styling */
.simple-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background-color: #08005e;
    color: #ffffff;
    padding: 15px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Prevents breaking on smaller mobile viewports */
}

.simple-footer a {
    color: #aaaaaa;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.2s ease;
}

.simple-footer a:hover {
    color: #ffffff;
}

/* Stack items cleanly on extremely small screen layouts */
@media (max-width: 480px) {
    .simple-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .simple-footer a {
        margin: 0 8px;
    }
}