/**/
:root {
    --color-company: white;
    --color-footer: #131313;
    /*rgb(57,78,194);*/
    --color-hover: #074a85;

    /*rgb(46, 62, 151);*/
    --color-body: #F5F6FA;
    /*rgb(246, 245, 248);*/

    --color-session1: white;
    /* rgb(57,78,194);*/
    --color-session2: white;
    /* rgb(97, 53, 253);*/

    --color-confirmation: rgb(25, 135, 84);
    --color-confirmation-hover: rgb(19, 104, 64);
    --color-cancel: rgb(220, 53, 69);
    --color-cancel-hover: rgb(187, 44, 58);
}

a {
    text-decoration: none;
    color: rgba(0, 0, 0, .7);
}

a:hover {
    cursor: pointer;
}

table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.title-company {
    color: var(--color-company);
}

.img-profile-navbar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -4px;
}

.color-name-navbar {
    color: white;
}


.btn-edit {
    background-color: var(--color-session1);
    color: white;
}

.btn-edit:hover {
    background-color: var(--color-hover);
    color: white;
}

.bar-link {
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
}

.btn-success:active,
.btn-success:active:focus,
.btn-success.active {
    background-color: var(--color-hover);
    border-color: white;
    box-shadow: none;
}

/* styles of the button loading */
.btn-loading-off:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Contenedor del ícono */
.btn-loading-off .bnt-loading-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    margin-right: 10px;
    animation: spin 1s linear infinite;
}

.btn-loading-off:disabled {
    cursor: not-allowed;
    opacity: 0.8;
    background-color: #45a049;
}

/* Animación de rotación */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.container-message {
    background: transparent;
    position: absolute;
    top: 10px;
    transform: translateX(+22.5%);
}

/*this is a style Boobstarp*/
.form-check-input:checked {
    background-color: var(--color-company);
    border-color: white;
}

.nav-link {
    color: var(--color-company);
}

.nav-link:hover {
    color: var(--color-company);
}

.nav-link .active {
    background-color: var(--color-company);
    color: white;
}



.nav-pills .nav-link.active {
    color: white;
    background-color: var(--color-company);
}

.nav-pills .nav-link {
    color: rgba(0, 0, 0, .6);
    background-color: var(--color-body);
}

/*styles messages*/
.container-message {
    z-index: 100000000000000000;
}

.btn-confirm-message {
    background: var(--color-confirmation);
    color: white;
}

.btn-confirm-message:hover {
    background: var(--color-confirmation-hover);
    color: white;
}

.btn-cancel-message {
    background: var(--color-cancel);
    color: white;
}

.btn-cancel-message:hover {
    background: var(--color-cancel-hover);
    color: white;
}

.btn-2 {
    background: #dbdddf;
    color: #3d4246;
}

.btn-2:hover {
    background: #c2c3c5;
    color: #2d3033;
}

.popup-message {
    border-radius: 1rem;
}

.btn-button {
    border: none;
    font-size: 16px;
    color: white;
    padding: 8px 16px;
    background-color: var(--color-company);
    border-radius: 1.4rem;
    margin: 14px;
    cursor: pointer;
    transition: .3s ease;
    width: 50%;
    text-align: center;
    align-items: center;
}

.btn-button:hover {
    background-color: var(--color-hover);
}

.scroll-navbar {
    max-height: 600px;
    overflow-y: auto;
    max-height: 84%;
}

