.fab-container {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 999;
    cursor: pointer;
}

.fab-icon-holder {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #016fb9;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fab-icon-holder:hover {
    opacity: 0.8;
}

.fab-icon-holder i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 25px;
    color: #ffffff;
}

.fab {
    width: 60px;
    height: 60px;
    background: #d23f31;
}

.fab-options {
    list-style-type: none;
    margin: 0;
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: 85% bottom;
}

.fab:hover+.fab-options,
.fab-options:hover {
    opacity: 1;
    transform: scale(1);
}

.fab-options li {
    display: flex;
    justify-content: flex-end;
    padding: 5px;
}

.fab-label {
    padding: 2px 5px;
    align-self: center;
    user-select: none;
    white-space: nowrap;
    border-radius: 3px;
    font-size: 16px;
    background: #666666;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    margin-right: 10px;
}


.site-main {

}
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.site-main {
    flex: 1;
}
.scroll-pane {
    width: 100%;
    height: 400px;
    overflow: auto;

    /* Works on Firefox */
    scrollbar-width: 10px;
    scrollbar-color: #ccc #e8eaf6 ;
}

/* Works on Chrome, Edge, and Safari */
.scroll-pane::-webkit-scrollbar {
    width: 30px;
}

.scroll-pane::-webkit-scrollbar-track {
    background: #e8eaf6 ;
}

.scroll-pane::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 20px;
    border: 10px solid #e8eaf6 ;
}

.topbar-default {
    background-color: #eeeeee !important;
}

.site-logo {
    width: 600px !important;
}
.navbar-default {
    background-color: #1C2327 !important;
    padding: 10px 0 !important;
    background: url(../img/header.png) repeat center center;
    opacity: 1;
}
.main-navigation {
    padding-top: 50px;
}
/*table tr th {*/
/*    width: 25%;*/
/*    background-color: #eeeeee;*/
/*    font-weight: bold;*/
/*}*/

/*table td, table th {*/
/*    vertical-align: middle !important;*/
/*}*/

span.has-error {
    color: darkred;
    font-weight: bold;
    font-size: 12px;
}

span.buttonText {
    text-transform: none !important;
}

@media (min-width: 768px) {
    .user-navbar {
        padding: 0 !important;
        top: -40px !important;
    }
}


table.applications tr:first-child td {
    /*border-top: none;*/
}

.text-bold {
    font-weight: 900;
}

.modal {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}


select.input-lg, input.input-lg {
    height: 55px !important;
    line-height: 55px !important;
}

.btn-lg {
    height: 55px !important;
}

.pagination > li > a {
    /*line-height: 30px;*/
    /*width: 40px;*/
    /*margin: 0 5px !important;*/
}

td.digits {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.modal-lg {
    width: 1600px !important;
}

.w5 {
    width: 5%;
}
.w10 {
    width: 10%;
}
.w15 {
    width: 15%;
}
.w20 {
    width: 20%;
}
.table-fixed-header th {
    position: sticky;
    top: 0;
}

#details-content {
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}


.card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}
.card-wrapper .card {
    flex: 1; /* Equal width */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* optional for layout inside */
    padding: 1rem;
    background: #f2f2f2;
    border-radius: 8px;
}



div#timer {
    width: 100%;
}
div#timer, div#timer > div {
    display: inline-block;
    line-height: 1;
    padding: 0 10px;
    font-size: 40px;
    margin: 0 auto;
    text-align: center;
}

div#timer span {
    display: block;
    font-size: 16px;
    color: black;
}

div#timer #days {
    font-size: 40px;
    color: #db4844;
}
div#timer #hours {
    font-size: 40px;
    color: #f07c22;
}
div#timer #minutes {
    font-size: 40px;
    color: #f6da74;
}
div#timer #seconds {
    font-size: 30px;
    color: #abcd58;
}


.bootstrap-filestyle input.form-control {
    height: 37.5px;
}

.my-swal-title {
    font-size: 24px !important;
}

.my-swal-text {
    font-size: 18px !important; /* Customize as needed */
}

.badge {
    font-size: 16px;
}

@media (min-width: 768px) {
    .largeWidth {
        margin: 0 auto;
        width: 50% !important;
    }
}
@media (max-width: 768px) {
    .largeWidth {
        margin: 0 auto;
        width: 90% !important;
    }
}

.bootbox.largeWidth .modal-dialog {
    height: 90%;
    overflow-y: auto;
    width: 90%;
    overflow-x: auto;
}

.bootbox.largeWidth .modal-body {
    height: 90%;
}

@media (max-width: 768px) {
    /*.bootbox.cameraWidth .modal-dialog {*/
    /*    height: 380px;*/
    /*    overflow-y: auto;*/
    /*    width: 100%;*/
    /*    overflow-x: auto;*/
    /*}*/

    /*.bootbox.cameraWidth .modal-body {*/
    /*    height: 90%;*/
    /*}*/
}

@media (min-width: 768px) {
    .bootbox.cameraWidth .modal-dialog {
        height: 720px;
        overflow-y: auto;
        width: 680px;
        overflow-x: auto;
    }

    .bootbox.cameraWidth .modal-body {
        height: 90%;
    }
}


.panel-body .btn-block {
    padding: 10px 0;
}

.card-short-description .user-name {
    min-height: 45px !important;
}


.underline-hover {
    text-decoration: none;
    color: #333;
    position: relative;
    font-weight: 500;
}

.underline-hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #1e88e5;
    left: 0;
    bottom: -4px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.underline-hover:hover::after {
    transform: scaleX(1);
}


@media (max-width: 768px) {
    .bootbox.modal.mobile-fullscreen-modal .modal-dialog {
        margin: 0;
        width: 100%;
        height: 100%;
        max-width: none;
    }

    .bootbox.modal.mobile-fullscreen-modal .modal-content {
        height: 100%;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }

    .bootbox.modal.mobile-fullscreen-modal .modal-body {
        flex: 1;
        overflow-y: auto;
    }
}


i[data-toggle="popover"]:hover {
    cursor: pointer;
}
