/* 
 *  Common CSS styles for all the files begins
 */

 body {
    background-color: #fff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

/* 
 *  Common CSS styles for all the files ends
 */



/* 
 *  CSS styles for Login and Signup pages begins
 */
#container {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 150px auto 100px;
    grid-gap: 5px;
    min-height: 100vh;
    width: 100%;
    justify-items: center;
}

#header-auth {
    background-color: #004F2E;
    color: white;
    text-align: center;
    font-size: 38px;
    width: 100%;
    height: 100%;
    grid-column: 1 / -1;
}

header h1 {
    margin: 0;
    padding-top: 40px;
}

#left-panel, #right-panel {
    background-color: #f4f4f4;
}

#main-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

#footer-auth {
    background-color: #000;
    color: white;
    text-align: center;
    width: 100%;
    grid-column: 1 / -1;
    padding: 20px 0;
}

.auth-form {
    margin-top: 60px;
    border: 2px solid #dedede;
    padding: 20px;
    border-radius: 10px;
    width: 80%; /* Adjusted for better form presentation */
}

input[type="text"], input[type="password"], input[type="date"], input[type="file"], input[type="submit"] {
    width: 60%; /* Adjusted for a consistent look */
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.foot-note {
    margin-top: 20px;
}

.form-submit {
    background-color: #004F2E;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.input-field {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-text {
    font-size: 16px;
}

/* 
 *  CSS styles for Login and Signup pages ends
 */


/* CSS styles for loginHistory.html begins */
#container-login-history {
    display: grid;
    grid-template-columns: 1fr 3fr 3fr 1fr;
    grid-template-rows: 150px auto 100px;
    grid-gap: 5px;
    min-height: 100vh;
    width: 100%;
}

#header-login-history, #footer-login-history {
    background-color: #004F2E;
    color: white;
    text-align: center;
    font-size: 38px;
    grid-column: 1 / -1;
    padding: 20px 0;
}

#left-login-history, #right-login-history {
    background-color: #f4f4f4;
}

#user-info, #login-sessions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.logout, .update-info {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.logout {
    background-color: #c12f1f;
    color: white;
}

.update-info {
    background-color: #f4f4f4;
    color: #004F2E;
}

/* CSS styles for loginHistory.html ends */



/* CSS for DOM Manipulation Starts */
   
/* Todo 5a: Add a class style to make the border of an input red if it has that class */
.input-error {
    border: 2px solid red;
}

/* Todo 5b: Add a class style to define the appearance of error messages */
.error-message {
    color: red;
    font-size: 0.8em;
    visibility: visible;
}

/* Todo 6: Add a class style that sets visibility to hidden if an element has that class */
.hidden {
    visibility: hidden;
}

/* CSS for DOM Manipulation Ends */