/*global styles*/
.btn-update {
    background-color: var(--color-company);
    width: 100%;
    color: white;
    border: none;
    border-radius: 1rem;
    text-align: center;

    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-success {
    background-color: var(--color-company);
    width: 100%;
}

.btn-success:hover {
    background-color: var(--color-hover);
}

.form-group {
    padding: 8px;
}

.acceptTerms:checked::before {
    background-color: var(--color-company);
}

lable {
    font-size: 13px;
    color: rgba(0, 0, 0, .5);
    padding: 2px;
}

label {
    font-size: 13px;
    color: rgba(0, 0, 0, .5);
    padding: 2px;
}

body {
    background-color: var(--color-body);
}

.btn-add {
    background-color: rgb(55, 167, 84);
    color: white;
    width: 100%;
    height: 100%;
    border-radius: .3rem;
    font-size: 1.4rem;
}

/*footer*/
.logo-footer {
    max-width: 6%;
    height: auto;
    margin-top: auto;
}

.container-footer {
    background-color: var(--color-footer);
    color: white;

    /*position: fixed;
    bottom: 0;
    width: 100%;
    padding-top: 20px;*/
}

.ul-footer {
    list-style-type: none;
}

.ul-footer li {
    content: "";
}

.link-footer {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Open Sans', sans-serif;
    font-size: .825rem;
}

.title-footer {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.2rem;
}

.title-footer-2 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.link-footer:hover {
    color: rgba(255, 255, 255, 1);
}

.container-copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    height: 70px;
    font-family: 'Open Sans', sans-serif;
    font-size: .8rem;
}

.text-footer {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Open Sans', sans-serif;
    font-size: .825rem;
}

/*checkbox*/
.container-checkbox {
    background: var(--color-body);
    border-radius: 1rem;
    width: 100%;
    height: 100%;
    align-items: center;
}

.button-checkbox {
    margin: .5rem;
    align-items: center;
    position: relative;

    width: 100%;
    height: 100%;
}

.lbl-switch {
    display: inline-block;
    width: 3rem;
    height: 30px;
    background-color: var(--color-company);
    border-radius: 1rem;
    position: relative;
    cursor: pointer;
}

#btn-switch:checked~.lbl-switch {
    background: var(--color-cancel-hover);
}

#btn-switch:checked~.lbl-switch::after {
    left: 22px;

}

.lbl-switch::after {
    position: absolute;
    content: '';
    width: 22px;
    height: 22px;
    background-color: var(--color-body);
    border-radius: 100px;
    top: 4px;
    left: 5px;
    transition: .3s;
}

#btn-switch {
    display: none;
}

.checkbox-text {
    padding-left: .8rem;
    position: absolute;
}

.check-box-app:checked {
    background-color: var(--color-company);
    border-color: transparent;
    height: 1.5rem;
    width: 2.5rem;
}

.check-box-app:not(:checked) {
    height: 1.5rem;
    width: 2.5rem;
    border-color: transparent;
    background-color: var(--color-body);
}

.check-box-app {
    height: 1.5rem;
    width: 2.5rem;
    border-color: transparent;
    background-color: var(--color-body);
}

/**/
.fi-label {
    font-size: 11px;
    color: rgba(0, 0, 0, .5);
    padding: 2px;
    padding-left: .2rem;
}

.fi-btn {
    font-size: 13px;
    color: white;
    padding: 3px;
    padding-left: .5rem;
    top: -10px;
}

.txt-separators {
    color: rgba(0, 0, 0, .7);
    padding-left: .2rem;
}

.fi-des {
    color: white;
    top: -12px;
    font-size: 1.4rem;
}


/*TABLE*/
.table-information {
    border-radius: 2rem;
}

.table-information tr:nth-child(even) {
    background-color: rgb(255, 255, 255);
    color: black;
}

/* Estilos para las filas impares */
.table-information tr:nth-child(odd) {
    background-color: rgb(235, 235, 235);
    color: black;
}

/* Estilos para los encabezados de la tabla */
.table-information th {
    background-color: var(--color-company);
    color: white;
}

.table-information th label {
    color: white;
}


.fi-department {
    font-size: .8rem
}


/*navbar*/
.menu-toggle {
    cursor: pointer;
}

.sidebar {
    position: fixed;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #131313;
    transition: all .5s ease;
    z-index: 100000;
}

.sidebar ul {
    list-style: none;
}

.sidebar header {
    font-size: 22px;
    color: white;
    text-align: center;
    line-height: 70px;
    background: var(--color-company);
    user-select: none;
}

.sidebar ul a {
    display: block;
    height: 100%;
    width: 100%;
    line-height: 65px;
    font-size: 10px;
    color: white;
    padding-left: 40px;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid black;
    transition: .4s;
    text-decoration: none;
}

.sidebar li:hover a {
    padding-left: 50px;
    color: var(--color-company);
}

