.timetracker {
    width: 650px;
    height: 450px;
    
    .header_timetracker {
        width: 100%;
        height: 100px;
        margin-bottom: 1%;
        display: flex;
        justify-content: flex-end;
        
        .header_content {
            text-align: left;
            padding: 10px;
            background-color: #fafafa;
            border: 1px solid #eee;
            margin-bottom: 1%;
            display: flex;
            align-items: center;
            height: 100%;
            overflow-y: auto;
            
            .text {
                width: 60%;
                margin-right: 10px;
                font-size: 18px;
                display: inline-block;
                vertical-align: middle;
            }
            
            .timer {
                display: inline-block;
                text-align: right;
                width: 40%;
                
                .timer_text {
                    font-size: 20px;
                    font-weight: bold;
                }
                
                .timer_text_aux {
                    text-align: left;
                    display: inline-block;
                    width: 70%;   
                }
            }
        }
        
        .header_content_left {
            width: 60%;
            margin-right: 1%;
            height: 100%;
        }
        
        .header_content_right {
            width: 39%;
            height: 100%;
        }
    }
    
    .row_content {
        height: 74%;
        
        .col_left {
            position: relative;
            width: 60%;
            margin-right: 1%;
            height: 100%;
        }
        
        .col_right {
            width: 39%;
            height: 100%;
            border: 1px solid #eee;
            overflow-y: auto;
        }
        
        .search_initiatives_bar {
            margin-bottom: 1%;
            height: 10%;
            display: flex;
            align-items: center;
            justify-content: left;
            
            .input_text {
                width: 100%;
                height: 100%;
                border: 1px solid #eee;
                border-radius: 0px !important;
                padding-right: 10px;
                padding-left: 10px;
            }
        }
        
        .initiatives_container {
            width: 100%;
            height: 88.9827%;
            border: 1px solid #eee;
            overflow-y: auto;
            
            .initiative {
                height: 56px;
                text-align: justify;
                border-bottom: 1px solid #eee;
                padding: 14px;
                display: flex;
                align-items: center;
                cursor: pointer;
                
                &:hover {
                    background-color: #f5f5f5;
                }
                
                .initiative_title {
                    width: 73%;
                    
                    b {
                        overflow: hidden;
                        display: block;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-bottom: -15px;
                    }
                }
                
                .initiative_with_services {
                    width: 7%;
                    text-align: right;
                    
                    .service_icon {
                        font-size: 18px;
                        color: #b9b9b9;
                    }
                }
            }
            
            .initiative_timer {
                width: 20%;
                text-align: right;
            }
        }
        
        .services_container {
            .service {
                text-align: justify;
                border-bottom: 1px solid #eee;
                padding-left: 20px;
                padding-right: 15px;
                padding-top: 5px;
                padding-bottom: 5px;
                height: 33px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                
                .initiative_title_services {
                    b {
                        font-size: 13px;
                        overflow: hidden;
                        display: block;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-bottom: -15px;
                        width: 156px;
                    }
                }
                
                .service_timer {
                    margin-left: 35px;
                    
                    .timer_icon_services {
                        font-size: 20px;
                    }
                }
            }
            
            .service_border_top {
                border-top: 1px solid #eee;
            }
            
            .is_responsible {
                padding-top: 10px;
                padding-bottom: 7px;
                padding-left: 10px;
                display: flex;
                align-items: left;
                
                b {
                    font-size: 14px;
                }
            }
        }
    }
    
    .timer_icon {
        font-size: 24px;
    }
    
    .records_container {
        margin: 25px;
        
        .total_time {
            background-color: white;
            border-radius: 3px;
            display: flex;
            padding: 20px;
            margin-bottom: 30px;
            min-height: 250px;
            align-items: center;
            box-shadow: 0px 0px 8px 5px #f0f0f0;
            
            .circle_graph {
                padding: 20px;
                width: 50%;
                height: 300px;
                border-right: 1px solid #b9b9b9;
            }
            
            .initiatives_time {
                padding: 20px;
                width: 50%;
                line-height: 20px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                
                .initiative_info {
                    display: flex;
                    justify-content: space-between;
                    padding: 5px;
                    width: 450px;
                    
                    .initiative_text {
                        display: flex;
                        align-items: center;
                        width: 100%;
                        
                        span {
                            font-size: 12px;
                        }
                    }
                    
                    .initiative_text:after {
                        border-bottom: 1px dotted black;
                        content: '';
                        flex: 1;
                        margin: 0 10px;
                    }
                    
                    .initiative_time {
                        display: flex;
                        align-items: center;
                        height: 20px;
                        
                        span {
                            font-size: 16px;
                            font-weight: bold;
                        }
                    }
                }
                
                .total_initiative_info {
                    padding: 10px 5px;
                    margin-top: 3px;
                    border-top: 2px solid #b9b9b9;
                    width: 450px;
                    display: flex;
                    justify-content: space-between;
                    
                    .total_initiatives_text {
                        display: flex;
                        align-items: center;
                        width: 100%;
                        
                        span {
                            font-size: 16px;
                            font-weight: bold;
                        }
                    }
                    
                    .total_initiatives_text:after {
                        border-bottom: 2px dotted black;
                        content: '';
                        flex: 1;
                        margin: 0 10px;
                    }
                    
                    .total_initiatives_time {
                        display: flex;
                        align-items: center;
                        height: 25px;
                        
                        span {
                            font-size: 20px;
                            font-weight: bold;
                        }
                    }
                }
            }
        }
        
        .tables_register {
            width: 100%;
            
            .finutive_tabs {
                display: flex;
                justify-content: center;
            }
            
            .finutive_tabs_content {
                position: relative;
                border-radius: 3px !important;
                padding-bottom: 25px;
                box-shadow: 0px 0px 8px 5px #f0f0f0;
                
                .expand_contract_all {
                    display: flex;
                    justify-content: flex-end;
                    height: 32px;
                    align-items: center;
                }
            }
            
            /* Importante: "display: none;" se usa para ejecutar la animación. Si se quita, esta deja de funcionar porque requiere que la zona sobre la que se va a ejecutar no sea visible para poder funcionar */
            .animation_div {
                display: none;
            }
                        
            .title_section {
                display: flex;
                align-items: center;
                margin-top: 25px;
                margin-bottom: 15px;
                -moz-user-select: none;
                -webkit-user-select: none;
                -ms-user-select: none;
                user-select: none;
                
                .title_table {
                    display: inline-block;
                    font-size: 24px;
                    padding-right: 25px;
                    cursor: pointer;
                }
                
                i {
                    -moz-transition: all 175ms linear;
                    -webkit-transition: all 175ms linear;
                    transition: all 175ms linear;
                }
                
                i.down {
                    -ms-transform: rotate(180deg);
                    -moz-transform: rotate(180deg);
                    -webkit-transform: rotate(180deg);
                    transform: rotate(180deg);
                }
            }
            
            .table_collapsible_container {
                max-height: 100%;
                transition: max-height 0.2s ease-out;
                
                .table_mbl_stl2 {
                    border: 1px solid #eee;
                    
                    .pointer {
                        cursor: default;
                    }
                }
            }
        }
        
        .no_permissions {
            text-align: center;
            color: red;
        }
        
        .no_data_found {
            margin: 50px;
            
            .img_no_elements {
                width: 500px !important;
            }
        }
    }
    
    .px12 {
        font-size: 12px;
    }
    
    .px14 {
        font-size: 14px !important;
    }
    
    .px16 {
        font-size: 16px !important;
    }
    
    .px18 {
        font-size: 18px !important;
    }
    
    .width20 {
        width: 20%;
    }
    
    .width25 {
        width: 25%;
    }
    
    .width50 {
        width: 50%;
    }
    
    .width75 {
        width: 75%;
    }
    
    .width100 {
        width: 100%;
    }
    
    .width75px {
        width: 75px;
    }
    
    .width100px {
        width: 100px;
    }
    
    .width125px {
        width: 125px;
    }
    
    .padding5 {
        padding: 5px;
    }
    
    .margin_top {
        margin-top: 10px;
    }
    
    .margin_top25 {
        margin-top: 25px;
    }
    
    .margin_bottom {
        margin-bottom: 10px;
    }
    
    .margin_right {
        margin-right: 10px;
    }
    
    .margin_right5 {
        margin-right: 5px;
    }
    
    .margin_left {
        margin-left: 10px;
    }
    
    .margin_left25 {
        margin-left: 25px;
    }
    
    .no_margin {
        margin: 0px !important;
    }
    
    .disabled {
        opacity: 0.5;
        cursor: not-allowed;
        pointer-events: none;
    }
    
    .hidden {
        display: none;
    }
}

