/* ==================== General Setting ==================== */
* {
    font-family: 'Roboto';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
h1 {font-weight: 600; font-size: 2vw; margin:0;}
h2 {font-weight: 500; font-size: 1.5vw; margin:0;}
h3 {font-weight: 500; font-size: 1.25vw; margin:0;}
p, a {font-weight: 400; font-size: 1vw; text-decoration: none; color: black;}
a:hover {text-decoration: underline;color: navy;}
/* ========================================================== */

/* ==================== LOGIN PAGE ==================== */
.login-page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
}
.login-page {
    width: 27.5vw;
    border: 1px solid #bbbbbb;
    border-radius: 5px;
}
.login-page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    padding: 1vw 0;
}
.login-page-header img {height: 6vw;}
.login-form-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 1vw;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
}
.login-form-label {
    font-weight: 500;
    font-size: 1.25vw;
}
.login-form-input {
    font-size: 1.25vw;
    padding: 0 0.5vw;
    height: 3vw;
    width: 100%;
    border: 1px solid #bbbbbb;
    border-radius: 2.5px;
    outline: none;
}
.login-form-input:focus {border: 2px solid #aaaaaa;}
.login-form-button {
    font-size: 1.25vw;
    padding: 0.5vw;
    height: 3vw;
    width: 100%;
    border: 1px solid #bbbbbb;
    border-radius: 2.5px;
}

/* ==================== DASHBOARD ==================== */
.dashboard-container {
    display: grid;
    grid-template-columns: 12.5vw auto;
    width: 100vw;
    height: 100vh;
}
main {overflow-y: scroll;}
.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: aliceblue;
    border-right: 1px solid #aaaaaa;
}
.dashboard-sidebar-header {
    padding: 0.5vw;
    display: flex;
    align-items: center;
    gap: 0.5vw;
}
.dashboard-sidebar-header img {height: 6.5vh;}
.dashboard-sidebar-header-title {
    display: flex;
    flex-direction: column;
}
.dashboard-sidebar-header-title div:nth-child(1) {
    font-size: 2.25vh;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.5);
}
.dashboard-sidebar-header-title div:nth-child(2) {
    font-size: 2.75vh;
    font-weight: 600;
}
.dashboard-sidebar-body {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    padding: 0.5vw;
}
.dashboard-sidebar-button {
    display: flex;
    align-items: center;
    gap: 0.25vw;
    padding: 0 0.5vw;
    height: 2.75vw;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 600;
    color: black;
    border-radius: 5px;
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.2s;
}
.dashboard-sidebar-button > div {line-height: 1vw;}
.dashboard-sidebar-button:hover {
    background-color: rgb(205, 232, 255);
    color: rgb(0, 136, 255);
}
.dashboard-sidebar-button.active {
    background-color: rgb(205, 232, 255);
    color: rgb(0, 136, 255);
}
.dashboard-navigation-bar {
    display: flex;
    justify-content: end;
    padding: 0 0.5vw;
    height: 4vw;
    width: 100%;
    border-bottom: 1px solid #aaaaaa;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
}
.dashboard-account-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
    min-width: 12vw;
    min-height: 4vw;
    width: max-content;
    height: max-content;
    box-sizing: border-box;
}
.dashboard-account-menu-button {
    background-color: white;
    padding: 0 0.5vw;
    display: flex;
    align-items: center;
    gap: 0.5vw;
    height: 3vw;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #aaaaaa;
    color: #141E46;
}
.dashboard-account-menu-button > svg {height: 2vw;}
.dashboard-account-menu-button > div {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.dashboard-account-menu-button > div > div:nth-child(1) {
    font-family: 'Roboto';
    font-weight: 600;
    font-size: 1vw;
}
.dashboard-account-menu-button > div > div:nth-child(2) {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 0.75vw;
}
.account-menu {
    display: none;
    padding: 0.5vw;
    background-color: white;
    height: max-content;
    border: 1px solid #aaaaaa;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}
.account-menu > form > button {
    background-color: transparent;
    border: none;
    box-shadow: none;
    width: 100%;
}
.account-menu > a, .account-menu > form > button {
    display: flex;
    gap: 0.5vw;
    padding: 0 0.5vw;
    height: 2.75vw;
    align-items: center;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 500;
    text-decoration: none;
    color: #141E46;
    transition: 0.2s;
}
.account-menu > a > svg, .account-menu > form > button > svg {height: 1.75vw;}
.account-menu > a:hover, .account-menu > form > button:hover {
    background-color: aliceblue;
    color: rgb(0, 136, 255);
}
.dashboard-account-menu:hover .dashboard-account-menu-button {
    background-color: rgb(205, 232, 255);
    color: rgb(0, 136, 255);
}
.dashboard-account-menu:hover {padding-top: 0.5vw;}
.dashboard-account-menu:hover .account-menu {display: block;}

/* ==================== BOD Report Index ==================== */
.bodreport-content-container {
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 1vw;
}
.bodreport-content-button-container {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1vw;
}
.bodreport-content-button-container.admin {justify-content: start;align-items: end;}
.bodreport-content-button {
    padding: 0.5vw 0.75vw;
    border-radius: 5px;
    background-color: rgb(0, 136, 255);
    color: white;
    text-decoration: none;
}
.bodreport-content-button:hover {background-color: rgb(0, 119, 224); text-decoration: none; color: white;}
.bodreport-property-table {
    width: 100%;
    border-collapse: collapse;
}
.bodreport-property-table tr {
    height: 3.5vw;
    border-bottom: 1px solid #cccccc;
}
.bodreport-property-table th {
    background-color: aliceblue;
    padding: 0 1vw;
    font-size: 1vw;
    font-weight: 600;
    text-align: left;
    color: #141E46;
}
.bodreport-property-table td {
    padding: 0 1vw;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 400;
    text-align: left;
    color: #141E46;
}
.bodreport-badge-status-open {
    background-color: #d1e8de;
    padding: 0.5vw 0.75vw;
    width: max-content;
    border: 1px solid #a5d1bd;
    border-radius: 5px;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 400;
    text-align: center;
    color: #616161;
    box-sizing: border-box;
}
.bodreport-badge-status-closed {
    background-color: #f7d7da;
    padding: 0.5vw 0.75vw;
    width: max-content;
    border: 1px solid #f2aeb5;
    border-radius: 5px;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 400;
    text-align: center;
    color: #616161;
    box-sizing: border-box;
}
.bodreport-action-button-container {
    display: flex;
    gap: 0.5vw;
}
.bodreport-action-button {
    background-color: white;
    display: flex;
    gap: 0.5vw;
    align-items: center;
    justify-content: center;
    padding: 0.5vw 0.75vw;
    width: max-content;
    border: 1px solid white;
    border-radius: 5px;
    font-size: 1vw;
    font-weight: 400;
    text-decoration: none;
    color: #141E46;
    cursor: pointer;
    box-shadow: none;
    box-sizing: border-box;
}
.bodreport-action-button > svg {height: 1vw;}
.bodreport-action-button-divider {
    line-height: 2.5vw;
    font-family: 'Roboto';
    font-size: 1.5vw;
    font-weight: 400;
    color: #141E46;
}
.bodreport-view-button:hover {
    background-color: #cfe2ff;
    border: 1px solid #9ec5ff;
}
.bodreport-edit-button:hover {
    background-color: #fff3cc;
    border: 1px solid #ffe69c;
}
.bodreport-delete-button:hover {
    background-color: #f7d7da;
    border: 1px solid #f2aeb5;
}
.bodreport-close-button:hover {
    background-color: #ccd2d9;
    border: 1px solid #aeb5bd;
}
a.nav-link.custom {
    padding: 0.5vw;
    font-size: 1vw;
    font-weight: 500;
}

/* ==================== BOD Report Create ==================== */
.bodreport-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
    padding: 1vw;
}
.bodreport-form-button-group {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.bodreport-form-dropdown {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    height: max-content;
}
.bodreport-form-dropdown > label {
    display: block;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 500;
    text-decoration: none;
    color: #141E46;
}
.bodreport-form-dropdown > select {
    display: block;
    padding: 0 0.5vw;
    height: 2.5vw;
    font-size: 1vw;
    font-family: 'Roboto';
    font-weight: 500;
    text-decoration: none;
    color: #141E46;
    border-radius: 5px;
    border: 1px solid #d1d7de;
    box-shadow: none;
}
.bodreport-submit-button-group {
    display: flex;
    align-items: center;
    height: 2.5vw;
    gap: 1vw;
}
.bodreport-submit-button-group > a {
    height: max-content;
    font-weight: 500;
    text-decoration: none;
    color: #141E46;
}
.bodreport-submit-button-group > a:hover {
    text-decoration: underline;
    color: rgb(0, 136, 255)
}
.confirm-button {
    background-color: white;
    padding: 0.5vw 0.5vw;
    border: 1px solid #9ec5ff;
    border-radius: 5px;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 400;
    text-decoration: none;
    color: #141E46;
    cursor: pointer;
    box-shadow: none;
    box-sizing: border-box;
}
.confirm-button:hover {
    text-decoration: none;
    background-color: #cfe2ff;
}
.bodreport-form-table {
    width: 100%;
    border-collapse: collapse;
}
.bodreport-form-table tr {height: 2.5vw;}
.bodreport-input-field {width: 15vw;}
.bodreport-percentage-field {width: 5vw;}
.bodreport-form-table th {
    background-color: rgb(225, 240, 254);
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 600;
    text-align: center;
    color: #141E46;
    border: 1px solid #b6bcc2;
    box-sizing: border-box;
}
.bodreport-form-table td {
    padding: 0.5vw;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 500;
    text-align: right;
    color: #141E46;
    border: 1px solid #b6bcc2;
}
.bodreport-form-table td input {
    width: 100%;
    height: 2vw;
    font-family: 'Roboto';
    font-size: 1vw;
    font-weight: 500;
    text-align: right;
    color: #141E46;
}
td.bodreport-field-title {font-weight: 600;}
.bodreport-readonly-field {background-color: aliceblue;}