@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

/* Login Body Background */

.k-body {
    background-color: #f5f5f5;
}
/* Home Body Background */
.k-body-home {
    background-color: #f5f5f5;
    height: 100vh;
}

/* Containers */
.mc-login {
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Fonts */

.f-size-title {
    font-size: 1rem;
}

.f-size-label {
    font-size: 0.9rem;
}

/* Card */

.k-card {
    width: 50%;
    height: auto;
    margin: auto;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.k-card-header {
    background-color: rgba(33, 37, 41, 0.03);
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}
.k-card-body {
    padding: 10px;
    background-color: #fff;
}

/*Card Position */

.l-card-pos {
    transform: translateY(-10%);
}

/* Button */
.k-button-primary {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 4px;
    padding: 5px;
    border: none;
    width: 100%;
}

/* Margins */

.k-mb-10 {
    margin-bottom: 10px;
}

.k-mr-10 {
    margin-right: 10px;
}

.k-ml-10 {
    margin-left: 10px;
}

/* Paddings */

.k-pb-10 {
    padding-bottom: 10px;
}

.k-pr-10 {
    padding-right: 10px;
}
.k-pl-10 {
    padding-left: 10px;
}

/* Checkbox && Forgot Password */
.k-div-check-forgot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.k-check-div {
    display: flex;
}
.k-div-check-forgot a {
    text-decoration: none;
}

/* Navigation */

.k-nav {
    background-color: rgba(33, 37, 41, 0.03);
    border-bottom: 1px solid #dee2e6;
    height: 7%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}
.k-nav-user {
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    width: auto;
    padding-right: 1rem;
    padding-left: 1rem;
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
}
.k-nav-user:hover {
    transition: 0.3s ease;
    opacity: 0.9;
}
.k-user-flex {
    display: flex;
    align-items: center;
}
.k-user-flex img {
    width: 2rem;
    height: auto;
}
.k-nav-user .k-user-flex p {
    margin: 0;
    margin-right: 10px;
    margin-left: 10px;
}
/* Circle Image */
.circle-image {
    width: 3rem;
    height: auto;
    border-radius: 50%;
    overflow: hidden;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.k-list {
    position: absolute;
    list-style-type: none;
    padding: 5px;
    /* SHOW */
    /* top: 2.7rem; */
    top: -4.3rem;
    width: 100%;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 3px;
    opacity: 0;
    left: 1rem;
}

.k-list.show {
    top: 2.7rem;

    opacity: 1;
    animation: showKList 0.3s forwards;
    z-index: 999;
}

.k-logout {
    border: none;
    background: none;
}

/* Users Page CSS */

.body_margin{
    margin-left:10px; margin-right:10px
}

.tableContainer {
    width: 90%;
    margin: auto;
    background-color: #fff;
    padding: 1rem;
    border-radius: 3px;
    overflow-x: scroll;
}
.k-table-title {
    font-size: 2rem;
    width: 90%;

    margin: 1rem auto;
}

.mainContent {
    width: 90%;
    overflow-x: hidden;
}

.mainContent.toggleSidebar {
    width: 100%;
}

.k-sidebar-container {
    width: 15%;
    background-color: #2a3f54;
    color: #fff;
    transition: 0.3s ease;
}
.k-sidebar-container.toggleSidebar {
    width: 6rem;
    color: #fff;
}

.k-flex {
    display: flex;
    height: 100vh;
}

.k-sidebar-header {
    display: flex;
    width: 100%;
    align-items: center;
}
.k-sidebar-header.toggleSidebar {
    display: none;
}
.k-endpoint-name {
    margin: 10px;
    font-size: 1rem;
}
.k-sidebar-welcome {
}
.k-sidebar-welcome p {
    margin: 0;
}
.c-mage {
    width: 7rem;
}
.u-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 90%;
    margin: auto;
    padding: 10px;
    cursor: pointer;
    border-radius: 3px;
    text-decoration: none;
    color: #fff;
}
.u-link.toggleSidebar {
    flex-direction: column;
}
.u-link p.toggleSidebar {
    font-size: 13px;
}
.u-link p {
    margin: 0;
}
.u-link:hover {
    opacity: 0.6;
    background-color: #020a1348;
    transition: 0.3s ease;
}
.fa-bars:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: 0.3s ease;
}

.fa-pen-to-square.toggleSidebar {
    margin: 0;
}
.fa-house.toggleSidebar {
    margin: 0;
}

/* Style for the loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Style for the loader */
.loading-overlay .loader {
    border: 4px solid #2a3f54;
    border-radius: 50%;
    border-top: 4px solid transparent;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.pr-btn {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    padding: 5px;
    border-radius: 3px;
    text-decoration: none;
}

.dataTables_wrapper {
    margin-top: 1rem;
}
/* Animation for the loader */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes showKList {
    0% {
        top: -4.3rem;
    }
    50% {
        top: 0.7rem;
        opacity: 0.5;
    }
    100% {
        top: 3.6rem;
        opacity: 1;
        z-index: 999;
    }
}

/* Medias Responsiveness */

/* MIN WIDTH */
/* greater than or equal to, */
@media (min-width: 1000px) {
    .k-card {
        width: 35%;
    }
    /* Sidebar Responsiveness */
    .c-mage {
        width: 4rem;
    }
    .k-sidebar-welcome p {
        margin: 0;
        font-size: 13px;
    }
}
@media (min-width: 1400px) {
    .k-card {
        width: 30%;
    }
    .c-mage {
        width: 4rem;
    }
    .k-sidebar-welcome p {
        margin: 0;
        font-size: 13px;
    }
    .u-link p {
        margin: 0;
        font-size: 12px;
    }
}

@media (min-width: 2000px) {
    .k-card {
        width: 20%;
    }
    .c-mage {
        width: 10rem;
    }
    .k-sidebar-welcome p {
        margin: 0;
        font-size: 1.4rem;
    }
}

/* less than or equal to, */
/* MAX WIDTH */
@media (max-width: 1000px) {
    .k-card {
        width: 35%;
    }
    /* Sidebar Responsiveness */
    .c-mage {
        width: 4rem;
    }
    .k-sidebar-welcome p {
        margin: 0;
        font-size: 13px;
    }
    .u-link p {
        margin: 0;
        font-size: 10px;
    }
    .k-sidebar-welcome p {
        margin: 0;
        font-size: 9px;
    }
}
@media (max-width: 768px) {
    .k-sidebar-header {
        display: none;
    }
    .u-link {
        flex-direction: column;
    }
    .u-link i {
        margin: 0;
    }
    .k-endpoint-name {
        margin: 10px;
        font-size: 1rem;
        text-align: center;
    }
}
@media (max-width: 700px) {
    /* Navigation */
    .k-nav-user {
        margin-right: 1rem;
    }
    .k-list {
        left: 1rem;
    }
    .k-nav {
        height: 5%;
    }
    .k-endpoint-name {
        font-size: 12px;
    }
}

@media (max-width: 425px) {
    .u-link p {
        margin: 0;
        font-size: 8px;
    }
    .k-nav-user .k-user-flex p {
        margin: 0;
        margin-right: 10px;
        margin-left: 10px;
        font-size: 11px;
    }
    .circle-image {
        width: 2rem;
        height: auto;
        border-radius: 50%;
        overflow: hidden;
    }
}

@media (max-width: 400px) {
    /* Navigation */
    .k-nav-user {
        margin-right: 1rem;
    }
    .k-list {
        left: 1rem;
    }
    .k-endpoint-name {
        font-size: 9px;
        margin: 5px;
    }
}

@media (max-width: 300px) {
    /* Fonts */
    .f-size-title {
        font-size: 0.9rem;
    }

    .f-size-label {
        font-size: 0.8rem;
    }
}
