html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.dt-w {
    max-width: 960px;
}
/* Remove default blue highlight */
.dt-paging .dt-paging-button.page-item .page-link {
    border: none !important;
    background: transparent !important;
    color: #23262b !important; /* Bootstrap text-secondary */
    margin: 0 2px;
    border-radius: 0.25rem;
    padding: 0.25rem 0.5rem;
    box-shadow: none !important;
}

    /* Current page */
.dt-paging .dt-paging-button.page-item.active .page-link {
    background: #ffffff !important; /* White */
    color: #23262b !important; /* Bootstrap dark text */
    border: 1px solid #dee2e6 !important; /* Subtle border */
}
    .dt-paging .dt-paging-button.page-item.active .page-link:focus {
        box-shadow: none !important;
    }
    /* Hover effect */
.dt-paging .dt-paging-button.page-item:not(.active) .page-link:hover {
    background: lightgrey !important; /* Very light gray */
    color: #23262b !important;
    border: none !important;
}
.dt-paging .dt-paging-button.page-item.disabled .page-link {
    color: lightgrey !important;
    border: none !important;
    box-shadow: none !important;
}

table.dataTable,
table.dataTable th,
table.dataTable td {
    border-color: #dee2e6 !important; /* Bootstrap light gray */
}

    /* Optional: remove inner borders if you want a cleaner look */
    table.dataTable.no-inner-borders td,
    table.dataTable.no-inner-borders th {
        border-left: none !important;
        border-right: none !important;
    }

.login-bg {
    background-image: url(../images/login-bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
/*html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
}*/
.glass-bg{
    backdrop-filter:blur(.5rem);
    background: transparent;
}
.my-input{
    width:calc(100% - 2px);
    border: 1px solid lightgrey;
    border-radius:.25rem;
    background:transparent;
}
.img-bg{
    object-fit:cover
}
body {
    height: 100vh;
    overflow: hidden;
}

.chat-container {
    height: 100%;
}

.people-list {
    border-right: 1px solid #ddd;
    overflow-y: auto;
    height: 100%;
}

.chat-window {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #fafafa;
}

.message {
    margin-bottom: .75rem;
}

    .message.me {
        text-align: right;
    }

        .message.me .bubble {
            background: #0d6efd;
            color: white;
        }

.bubble {
    display: inline-block;
    padding: .5rem .75rem;
    border-radius: 1rem;
    background: #f1f1f1;
}

.chat-input {
    border-top: 1px solid #ddd;
    padding: .5rem;
    background: white;
}

/* Small screen behavior */
@media (max-width: 768px) {
    .people-list {
        display: none;
    }

        .people-list.active {
            display: block;
        }

    .chat-window {
        display: none;
    }

        .chat-window.active {
            display: flex;
        }
}
#peopleList .list-group-item img{
    width:40px;
    aspect-ratio:1/1;
    padding:2px;
    border:1px solid lightgrey;
}
/* Base minimal button */
.btn-minimal {
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* PRIMARY */
.btn-minimal-primary {
    color: dodgerblue;
}

    .btn-minimal-primary:hover {
        background: rgba(79, 70, 229, 0.08);
        color: #4338ca;
    }

    .btn-minimal-primary:active {
        background: rgba(79, 70, 229, 0.15);
    }

/* SUCCESS */
.btn-minimal-success {
    color: #16a34a;
}

    .btn-minimal-success:hover {
        background: rgba(22, 163, 74, 0.08);
        color: #15803d;
    }

    .btn-minimal-success:active {
        background: rgba(22, 163, 74, 0.15);
    }

/* WARNING */
.btn-minimal-warning {
    color: #d97706;
}

    .btn-minimal-warning:hover {
        background: rgba(217, 119, 6, 0.08);
        color: #b45309;
    }

    .btn-minimal-warning:active {
        background: rgba(217, 119, 6, 0.15);
    }

/* DANGER */
.btn-minimal-danger {
    color: #dc2626;
}

    .btn-minimal-danger:hover {
        background: rgba(220, 38, 38, 0.08);
        color: #b91c1c;
    }

    .btn-minimal-danger:active {
        background: rgba(220, 38, 38, 0.15);
    }

/* DARK */
.btn-minimal-dark {
    color: #374151;
}

    .btn-minimal-dark:hover {
        background: rgba(55, 65, 81, 0.08);
        color: #111827;
    }

    .btn-minimal-dark:active {
        background: rgba(55, 65, 81, 0.15);
    }

.btn-minimal-secondary {
    color: lightgrey;
}

    .btn-minimal-secondary:hover {
        background: rgba(255, 65, 81, 0.08);
        color: #111827;
    }

    .btn-minimal-secondary:active {
        background: rgba(55, 65, 81, 0.15);
    }
.card-img {
    transition: transform .2s ease-in-out;
    padding: .2rem;
    border: .2rem solid #4343439c;
    width: 50% !important;
}
.card-img:hover {
    cursor: pointer;
    transform: scale(1.1)
}
#image-viewer .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    
    padding: 0;
}

#image-viewer img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh; /* prevents overflow vertically */
    object-fit: contain;
    transition: transform 0.3s ease;
    user-select: none;
}
#spinner {
    transition: backdrop-filter .5s ease-in-out;
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}
    #spinner.show {
        display: flex;
        -webkit-backdrop-filter: blur(.5rem);
        backdrop-filter: blur(.5rem);
    }
    #spinner > img {
        width: 50px;
        aspect-ratio: 1/1;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
