.table > :not(caption) > * > * {
    text-align: center !important;
    vertical-align: middle !important;
}

.btn-orange {
    background-color: #ff7a00 !important;
    color: white !important;
    border-color: #ff7a00 !important;
}

.btn-orange:hover {
    background-color: #e86c00 !important;
    border-color: #e86c00 !important;
}
.forgot-password {
    text-decoration: none !important;
}
.forgot-password:hover {
    color: black !important;
}

.text-orange { color: #ff7a00; }

.sidebar-title {
    color: white;
    background-color: #ff7a00;
    letter-spacing: 1.5px;
    border-radius: 0px 0px 10px 10px;
}
.tables .active {
    background-color: #ff7a00 !important;
    color: white !important;
    border-color: #ff7a00 !important;
}

body {
    overflow-x: hidden;
}

#sidebar {
    width: 250px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    z-index: 1040;
    height: calc(100vh - 65px);
    overflow-y: auto;
    position: fixed;
    top: 65px;
    left: 0;
}

#main-content {
    transition: margin-left 0.3s ease;
    padding-top: 80px;
}

.sidebar-closed #sidebar { margin-left: -250px; }
.sidebar-open #sidebar { margin-left: 0; }

@media (min-width: 992px) {
    #main-content {
        margin-left: 250px;
    }
    .sidebar-closed #main-content { margin-left: 0; }
    #overlay { display: none !important; }
}

@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%);
    }
    .sidebar-open #sidebar {
        transform: translateX(0);
    }
    #main-content {
        margin-left: 0 !important;
    }
    #overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1030;
        display: none;
    }
    .sidebar-open #overlay { display: block; }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    height: 65px;
}

.small-width {
    width: 150px !important;
}

.large-width {
    width: 300px !important;
}

.company-name {
    background-color: #ff7a00;
    color: white;
    border-radius: 10px;
}

.work-name {
    border-radius: 10px;
}

@media (max-width: 576px) {
    #userDetails {
        width: 100% !important;
    }
}

.highlighted {
    animation: blinkRed 1s infinite;
}
@keyframes blinkRed {
    0% { background-color: #ffb3b3; }
    50% { background-color: #ff0000; }
    100% { background-color: #ffb3b3; }
}
