

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'Roboto', 'Montserrat', 'PlayFair-Display'
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;   /* ← allow vertical scrolling */
    overflow-x: hidden; /* ← optional: prevent side-scrolling if stuff sticks out */
}

:root {
    --mainBlue: rgb(0, 68, 124);
    --mainWhite: rgb(255, 255, 255);
    --silver: rgb(167, 169, 172);
    --yellow: rgb(255, 203, 5);
    --darkBlue: rgb(0, 44, 87);
    --brightBlue: rgb(24, 180, 233);
    --brightRed: rgb(225, 29, 29);
    --lightRed: rgb(248, 80, 80);
}

.navbar{
    background-color: var(--darkBlue) !important;
}

.bg-dark{
    background-color: var(--darkBlue) !important;
}

.navbar-toggler{
    background-color: var(--silver) !important;
}

.navList{
    display:flex;
    justify-content: space-around;
    margin: 0;
}

.navItem a{
    text-decoration: none;
    color: var(--mainWhite);
    font-size: larger;
    font-weight: bold;
}

.navItem a:hover{
    color: var(--silver);
}

/*Header Logo*/

#logoWrapper {
    background-color: var(--mainBlue); 
    padding:  0;
    text-align: center;
  }
  
  #header-logo {
    max-width: 300px;
    height: auto;
  }

/* Page Styles */

body{
    margin: 0;
    padding: 0;
}

#wrapper{
    background-color: var(--mainBlue);
    min-height: 100vh;
}

#pageTitle{
    color: var(--mainWhite);
    padding: 10px;
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
}

.popCount{
    color: var(--mainWhite);
    font-size: xx-large;
}

.buttonContainer{
    display: flex;
    justify-content: center;
    margin: 10px 0;
    width: 100%;
}

.buttonContainer button{
    padding: 10px 20px;
    font-size: 1em;
    border: 1px solid black;
    background: var(--brightBlue);
    cursor: pointer;
    width: 100%;
    transition: .3s;
    border-radius: 5px;
}

.buttonContainer button:hover{
    background: var(--mainWhite);
}

.student-list{
    width: 90%;
    margin: auto;
}

.student,.studentLog{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 10px;
    border: 1px solid black;
    border-radius: 5px;
    margin-top: 5px;
    background: var(--mainWhite);
    width: 100%;
    justify-content: space-between;
    font-size: 1.2em;
}

.student span{
    text-align: center;
    padding: 0 0.5rem;
    min-width: 120px;
}

.studentLog span{
    flex: 1;
    text-align: center;
    padding: 0 0.5rem;
    min-width: 120px;
}

.student .stuName{
    text-align: left;
    flex-grow: 2;
}

.student .stuId{
    min-width: 90px;
}

.student .platform {
    min-width: 100px;
}

.sesTime, .dayTime{
    text-align: center;
    flex-grow: 1;
}

.studentLog .signOutTimeLog {
    flex: 1;
    text-align: center;
    min-width: 260px;
}

.studentLog .totalTimeLog {
    flex: 1;
    text-align: center;
    min-width: 140px;
}


.logoutBtn{
    background: var(--yellow);
    border-radius: 5px;
    transition: .3s;
}
.logoutBtn:hover{
    background: var(--brightBlue);
}

/* Footer */

footer {
    background-color: var(--darkBlue);
    text-align: center;
    padding: 5px 0;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: auto;
    font-weight: bold;
}

footer a {
    color: var(--mainWhite);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--silver);
}

/* Sort/Search Section */


.sortSection {
    display: flex;
    justify-content: center;
    width: 50%;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.sortSection button {
    background: var(--brightBlue);
    color: black;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s ease;
}

.sortSection select, .sortSection input {
    border-radius: 30px;
}

.showLogs:hover, .sortSection button:hover {
    background: var(--mainWhite);
}

.sortGroup {
    min-width: 160px;
    max-width: 25%;
}

.entrywrapper {
    display: flex; 
    height: 60px;
}

.individualSignOut,.reportBtn {
    background: var(--brightRed);
    color: var(--mainWhite);
    /* padding: 10px; */
    cursor: pointer;
    transition: .3s;
    border: 0px;
    border-radius: 5px;
    margin: 5px 5px;
    border: 1px solid black;
    width: 5%;
    transition: ease 0.3s;
}

.individualSignOut:hover,.reportBtn:hover {
    background: maroon;
}

.reportBtn {
    background: rgb(255, 187, 0);
}

/* Infraction Page */

.infractionHeader {
    height: 80px;
    align-items: center;
    padding: 0 11rem;
}

.infractionCard {
    width: 80%;
    height: 60px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}


/* Media */
@media only screen and (max-width: 942px) {
    #wrapper {
        padding: 20px
    }

    .loginBox {
        padding: 7.5em 1.5em 4em 1.5em;
    }

    .student,
    .studentLog {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

}