.modal_edit {
    .title_section {
        margin-bottom: 25px;
        
        .title_form {
            display: inline-block;
            font-size: 24px;
        }
    }
    
    .select_edit_date, .input_edit_start_hour, .input_edit_end_hour {
        padding-left: 15px;
        padding-right: 15px;
        
        label {
            display: flex;
            margin-top: 10px;
        }
        
        input {
            border: 1px solid #CCC;
            font-size: 12px;
            outline: none;
            border-radius: 2px !important;
            color: #404040 !important;
            background: white;
            padding: 4px 5px;
            height: 34px;
            box-sizing: border-box;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }
    
    .text_field_reason {
        padding-left: 15px;
        padding-right: 15px;
        
        label {
            display: flex;
            margin-top: 10px;
        }
        
        textarea {
            height: 100px;
            border: 1px solid #CCC;
            outline: none;
            border-radius: 2px !important;
            color: #404040 !important;
            background: white;
            padding: 7px 7px;
            box-sizing: border-box;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }
    
    .width100 {
        width: 100%;
    }
    
    .no_margin {
        margin: 0px !important;
    }
    
    .margin_bottom {
        margin-bottom: 10px;
    }
    
    .margin_top25 {
        margin-top: 25px;
    }
    
    .margin_right {
        margin-right: 10px;
    }

    .form_select_stl_fake_options {
        .user_group {
            border-bottom: 1px solid #f0f0f0;
            margin-bottom: 5px;
            padding-bottom: 5px;

            &:last-child {
                border-bottom: none;
            }

            .user_group_header {
                padding: 8px 10px;
                background: #fdfdfd;
                border-radius: 4px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 2px;
                font-size: 13px;
                color: #555;
                transition: all 0.2s ease;
                border: 1px solid #f0f0f0;

                &.clickable {
                    cursor: pointer;
                    &:hover {
                        background: #f5f8ff;
                        color: #2563eb;
                        border-color: #dbeafe;
                    }
                }

                i {
                    transition: transform 0.3s ease;
                    font-size: 10px;
                    color: #999;
                }
            }

            .user_group_content {
                padding: 5px 0 5px 5px;
                display: none;

                .checkbox_layer {
                    margin-bottom: 2px;
                    padding: 4px 8px;
                    border-radius: 4px;
                    &:hover {
                        background-color: #f9fafb;
                    }
                }
            }

            &.active {
                .user_group_content {
                    display: block;
                }
                .user_group_header {
                    background: #f8fafc;
                    border-color: #e2e8f0;
                    margin-bottom: 5px;
                    i {
                        transform: rotate(180deg);
                        color: #2563eb;
                    }
                }
            }
        }
    }
}
