@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");
:root {
    --header-height: 4rem;
    --nav-width: 60px;
    --nav-height: 100%;
    --first-color: #100794;
    --first-color-light: #ffffff;
    --white-color: #ffffff;
    --body-font: "Nunito", sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 90;
}
*,
::before,
::after {
    box-sizing: border-box;
}
body {
    position: relative;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: 0.5s;
    background: linear-gradient(45deg, #ffffff, #ffffff);
}
a {
    text-decoration: none;
}
.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    box-shadow: 0 0 20px rgba(0, 2, 32, 0.298);
    z-index: var(--z-fixed);
    transition: 0.5s;
}
.header_toggle {
    font-size: 1.5rem;
    cursor: pointer;
    float: left;
    align-items: center;
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -25%;
    margin-top: 64px;
    width: var(--nav-width);
    padding: 0.5rem 1rem 0 0;
    transition: 0.5s;
    z-index: var(--z-fixed);
    background: linear-gradient(
        90deg,
        rgb(0, 13, 26) 0%,   /* Dark Blue */
        rgb(10, 40, 85) 35%,  /* Medium Dark Blue */
        rgba(20, 60, 120, 1) 100%  /* Lighter Dark Blue */
    );
}
.nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    margin-bottom: 0.5rem;
    transition: 0.3s;
}
.nav_link:hover {
    color: var(--white-color);
}

.show {
    /* left: 0; */
    /* height: 100%; */
}

.active {
    color: white;
    font-weight: bold;
    background-color: #1f4e79;
    border-radius: 9px;
}
.active::before {
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color);
}
.body-inside-normal {
    height: 100vh;
    margin-top: calc(var(--header-height));
    margin-left: calc(var(--nav-width));
}
.body-inside-add {
    height: 100vh;
    margin-top: calc(var(--header-height));
    margin-left: 210px;
}
@media screen and (min-width: 768px) {
    ConfigurationController {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem);
    }
    .body-inside-normal {
        height: 100vh;
        margin-top: calc(var(--header-height));
        margin-left: calc(var(--nav-width));
    }
    .body-inside-add {
        height: 100vh;
        margin-top: calc(var(--header-height));
        margin-left: 210px;
    }
    .header_img {
        width: 40px;
        height: 40px;
    }
    .header_img img {
        width: 45px;
    }
    .l-navbar {
        left: 0;
        padding: 1rem 0.5rem 0 0;
        height: 100vh;
    }

    .show2 {
        width: calc(var(--nav-width) + 20wv);
    }

    table {
        width: 100%;
        border-collapse: collapse;
        overflow: hidden;
        box-shadow: 0 0 20px rgba(0, 2, 32, 0.298);
    }

    th,
    td {
        padding: 15px;
        background: rgba(255, 255, 255, 0.2);
        color: #000000;
    }

    th {
        text-align: left;
    }

    thead th {
        background: linear-gradient(
            90deg,
            rgba(211, 211, 211, 1) 0%,
            /* light gray */ rgba(255, 255, 255, 1) 100% /* white */
        );
    }

    tbody {
        tr {
            &:hover {
                background-color: rgba(101, 48, 5, 0.747);
            }
        }
        td {
            position: relative;
            &:hover {
                &:before {
                    content: "";
                    position: absolute;
                    left: 0;
                    right: 0;
                    top: -9999px;
                    bottom: -9999px;
                    background-color: rgba(255, 255, 255, 0.2);
                    z-index: -1;
                }
            }
        }
    }
}

.input-form {
    width: 100%;
    min-width: 200px;
    margin-bottom: 5px;
}
.title-select {
    border: none;
    background-color: #ffffff;
    color: #343434;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

.title-select:focus {
    outline: none;
}
.title-select:hover {
    cursor: pointer;
}

.hidden-column {
    display: none;
}
.dt-head-center {
    text-align: center;
}

.action-button-center {
    text-align: center;
}

.label-text {
    color: #01274c;
    font-weight: bold;
}
label[required]::after {
    content: "*";
    color: red;
}
.button-group {
    margin-top: 10px;
    padding-bottom: 10px;
}

.date-container {
    display: flex;
}
.date-icon {
    font-size: 40px;
    margin-left: 5px;
    cursor: pointer;
    color: #040d74;
}

.login-box-title {
    /* font-family: NunitoSans-Regular; */
    background: linear-gradient(
        90deg,
        rgba(2, 182, 200, 1) 0%,
        rgba(95, 187, 196, 1) 30%,
        rgba(95, 133, 196, 1) 100%
    );
    width: 100%;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: left;
}
.login-box {
    /* font-family: NunitoSans-Regular; */
    background: white;
    box-shadow: 2px 0 20px rgb(0 0 0 / 8%);
    max-width: 500px;
    width: 100%;
    margin: 10% auto;
}

.reset-password {
    font-size: 16px;
    color: #100794;
    cursor: pointer;
}
.reset-password:hover {
    font-size: 18px;
    font-weight: bold;
    color: #015f5a;
}
.password-change {
    font-weight: bold;
    color: #100794;
    cursor: pointer;
}
.password-change:hover {
    font-weight: bold;
    color: #423d00;
}

.bottom-wrapper {
    margin-top: 0.5em;
}
.top-wrapper {
    margin-bottom: 0.5em;
}
.my-table-wrapper {
    margin-bottom: 2em;
}
.title-name-menu {
    font-weight: bold;
    color: gray;
}
.button-form {
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
}
.move-buttons {
    padding: 0;
    border: none;
    background: none;
    cursor: move;
}
.prevent-selecting-text {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selected-row {
    background-color: rgb(0, 255, 247);
    color: #810101;
    font-weight: bold;
}
.hand-cursor {
    cursor: pointer;
}
.move-cursor {
    cursor: move;
}

.container1 {
    background-color: #ffffff; /* White background for the form */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 300px; /* Fixed width */
}

.form-label {
    display: block; /* Make label a block element */
    margin-bottom: 10px; /* Space between label and input */
    font-size: 16px; /* Font size for label */
    color: #333; /* Dark text color */
}

.form-input {
    width: 100%; /* Full width of the container */
    padding: 10px; /* Inner padding */
    border: 1px solid #ccc; /* Border color */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size for input */
    transition: border-color 0.3s; /* Smooth transition for border color */
}

.form-input:focus {
    border-color: #007bff; /* Change border color on focus */
    outline: none; /* Remove default outline */
}
