/* Sidebar */
.sidebar {
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    width: 80px;
    background-color: #373942 !important;
    transition: width 0.3s;
}

.sidebar:hover {
    width: 200px;
}

.sidebar .nav-item {
    width: 100%;
}

.sidebar .nav-link {
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 10px;
}

.sidebar a:hover {
    background-color: #ffffff;
    color: #373942 !important;
}

.sidebar a {
    cursor: pointer;
}

.sidebar .nav-link i {
    font-size: 25px;
    margin-right: 5px;
    margin-left: 10px;
}

.success-img {
    font-size: 200px;
}

.sidebar .nav-link span {

    font-size: 15px;
    display: none;
    transition: display 0.5s, opacity 0.5s, transform 0.5s;
}

.sidebar img {
    display: none;
    transition: display 0.5s, opacity 0.5s, transform 0.5s;
}

.sidebar:hover img {
    display: inline;
    transform: translateY(0);
}

.sidebar:hover .nav-link span {
    display: inline;
    transform: translateY(0);
}

.nav-tabs .nav-link {
    color: #ffffff !important;
    background-color: #373942 !important;
    margin-right: 1px;
}

.nav-tabs .nav-link.active {
    background-color: #ffffff !important;
    color: #000000 !important;
}

/* End Sidebar */

/* Login Styles */

#checkbox_remember_me {
    accent-color: #dc3545;
}

.bg-dark-input {
    background-color: #3f4044 !important;
    color: #e6e7ea !important;
}

.bg-dark-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.border-dark-input {
    border-color: #3f4044 !important;
}

.text-login {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-roboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-style: normal;
}

/* End Login Styles */

/* Content */
.main-container {
    display: flex;
    height: 100%;
    min-height: 100vh;
}

.main-content-container {
    flex-grow: 1;
    padding-top: 40px;
}

.table_wrapper {
    max-height: 500px;
    overflow-y: scroll;
}

.custom-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

#loading-spinner .spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; 
}

#loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
}

#materials_search_cont{
    width: 200px;
    max-height: 200px;
    border: 1px solid gray;
    position: absolute;
    background: white;
    overflow: auto;
    list-style-type: none;
    padding: 0;
    display: none;
}

#materials_search_cont li:hover{
    background: #959ca1;
    color: #f2f2f2;
    cursor: pointer;
}

#part_number_on_edit_dropdown{
    width: 200px;
    max-height: 200px;
    border: 1px solid gray;
    position: absolute;
    background: white;
    overflow: auto;
    list-style-type: none;
    padding: 0;
    display: none;
}


#part_number_on_edit_dropdown li:hover{
    background: #959ca1;
    color: #f2f2f2;
    cursor: pointer;
}

.packing_list_row:hover{  
    cursor: pointer;
}
/* End Content */


/* Buttons Personalized */
.btn-green {
    background: linear-gradient(to right, #35c3c1, #00d6b7);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.25rem; /* Redondear bordes como los botones de Bootstrap */
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

.bg-green {
    background: linear-gradient(to right, #35c3c1, #00d6b7);
    color: #ffffff;
}

.text-green {
    color: #35c3c1;
}

/* End Buttons Personalized */

.pointer{
    cursor: pointer;
}