#emp-detail-img-block:hover {
    backdrop-filter: blur(.5rem);
}
#emp-detail-img-block:hover > .emp-detail-img-options {
    visibility: visible;
    opacity: 1;
    
}
.emp-detail-img-options{
    visibility:hidden;
    opacity:0;
    transition: opacity .2s ease-in-out;
}
.d-center{
    display:flex;
    justify-content:center;
    align-items: center;
}
.shadow-md-only {
    box-shadow: none !important;
}
@media (max-width: 576px) {
    .shadow-sm-only {
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    }
}
@media (max-width: 991px) {
    .shadow-md-only {
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    }
}
.accordion-button::after {
    display: none !important;
}
.emp-detail-img, .card-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* From Uiverse.io by NlghtM4re */
.loader {
    height: 120px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

    .loader div {
        height: 30px;
        width: 30px;
        position: absolute;
        animation: move 2s infinite;
    }

        .loader div:nth-child(1) {
            background-color: #072F5F;
            box-shadow: #072F5F 0px 7px 29px 0px;
            transform: translate(-30px,-30px);
            animation-delay: -.5s;
        }

        .loader div:nth-child(2) {
            background-color: #1261A0;
            box-shadow: #1261A0 0px 7px 29px 0px;
            transform: translate(30px,-30px);
            animation-delay: -1s;
        }

        .loader div:nth-child(3) {
            background-color: #3895D3;
            box-shadow: #3895D3 0px 7px 29px 0px;
            transform: translate(30px,30px);
            animation-delay: -1.5s;
        }

        .loader div:nth-child(4) {
            background-color: #58CCED;
            box-shadow: #58CCED 0px 7px 29px 0px;
            transform: translate(-30px,30px);
            animation-delay: -2s;
        }

@keyframes move {
    0% {
        transform: translate(-30px, -30px);
    }

    25% {
        transform: translate(30px, -30px);
    }

    50% {
        transform: translate(30px, 30px);
    }

    75% {
        transform: translate(-30px, 30px);
    }

    100% {
        transform: translate(-30px, -30px);
    }
}
.scrollarea{
    overflow:auto
}
.w-fit{
    width:fit-content
}
.d-start{
    display:flex;
    justify-content:start;
    align-items:center;
}
.d-col-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.d-col-start {
    display: flex;
    align-items: center;
    flex-direction: column;
}


.tiblock {
    align-items: center;
    display: flex;
    height: 17px;
}

.ticontainer .tidot {
    background-color: white;
}

.tidot {
    -webkit-animation: mercuryTypingAnimation 1.5s infinite ease-in-out;
    border-radius: 2px;
    display: inline-block;
    height: 4px;
    margin-right: 2px;
    width: 4px;
}

@-webkit-keyframes mercuryTypingAnimation {
    0% {
        -webkit-transform: translateY(0px)
    }

    28% {
        -webkit-transform: translateY(-5px)
    }

    44% {
        -webkit-transform: translateY(0px)
    }
}

.tidot:nth-child(1) {
    -webkit-animation-delay: 200ms;
}

.tidot:nth-child(2) {
    -webkit-animation-delay: 300ms;
}

.tidot:nth-child(3) {
    -webkit-animation-delay: 400ms;
}

