*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.card-user-all{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    width: auto;
    max-width: 1100px;
}

.background-image{
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/login-background.jpg') no-repeat center;
    background-size: cover;
    height: 100vh;
    color: white;
}

.dark-div{
    border-bottom:solid 1px grey;
}

.form-login{
    width: 300px;
    height: 40px;
    border-radius: 30px;
    outline: none;
    border: none;
    background-color: white;
    color: black;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 10px;
}

.form-login:hover{
    outline: 1px solid #95e1f0;
}

.form-login:focus{
    outline: 1px solid #39D0ED;
}

.card-information{
    background: linear-gradient(#37D5EE, #34BBEB, #2F91E9, #286DE2, #285EE4);
    width: 500px;
    height: 450px;
    border-radius: 20px;
    position: relative;
    right: 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.img-mac{
    width: 410px;
    height: 250px;
}

.header-graphic{
    display: flex;
    justify-content: center;
    align-items: center;
}

.graph{
    width: 50%; 
    height: 50%;
}

.btn-graph{
    padding: 7px 15px;
    font-size: 17px;
    color: rgb(0, 0, 0);
    background-color: rgb(0, 255, 179);
    border-radius: 5px;
    display: none;
}

.graph_user{
    width: 30%;
    height: 30%;
}

.sidebar {
    height: 100%;
    width: 180px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #0077ff;
    padding-top: 20px;
    transition: 0.3s;
    z-index: 1000;
    overflow-y: auto;
    font-size: 14px;
}

.sidebar.desactive {
    left: -250px;
}

.sidebar-header {
    padding: 0 20px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li a {
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sidebar-menu li a:hover {
    background-color: #0dadf7;
}

.toggle-sidebar {
    z-index: 999;
    background: none;
    border: none;
    cursor: pointer;
    padding-right: 10px;
    padding-top: 5px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff;
    transition: 0.3s;
}

.main-content {
    transition: 0.3s;
    padding-left: 50px;
    margin-left: 130px;
}

.main-content.shifted {
    margin-left: 0px;
}

.footer-content{
    transition: 0.3s;
    padding-left: 50px;
    margin-left: 130px;
}

.footer-content.shifted{
    transition: 0.3s;
    margin-left: 0px;
    padding-left: 0px;
}

.header{
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: center;
    height: 10vh;
    flex-direction: row;
    padding: 15px;
    background-color: #0077ff;
    color: white;
    margin-left: 180px;
}

.header.shifted{
    margin-left: 0px;
}

.toggle-sidebar.shifted{
    margin-left: 0px;
}

.title-company{
    margin: 0;
    padding: 0;
}

.btn-action{
    background-color: #0077FF;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    padding: 8px 15px;
    text-decoration: none;
}

.btn-action-outline{
    background-color: transparent;
    color: #0077FF;
    border: 2px solid #0077FF;
    border-radius: 5px;
    font-size: 15px;
    padding: 8px 15px;
    text-decoration: none;
}

.btn-action-outline:hover{
    background-color: #0077FF;
    color: white;
    border: none;
}

.btn-action-small{
    background-color: #4b9efd;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    padding: 0px 10px;
    height: 30px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-action-small:hover{
    background-color: #498cd8;
    color: white;
    outline: 1px solid black;
}

.btn-save-green{
    background-color: #00A65A;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    padding: 0px 10px;
    height: 30px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-access{
    background-color: transparent;
    color: white;
    border: 2px solid #105db6;
    padding: 8px 10px;
    border-radius: 5px;
    color: black;
    text-decoration: none;
    font-size: 15px;
}

.btn-access:hover{
    background-color: #105db6;
    color: white;
}

.nav-gray{
    background-color: #E0E0E0;
    height: 8vh;
    padding: 5px 0px;
    border-radius: 5px;
    width: 650px;
}

.table-gray{
    background-color: #E0E0E0;
    height: 8vh;
    text-decoration: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: #bdbdbd;
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
    border-radius: 50%;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
    width: 170px;
    font-size: 11px;
    color: #000;
}

.dropdown-menu.show {
    display: block;
    right: 10px;
}

.dropdown-menu a,
.dropdown-menu button {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    font-size: 11px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
    background-color: #E0E0E0;
}

.form-input{
    width: auto;
    height: 25px;
    padding: 10px 10px;
    font-size: 12px;
    border: none;
    box-shadow: 0px 0px 1px black;
    font-family: Arial, Helvetica, sans-serif;
}

.form-input:focus{
    outline: 1px solid #0077ff;
}

.title-number{
    background-color: #0077ff;
    height: 40px;
    width: 50px;
    color: white;
    font-size: 25px;
}

.title-text{
    font-size: 25px;
    margin-bottom: 0px;
    padding-bottom: 0px;
    margin-left: 15px;
}

.roles-permissions{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-bar{
    height: 60px;
    width: auto;
    padding-right: 200px;
    outline: 1px solid gray;
    margin-top: 0px;
    padding-top: 0px;
}

.btn-role{
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    outline: 1px solid rgba(0, 0, 0, 0.5);
    border: none;
    margin: 5px 0px;
    height: 30px;
    width: auto;
    min-width: 280px;
}

.btn-role.active{
    background-color: #0077ff;
    color: white;
}

.btn-role:hover{
    background-color: #0077ff;
    color: white;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 25px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.4s;
    font-size: 12px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 25px;
    left: 2px;
    bottom: 4px;
    background-color: white;
    border-radius: 5px;
    transition: transform 0.4s;
}

input:checked + .slider {
    background-color: green;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.status {
    font-weight: bold;
    color: black;
    transition: color 0.4s;
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.table-roles{
    margin: 0px;
    padding: 0px;
    background-color: #E0E0E0;
}

.roles{
    min-height: 240px;
    max-height: calc(5 * 50px);
    overflow-y: auto;
    scrollbar-width: auto;
}

.permissions{
    min-height: 240px;
    max-height: calc(5 * 50px);
    overflow-y: auto;
    scrollbar-width: auto;
}

.card-permissions{
    width: 400px;
    background-color: white;
}

.card-permissions:hover{
    background-color: #ededed;
    color: black;
}

.btn-garbage{
    font-size: 15px;
    margin-top: 5px;
    width: 30px;
    height: 30px;
    background-color: #0077ff;
    color: white;
    outline: none;
    border: none;
}

.btn-garbage:hover{
    outline: 1px solid black;
}

.alert-success{
    height: auto;
    width: 300px;
    font-size: 15px;
    color: white;
    background-color: #23a823;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.alert-error{
    height: auto;
    width: 300px;
    font-size: 15px;
    color: white;
    background-color: rgb(177, 30, 30);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.icon-usedAPI{
    margin-left: 10px;
    font-size: 13px
}

.th-title{
    width: 250px;
}

.btn-help{
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 9px;
    margin-right: 15px;
}

.icon-help{
    color: white; 
    background-color: #0080FF; 
    padding: 1px 5px; 
    border-radius: 20px;
}

.help{
    height: auto;
    width: 100%;
    background-color: rgb(255, 217, 0);
    font-size: 12px;
    padding: 10px;
    border-radius: 10px;
    display: grid;
}

.btn-search{
    background-color: #BDBDBE;
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: black;
    font-size: 12px;
    border-radius: 20px;
    padding: 5px 15px;
}

.input-search{
    width: 500px;
}

.content-user{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.div-user{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 70px;
}

.name-user{
    font-size: 14px;
}

.card-user{
    width: 100%;
    height: auto;
    background-color: rgb(235, 235, 235);
}

.card-user:hover{
    background-color: #dcdcdc;
}

.footer-bg{
    background-color: #D7DBDD;
    height: 60px;
}

.content-footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-size: 10px;
    color: rgb(68, 68, 68);
    max-width: 1100px;
}

.main-content-footer{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.phone-email-actions{
    display: flex;
    flex-direction: row;
}

.logo-create-user{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
}

.create-user-role{
    width: 300px;
}

.create-user-name{
    width: 300px;
}

.create_user{
    min-height: 80vh;
    max-height: auto;
}

.phone-email-actions{
    font-size: 13px;
}

.button-link{
    background-color: transparent;
    color: #000;
    border-radius: 30px;
    padding: 10px;
    border: 1px solid black
}

.button-link:disabled{
    background-color: transparent;
    color: gray;
}

@keyframes pulse {
    0% { opacity: 0; }
    25% { opacity: 0.35; }
    50% { opacity: 0.5; }
    75% { opacity: 0.75; }
    100% { opacity: 1; }
}

.btn-admin-help{
    background-color: #0044ff;
    border-radius: 50%;
    border: 1px solid white;
    color: white;
    padding: 8px 15px;
    font-size: 16px;
    animation: pulse 2s infinite;
}

.sidebar-right {
    height: 100%;
    width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    background-color: #0077ff;
    padding-top: 20px;
    transition: 0.3s;
    z-index: 1001;
    overflow-y: auto;
    font-size: 14px;
}

.sidebar-right.active {
    right: 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.overlay.active {
    display: block;
}

.users{
    min-height: 50vh;
}

.card-user-admin{
    display: none;
}

.filterBarcode{
    display: none;
}

.big-card {
    background-color: #dcdcdc;
    width: 90%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    flex-wrap: wrap;
    overflow-y: scroll;
    overflow-x: hidden;
    border-radius: 5px;
}

.card-user-home{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    text-align: center;
    width: 200px; 
    height: 140px; 
    position: relative; 
    border-radius: 10px;
}

.text-bg-black{
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    width: auto;
    height: auto;
    margin: 0px;
}

.eye-link{
    color: white; 
    position: absolute; 
    top: 5px; 
    right: 5px; 
    text-decoration:none;
    padding: 1px 5px;
}

.eye-link:hover{
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 20px;
}

.card-create-user{
    background-color: rgba(0,0,0,0.6); 
    width: 200px; 
    height: 140px; 
    min-width: 200px;
    min-height: 140px;
    border-radius: 10px;
    outline: 2px dashed grey;
    font-size: 19px;
}

.card-create-user:hover{
    outline: none;
}

.bg-black-info{
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    width: auto;
    height: auto;
    margin: 0px;
    border-radius: 10px;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
    position: relative;
}

.dropdown-container {
    position: absolute;
    top: 10px;
    right: 10px;
}

.chatbot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex; /* Flexbox para organizar elementos */
    flex-direction: column;
    align-items: flex-end;
}

.chat {
    background-color: #FFFFFF;
    color: black;
    border-radius: 10px;
    width: 300px;
    height: 400px;
    display: none;
    flex-direction: column;
    justify-content: end;
    align-items: end;
    font-size: 13px;
    box-shadow: 0px 0px 5px black;
    z-index: 10;
    margin-top: 0;
}

.chat-header{
    background-color: #00B073;
    font-size: 14px;
    color: white;
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-align: center;
    position: absolute;
    top: 0;
}

.btn-chat-outline{
    background-color: transparent;
    color: #00B073;
    border: 1px solid #00B073;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

.btn-chat-outline:hover{
    background-color: #00B073;
    color: white;
}

.bot-controls {
    position: relative; /* Contenedor del botón y la notificación */
    margin-top: 10px;
    z-index: 12;
}

.notification-bot {
    position: absolute;
    top: 0px;
    right: 0px; 
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    animation: onda 1s infinite;
    z-index: 13;
}

.btn-chatbot {
    background-color: #ffffff;
    border-radius: 50px;
    border: 1px solid rgb(0, 204, 255);
    color: white;
    padding: 5px;
    font-size: 16px;
    z-index: 12;
    position: relative;
}

@keyframes onda {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.99;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.video-mobile{
    display: none;
}

.btn-action.mobile{
    display: none;
}

.container-camera-mobile{
    display: none;
}

.btn-container-logout{
    background-color: transparent;
    color: white;
    border: none;
    height: 60px;
    width: 100px;
    margin-left: 10px;
}

.btn-container-logout:hover{
    background-color: #078bff;
}

.container-logout{
    height: 180px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 200px;
    background-color: #078bff;
    color: white;
    position: absolute;
    top: 60px;
    right: 0;
    margin-right: 0px;
    font-size: 13px;
}

.btn-logout{
    background-color: transparent;
    border: 1px solid rgba(128, 128, 128, 0.5);
    color: rgb(0, 0, 0, 0.7);
    padding: 5px 10px;
    text-decoration: none;
    font-size: 11px;
}

.success-check {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #a2dea5;
    background-color: #f6ffed;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    animation: pop 0.5s ease-in-out;
}

.success-check svg {
    stroke: #28a745;
    stroke-width: 2;
    fill: none;
    width: 50px;
    height: 50px;
}

@keyframes pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.fast-access{
    border: 1px dashed black;
    height: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-fast-access{
    height: 80px;
    width: 230px;
    text-decoration: none;
    color: black;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-fast-access.mark{
    background-color: #E3F5E3;
}

.card-fast-access.mark:hover{
    background-color: #c8eac8;
}

.card-fast-access.create-user{
    background-color: #fffac2;
}

.card-fast-access.create-user:hover{
    background-color: #fff7a3;
}

.card-fast-access.create-user-common{
    background-color: #d3f8fa;
}

.card-fast-access.create-user-common:hover{
    background-color: #aceff5;
}

.card-fast-access.config-card{
    background-color: #DCEBE7;
}

.card-fast-access.config-card:hover{
    background-color: #b9d6cf;
}

.card-fast-access.create_company{
    background-color: #f8d0d0;
}

.card-fast-access.create_company:hover{
    background-color: #f1b0b0;
}

.all-config{
    display: flex;
}

.switch-config{
    margin-left: 10px;
}

.card-control-panel{
    border-radius: 20px;
    width: 100%;
    height: auto;
    max-width: 1150px;
}

.video_post{
    display: none;
}


@media only screen and (max-width: 768px) { /** Mobile normal **/

    .header-graphic{
        display: grid;
        justify-content: center;
        align-items: center;
    }

    .graph{
        display: none;
    }

    .graph_user{
        display: none;
    }

    .btn-graph{
        display: block;
    }

    .graph_user_mobile{
        display: block;
        width: 80%;
        height: 80%;
        margin-left: 20px;
    }

    .sidebar{
        left: -250px;
    }

    .sidebar.desactive{
        left: 0;
    }

    .main-content{
        padding-left: 0px;
        margin-left: 0px;
    }

    .main-content.shifted {
    margin-left: 130px;
    }

    .header{
        margin-left: 0px;
    }

    .header.shifted{
        margin-left: 130px;
    }

    .title-company.shifted{
        display: none;
    }

    .toggle-sidebar.shifted{
        margin-left: 40px;
    }

    .roles-permissions{
        flex-direction: column;
        justify-content: center;
    }

    .card-permissions{
        width: 350px;
    }

    .nav-gray{
        height: auto;
        min-height: 4vh;
        width: 48vh;
    }

    .th-title{
        width: 170px;
    }

    .th-date{
        margin-right: 20px;
    }

    .form-input{
        height: 40px;
        font-size: 16px;
        background-color: white;
    }

    .form-date{
        width: 150px;
    }

    .btn-role{
        background-color: white;
        min-width: 310px;
        color: black;
    }

    .nav-permissions{
        min-width: 280px;
    }

    .icon-usedAPI{
        padding: 10px;
        margin-left: 0px;
    }

    .input-search{
        width: 200px;
        height: 30px;
    }

    .name-user{
        margin-top: 11px;
    }

    .content-user{
        display: grid;
        justify-content: center;
    }

    .div-user{
        height: 120px;
    }

    .footer-content{
        transition: 0.3s;
        padding-left: 0px;
        margin-left: 0px;
    }
    
    .footer-content.shifted{
        transition: 0.3s;
        margin-left: 50px;
        padding-left: 130px;
    }

    .footer-bg{
        height: auto;
    }

    .content-footer{
        flex-direction: column;
    }

    .palo-gris{
        display: none;
    }

    .create-user-role{
        width: 400px;
    }

    .create-user-name{
        width: 400px;
    }

    .help{
        max-width: 350px;
    }

    .create_user{
        overflow-x: hidden;
    }

    .phone-email-actions{
        font-size: 11px;
    }

    .users{
        min-height: 50vh;
    }

    .sidebar-right{
        width: 250px;
        right: -250px;
    }

    .icon-mobile{
        padding: 19px;
        font-size: 18px;
    }

    .big-card{
        justify-content: center;
        align-items: center;
        width: auto;
        min-width: none;
    }

    .big-card .d-flex {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .card-user-home{
        width: 180px;
        height: 110px;
        margin: 10px;
        justify-content: center;
    }

    .card-create-user{
        width: 180px; 
        height: 110px; 
        min-width: 180px;
        min-height: 110px;
        margin: 10px;
    }

    .video-pc{
        display: none;
    }

    .video-mobile{
        display: flex;
    }

    .btn-action.mobile{
        display: flex;
    }

    .btn-action.pc{
        display: none;
    }

    .container-camera-mobile{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 150px;
    }

    .container-logout{
        top: 73px;
    }

    .all-config{
        display: grid;
    }

    .switch-config{
        margin-left: 0px;
    }

    #scheduleStudent{
        width: 300px;
        height: 250px;
    }

}

@media only screen and (max-width: 430px) { /** Mobile pequeño **/
    .main-content-footer{
        flex-direction: column;
    }

    .div-user{
        height: 200px;
    }

    .card-user{
        width: 380px;
    }

    .logo-create-user{
        width: 50px;
        height: 50px;
        margin-left: 110px;
    }

    .company-user{
        margin-left: 30px;
    }

    .phone-email-actions{
        margin-left: 80px;
    }

    .create-user-role{
        width: 600px;
    }

    .bnt-help{
        margin-right: 50px;
    }

    .big-card .d-flex {
        flex: 1 1 100%; 
        max-width: 100%;
    }

    .fast-access{
        display: none;
    }
}

@media only screen /** Tablet **/
    and (min-device-width: 834px) 
    and (max-device-width: 1194px) 
    and (orientation: portrait) {
    .all-content{
        min-height: 85vh;
    }

    .container-logout{
        top: 135px;
    }
}