.table thead th {
    vertical-align: middle;
    border-bottom: 2px solid #dee2e6;
    text-align: center;
}

.form-group.cus-width {
    float: left;
    margin-right: 5px;
}

.form-control {
    font-size: 12px;
}

    .form-control:focus {
        box-shadow: none;
        border-color: #ced4da;
    }

.form-select:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.cus-style small {
    font-size: 10px;
    color: #6c757d !important;
    display: block;
    margin-top: 5px;
}

.cus-style .cus-right {
    margin-top: 8px;
    float: right;
    margin-right: 5px;
}

.cus-bot-checkbox {
    float: left;
    width: 104px;
    margin-right: 0px;
}

.custom-checkbox .custom-control-label::before {
    border-radius: .25rem;
    margin-top: -4px;
}

.cus-bot-checkbox label.custom-control-label {
    margin-top: 4px;
    font-weight: normal;
    margin-left: 0px;
}


/*Table*/
table {
    width: 100%;
}

#example_filter {
    float: right;
}

#example_paginate {
    float: right;
}

label {
    display: inline-flex;
    margin-bottom: .5rem;
    margin-top: .5rem;
}

div#example_paginate {
    float: right;
}

img.com-logo {
    width: 100px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #800000;
    border-color: #800000;
}

.page-link {
    color: #800000;
    border: 1px solid #800000;
    font-size: 10px;
    cursor: pointer;
}

    .page-link:hover {
        color: #ffffff;
        border: 1px solid #800000;
        background-color: #800000;
    }

.page-item.disabled .page-link {
    color: #800000;
    background-color: #f0f0f0;
    color: #999;
    border: 1px solid #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

a {
    color: #800000;
}

.table-bordered thead th {
    border-bottom-width: 2px;
    color: #800000;
    position: sticky;
    top: 0;
}

.table-bordered thead td {
    border-bottom-width: 2px;
    color: #800000;
}


div.ellipsis-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

th.sticky {
    border-bottom-width: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #c5baba;
    height: 50px;
    z-index: 1;
}


.table-striped tbody tr:nth-of-type(odd) {
    background-color: #8000000d;
}

input[type=checkbox]:checked {
    background: #800000;
    border: 1px solid #470000;
    box-shadow: none;
}

.btn-success {
    color: #fff;
    background-color: #800000;
    border-color: #800000;
    font-size: 10px;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 8px;
    white-space: nowrap;
    color: #800000;
}

label.btn.btn-secondary.btn-excel {
    background: #800000;
    border: 1px solid #470000;
    border-radius: 50px;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    padding: 10px 14px;
}

.btn-excel i::before {
    color: #800000;
    background: #ffffff;
    padding: 6px;
    border-radius: 80%;
    margin-left: -9px;
    font-size: 15px;
    margin-right: 5px;
}
/*@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }
}*/
.appn {
    width: 41px !important;
}

.filldate {
    width: 77px;
}

.status {
    width: 128px;
}

.tdk {
    width: 76px;
}

.reps {
    width: 97px;
}

.gose {
    width: 158px;
}

.own {
    width: 200px;
}

th.filldate {
    width: 84px;
}

th.status {
    width: 100px;
}

th.tdk {
    width: 81px;
}

th.reps {
    width: 100px;
}

th.gose {
    width: 200px;
}

th.own {
    width: 155px;
}

th.comp {
    width: 200px;
}

th.view-d {
    width: 170px;
}

tr.active {
    background-color: #e3cdae !important;
}

tr td {
    vertical-align: middle;
}

.table-bordered {
    border: 1px solid #dee2e6;
    font-size: 10px;
}

.search-box {
    float: right !important;
    width: 166px;
}

    .search-box input {
        float: left;
        width: 104px;
        margin-right: 0px !important;
    }

    .search-box button {
        float: right;
        font-size: 10px;
    }

div.dataTables_wrapper div.dataTables_info {
    padding-top: 8px;
    white-space: nowrap;
    font-size: 10px;
}

.mb-30 {
    margin-bottom: 30px;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, .5);
    margin-left: 9px;
}

li.nav-item.active a.nav-link {
    background: #800000;
    color: #ffffff !important;
}

.navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    color: rgb(128 0 0);
    font-weight: bold;
    font-size: 12px;
    border: 1px solid;
    border-radius: 5px;
    padding: 5px 13px;
}

.srch {
    color: #800000;
    border: 1px solid #800000;
    padding: 6px 10px;
    font-size: 10px;
}

nav i {
    padding-right: 5px;
}

a.navbar-brand {
    padding-right: 20px;
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        width: 100%;
    }
}

.image-container img.com-logo {
    width: 100%;
}

.lp label {
    font-size: 11px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #800000;
}

.mb-0 {
    margin-bottom: 0px;
}

.lp .form-group {
    margin-bottom: 0px;
}

.col-md-6.bdr1 {
    border: 1px solid #dbdbdb;
    border-radius: 0px 0px 0px 15px;
    padding: 30px 0px;
}

.col-md-6.bdr2 {
    border: 1px solid #dbdbdb;
    border-radius: 0px 0px 15px 0px;
    border-left: 0px;
}

.heading-container {
    border: 1px solid #dbdbdb;
    padding-top: 20px;
    border-radius: 15px 15px 0px 0px;
    border-bottom: 0px;
    padding-bottom: 20px;
    background: #fbfafa;
}

.pb_50 {
    padding-bottom: 50px;
}

h3.main-heading {
    color: #800000;
}

h5.sub-heading {
    color: #767676;
}

/*************************************** Logout Dropdown Changes *************************************************/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background-color: white; /* Deep Red */
    color: rgb(128, 0, 0);
    border: none;
    padding: 5px 13px;
    font-size: 12px;
    cursor: pointer;
    /*border-radius: 30px;*/
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

    .dropdown-btn:hover {
        background-color: rgb(128, 0, 0); /* Lighter Deep Red */
        transform: scale(1.05);
        color: white;
    }

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    background-color: #ffffff;
    /*min-width: 250px;*/
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    /*border-radius: 10px;*/
    /*padding: 15px;*/
    padding: 4px;
    animation: fadeIn 0.3s ease-out;
    text-align: right;
    margin-top: 2px;
}

/* User Info section */
.user-info {
    margin-bottom: 15px;
    font-size: 16px;
    color: rgb(128, 0, 0); /* Deep Red */
}

    .user-info p {
        margin: 5px 0;
    }

/* Logout Button */
.logout-btn {
    color: rgb(128 0 0);
    font-weight: bold;
    font-size: 12px;
    border: none;
    /*border-radius: 5px;*/
    padding: 5px 13px;
    background-color: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/*.logout-btn:hover {
        background-color: rgb(204, 0, 0);*/ /* Lighter Red */
/*transform: scale(1.05);
    }*/

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Animation for dropdown */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-floating > label {
    padding: 0.1rem 0.5rem;
    font-size: 12px;
}

.form-floating > .form-control, .form-floating > .form-select {
    height: calc(2.5rem + 2px);
    line-height: 1.25;
    font-size: 12px;
}

.form-floating > .form-select {
    padding-top: 1rem;
    padding-bottom: 0px;
    font-size: 12px;
}

.accordion-button:not(.collapsed) {
    color: #800000;
    background-color: white;
    font-weight: bold;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    color: #800000;
    background-color: white;
    font-weight: bold;
}

.accordion-header {
    border-bottom: solid 2px #800000;
}

.accordion-button::after {
    fill: #800000;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: none;
}

.middle-screen-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    /*height: 100%;*/
    place-content: center;
    text-align: center;
}


.image-text-div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #000; */
    text-align: center;
    transform: rotate(90deg);
    height: 100%;
    font-size: 60px;
}

.td-trim-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal; /* Allow text to wrap and break */
    word-wrap: break-word;
}


/******************** Buttons ***********************************************************/

.btn-app-primary {
    outline: none;
    border: 1px solid #800000;
    border-radius: 5px;
    background: #ffffff;
    color: #800000;
    cursor: pointer;
}

    .btn-app-primary:focus,
    .btn-app-primary-visible {
        outline: none;
        box-shadow: none;
    }

    .btn-app-primary:hover {
        background-color: #800000;
        outline: none;
        color: #ffffff;
    }
