body {
    width: 100%;
    min-height: 100vh;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#logo {
    padding: 10px;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
}

#header {
    height: 75px;
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    justify-content: space-between;
    background-color: #312f2d;
}

#headerLeft {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
}

#headerRight {
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    padding-right: 25px;
    gap: 20px;
}

#headerTitle {
    font-size: 24pt;
    color: #ffffff;
    padding-left: 10px;
    display: flex;
    align-items: center;
}

.headerSubTitle {
    display: flex;
    align-items: center;
}

.headerLink {
    font-size: 12pt;
    color: #ffffff;
}

#main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
}

#leftPanel {
    width: 50%;
    height: 100%;
    border-right: 1px solid #CCCCCC;
}

#rightPanel {
    width: 50%;
    height: 100%;
    overflow: auto;
}

#search {
    margin: 20px 10px;
}

.searchContainer {
    margin-bottom: 15px;
    width: 100%;
    display: flex;
}

.searchlabels {
    font-size: 12pt;
    padding-right: 15px;
}

.dropdown {
    flex: 1;
    min-width: 0;
    margin-right: 15px;
}

.searchButton {
    padding: 3px 15px;
}

#results {
    width: 100%;
}

#resultsTable {
    padding: 10px;
}

#instructions {
    padding: 10px;
}

#notesCell {
    font-weight: bold;
}

.temporaryText {
    display: flex;
    justify-content: center;
    font-style: italic;
}

#detailsText {
    font-size: 16pt;
    margin: 10px 0px;
    font-weight: 600;
}

#bondDetailsHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
}

#printBond {
    padding: 3px 15px;
    display: none;
}

@media all and (max-width: 900px) {

    #headerTitle {
        font-size: 18pt;
    }

    #headerRight {
        gap: 10px;
        padding-right: 10px;
    }

    .headerLink {
        font-size: 12pt;
    }

    #main {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        overflow-y: visible;
    }

    #leftPanel {
        width: 100%;
        height: auto;
        border-right: none;
    }

    #rightPanel {
        width: 100%;
        height: auto;
        overflow: visible;
        margin-top: auto;
    }
}

@media all and (max-width: 600px) {
    #headerTitle {
        font-size: 16pt;
    }

    #headerRight {
        gap: 5px;
        padding-right: 5px;
    }
}

@media all and (max-width: 450px) {
    #headerTitle {
        font-size: 20pt;
    }

    #header {
        flex-direction: column;
        height: auto;
    }

    #headerRight {
        justify-content: space-between;
        padding: 0px 10px;
    }
}