.sidebar ul a i {
    margin-right: 16px;
    text-decoration: none;
}

#check {
    display: none;
}

label #btn-navbar-open,
label #btn-navbar-cancel {
    /*position: absolute;*/
    cursor: pointer;
    position: fixed;
}

label #btn-navbar-open {
    left: 10px;
    top: 8px;
    font-size: 22px;
    color: white;
    padding: 6px 12px;
    transition: all .5s;
}

label #btn-navbar-cancel {
    z-index: 100001;
    left: -195px;
    top: 61px;
    font-size: 18px;
    color: white;
    padding-inline-start: 4px 9px;
    transition: all .5s ease;
}

#check:checked~.sidebar {
    left: 0;
}

#check:checked~label #btn-navbar-open {
    left: 250px;
    opacity: 0;
    pointer-events: none;
}

#check:checked~label #btn-navbar-cancel {
    left: 195px;
}

.background-navbar {
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    position: absolute;
}

@import url("//harvesthq.github.io/chosen/chosen.css");

.chosen-container {
    width: 250px;
}

.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    height: 30px !important;
}


.img-message {
    max-width: 250px;
    max-height: 250px;
    border-radius: 2rem;
}


.custom-file-upload {
    display: inline-block;
    padding: 10px 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
    background-color: #45a049;
}

.custom-file-upload i {
    margin-right: 5px;
}



/*-----------------------------------input search---------------------------*/
.search-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 20px;
    padding-left: 60px;
    /* Espacio para el ícono */
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.search-input:focus {
    border-color: #0273FF;
    outline: none;
}

.search-icon {
    position: absolute;
    top: 70%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #aaa;
}

.search-icon:hover {
    color: #0273FF;
}

/*--------------------------select div-------------------*/
.btn-group {
    padding-top: 1rem;
}

.btn-select {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: var(--color-company);
    position: relative;
    outline: none;
    background-color: transparent;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.btn-active {
    background-color: var(--color-company);
    color: white;
}

.btn-select:hover::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-company);
    position: absolute;
    bottom: -5px;
    left: 0;
}

.content-section {
    display: none;
    margin-top: 20px;
}

.content-section.active {
    display: block;
}


/* Specific styles for tablets and mobile devices */
@media (max-width: 768px) {
    .btn-select {
        padding: 8px 15px;
        font-size: 14px;
    }

    .content-section {
        margin-top: 15px;
    }
}

/* Mobile-specific styles */
@media (max-width: 480px) {
    .btn-select {
        padding: 6px 12px;
        font-size: 12px;
    }

    .content-section {
        margin-top: 10px;
    }
}


/**--------------------------navbar chat-------------------*/
/*
.navbar-message{
    position: relative;
}*/

.navbar-message .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-message .icons {
    display: flex;
    align-items: center;
    /*
    top: -30px;
    left: 10px;
    */
}
.navbar-message .icons i {
    font-size: 1.5rem;
    margin-left: 20px;
    cursor: pointer;
    color: white;
}

/* Chat History */
.chat-history {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 300px;
    max-height: 400px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow-y: auto;
    display: none;
}

.chat-history h3 {
    margin: 0;
    padding: 10px;
    background-color: var(--color-company);
    color: white;
    border-radius: 8px 8px 0 0;
    text-align: center;
}

.chat-history .message {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.chat-history .message:last-child {
    border-bottom: none;
}

.message {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.message:last-child {
    border-bottom: none;
}

.chat-history-image-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.message-content {
    display: flex;
    flex-direction: column;
}

.message-content-unread {
    background-color: #074a85;
    opacity: 0.8;
}

.chat-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.message p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.view-all-messages {
    margin-top: auto; /* Esto empuja el enlace al final */
    text-align: center;
  }

.alert-message {
    position: relative;
}

.alert-message::after {
    content: '';
    position: absolute;
    top: 5px;
    right: 20px;

    width: 13px;
    height: 13px;
    background-color: red;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.container-button-chat{
    display: flex;
    justify-content: flex-end;
    padding: 5px;
}

.container-button-chat .btn{
    color: var(--color-company);
}

.container-button-chat .btn:hover{
    color: var(--color-company);
    border-color: var(--color-company);
}