
body > #popup-display{
    position: fixed;
    top: 40%;
    left: 25%;
    width: 50%;
}
span.close{
    cursor: pointer;
    display: none;
}
#notifications, .notification-container {
    /*.notification.vt {
        background-color: var(--vt-light-gray);
        border: 2px solid var(--vt-maroon);
        color: var(--vt-maroon);
        .title-style {
            color: var(--vt-maroon);
            font-family: 'Gineso Condensed', sans-serif;
            font-size: 1.3rem;
            font-weight: bold;
            text-decoration: none;
        }
    }*/
    .notification.vt {
        background-color: white;
        border: unset;
        color: var(--vt-maroon);
        .title-style {
            font-size: 1.8rem;
            font-family: 'Gineso Condensed', sans-serif;
            font-weight: bold;
            text-decoration: none
        }
    }
}

/* === VT Color Variables === */
:root {
    --vt-maroon: #861F41;
    --vt-orange: #E5751F;
    --vt-light-gray: #f5f5f5;
    --vt-dark-gray: #666;
    --vt-smoke: #E5E1E6;
}

/* === Fonts to match VT's standard === */
@font-face {
    font-family: 'Gineso Condensed';
    src: url('../fonts/GinesoCondBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Acherus';
    src: url('../fonts/acherusRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* === Base Body === */
body {
    background-color: #fff;
    color: #333;
    font-family: 'Acherus', sans-serif;
    line-height: 1.6;
    margin: 0 auto;
    /*max-width: 450px;*/
    padding: 2rem;
}


/* === Blockquotes === */
blockquote {
    color: #333;
    font-size: 0.95rem;
    margin: 0 0 0 0.5rem; /* Down from 0.5rem 0 0 1rem */
    padding: 0;
    p {
        margin: 0.1rem 0; /* Down from 0.3rem 0 */
        font-family: 'Acherus', 'Segoe UI', sans-serif;
    }
}


/* === Input Field === */
input[name="logger-search"] {
    background-color: var(--vt-smoke); 
    border: 1.5px solid white;         
    border-radius: 25px;
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 500px;
    padding: 0.75rem 1rem;
    width: 100%;

    /* No outline by default */
    outline: none;

    /* Show dashed maroon stroke only when active/focused */
    &:focus {
        outline: 2px dashed var(--vt-maroon);
        outline-offset: 2px; 
    }
}


/* === Highlighted Renewal Field === */
[title^="Last renewed"] {
    color: var(--vt-orange);
    font-weight: bold;
}

/* === Label for input === */
.search-header {
    display: block;
    text-align: center;
}
label {
    color: var(--vt-maroon);
    /*display: block;*/
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    /*input[name="logger-search"] {
        margin-left: 1rem;
    }*/
}

/* === Logger === */
li.logger {
    background-color: var(--vt-light-gray);
    border-left: 10px solid var(--vt-maroon);
    border-radius: 0; /* Down from 10px */
    /* margin: 0.5rem 0;  Down from 1rem 0 */
    margin-bottom: 0.5rem; /* Stick the margin at the bottom, so the top lines up with the scroll bar */
    padding: 0.5rem; /* Down from 1rem */
    /* === Logger Name Link === */
    strong a {
        color: var(--vt-maroon);
        font-family: 'Gineso Condensed', sans-serif;
        font-size: 1.3rem;
        font-weight: bold;
        text-decoration: none;
        &:hover {
            text-decoration: underline;
        }
    }
}



/* === Row Count === */
#row_count {
    color: var(--vt-dark-gray);
    font-size: 1.2rem;
    margin-left: 0.5rem;
    font-weight: 500;
}

/* === Unordered List Reset === */
.logger-cards ul {
    list-style-type: none;
    padding-left: 0;
}

/* === Responsive Styling === */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    blockquote {
        margin-left: 0.5rem;
    }

    li.logger {
        padding: 0.75rem;
    }
    #popup-display{ /* Move the details display to the center in smaller screens */
        position: fixed;
        top: 40%;
        left: 10%;
        width: 80%;
        .close { /* Unhide the details close button */
            display: block;
        }
    }
}

.notification ul {
    padding-left: 1rem;
    margin-top: 0;
}

.split-columns { /* Testing side-by-side list/details display */
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    max-width: 1000px;
    gap: 0.5rem;
    .column {
        &.logger-cards {
            min-width: 450px;
        }
        &:has(#popup-display){
            flex: 1;
        }
        /*width: 50%;*/
        flex-direction: column;
        .logger-list {
            max-height: 1000px;
            overflow-y:auto;
            scrollbar-color: var(--vt-maroon) var(--vt-smoke);
            scrollbar-width: thin;
            margin-top: 0; /* So it aligns with the details box */
        }
    }
}