/* =========================================================== MEDIA QUERIES =========================================================== */

/* Very large desktops and laptops */
@media (min-width: 1500px) {

    .container {
        min-width: 1500px;
        max-width: 2000px;
        width:100%;
    }
    .inner-header {
        display: table;
        background-color: #fcfcfc;
        width: 100%;
    }
    .index {
        min-width: 440px;
    }
    #level {
        display: table-cell;
    }
    .index-progression {
        flex: 1 100%;
    }
    
    .recommendations {
        width: 100%;
    }
    .history, .mainarea {
        width: 100%;
        min-height: 400px;
    }
    .history {
        color: #797979;
    }
    .history .card, .recommendations .card {
        width: 48%;
        margin-right: 2%;
    }
    .page-header .dropdown-toggle {
        padding-right: 60px;
        background: url(../images/dropdown-grey.png) no-repeat;
        margin-right: 30px;
    }
    .page-header .open .dropdown-toggle {
        padding-right: 60px;
        margin-right: 30px;
    }
    .forceheaderheight {
        min-height: 314px !important;
    }
   
    .challenge #chart_div {
        /*width: 600px !important;*/
        height: 400px !important;
        margin-top: -35px;
    }
    .chart-bar {
        max-width: 500px;
        width: 500px !important;
    }
    #index-presentation img {
        width: 300px;
        float: left;
        margin: 0 15px 15px 0;
    }
    .table-2colums-responsive {
        display: table;
        width: 100%;
    }
    .table-2colums-responsive.charts-adoption {
        margin: 0 auto;
        width: auto;
    }
    .table-2colums-responsive>div {
        display: table-row;
    }
    .table-2colums-responsive>div>div {
        display: table-cell;
        width: 50%;
        vertical-align: top;
    }
    .panels {
        position: relative;
        /*z-index: 100;
        left: 260px;
        right: 0;*/
    }
    .pull-right>.dropdown-menu {
        left: 0px;
    }
    md-dialog {
        min-width: 500px;
    }
    .modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        background-color: #333333;
        opacity:0.2;
        display: none;
    }
    #header-title {
        font-size: 2.4em;
        padding-top: 5px;
    }

    .popup-chart-fullwidth {
        width: 1000px;
    }

    .tab-card {
        min-width: 500px;
    }
}
/* Large desktops and laptops */
@media (min-width: 1300px) and (max-width: 1499px) {

    .container {
        min-width: 860px;
        max-width: 1499px;
        width:100%;
    }
    .inner-header {
        display: flex;
        flex-flow: row wrap;
        background-color: #fcfcfc;
        width: 100%;
    }
    #index {
        max-width: 580px !important;
        min-width: 370px;
        flex: 1 50%;
    }
    .index {
        min-width: 440px;
    }
    #level {
        flex: 1 50%;
    }
    .index-progression {
        flex: 1 100%;
    }
    .enterprise .inner-header, .team .inner-header, .challenge .inner-header {
        display: table;
    }
    .recommendations {
        width: 100%;
    }
    .history, .mainarea {
        width: 100%;
        min-height: 400px;
    }
    .history {
        color: #797979;
    }
    .history .card, .recommendations .card {
        width: 48%;
        margin-right: 2%;
    }
    .page-header .dropdown-toggle {
        padding-right: 60px;
        background: url(../images/dropdown-grey.png) no-repeat;
        margin-right: 30px;
    }
    .page-header .open .dropdown-toggle {
        padding-right: 60px;
        margin-right: 30px;
    }
    .forceheaderheight {
        min-height: 314px !important;
    }
    .team #chart_div {
        /*width: 900px !important;*/
        width: 100% !important;
        height: 400px !important;
    }
    .challenge #chart_div {
        /*width: 600px !important;*/
        height: 400px !important;
        margin-top: -35px;
    }
    .chart-bar {
        max-width: 500px;
        width: 500px !important;
    }
    #index-presentation img {
        width: 300px;
        float: left;
        margin: 0 15px 15px 0;
    }
    .table-2colums-responsive {
        display: table;
        width: 100%;
    }
    .table-2colums-responsive.charts-adoption {
        margin: 0 auto;
        width: auto;
    }
    .table-2colums-responsive>div {
        display: table-row;
    }
    .table-2colums-responsive>div>div {
        display: table-cell;
        width: 50%;
        vertical-align: top;
    }
    .panels {
        position: relative;
        /*z-index: 100;
        left: 260px;
        right: 0;*/
    }
    .pull-right>.dropdown-menu {
        left: 0px;
    }
    md-dialog {
        min-width: 500px;
    }
    .modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        background-color: #333333;
        opacity:0.2;
        display: none;
    }
    #header-title {
        font-size: 2.4em;
        padding-top: 5px;
    }

    .popup-chart-fullwidth {
        width: 900px;
    }

    .tab-card {
        min-width: 500px;
    }
}
/* Medium desktops and laptops */
@media (min-width: 860px) and (max-width: 1299px) {

    #index {
        flex: 1 62%;
    }
    #level {
        flex: 1 38%;
    }
    #header-title {
        font-size: 1.8em;
        padding-top: 15px;
    }
    .enterprise .inner-header, .team .inner-header, .challenge .inner-header {
        display: flex;
    }
    .enterprise #index, .team #index, .challenge #index {
        flex: 1 100%;
        width: 100%;
    }
    .enterprise .index-progression, .team .index-progression, .challenge .index-progression {
        flex: 1 100%;
    }
    .container {
        min-width: 860px;
        max-width: 1499px;
        width:100%;
    }
    .inner-header {
        display: flex;
        flex-flow: row wrap;
        background-color: #fcfcfc;
        width: 100%;
    }
    #index {
        max-width: 580px !important;
        min-width: 370px;
        flex: 1 50%;
    }
    .index {
        max-width: 580px !important;
        min-width: 440px;
    }
    .index-progression {
        flex: 1 100%;
    }
   
    .recommendations {
        width: 100%;
    }
    .history, .mainarea {
        width: 100%;
        min-height: 400px;
    }
    .history {
        color: #797979;
    }
    .history .card, .recommendations .card {
        width: 48%;
        margin-right: 2%;
    }
    .page-header .dropdown-toggle {
        padding-right: 60px;
        background: url(../images/dropdown-grey.png) no-repeat;
        margin-right: 30px;
    }
    .page-header .open .dropdown-toggle {
        padding-right: 60px;
        margin-right: 30px;
    }
    .forceheaderheight {
        min-height: 314px !important;
    }
    .team #chart_div {
        /*width: 900px !important;*/
        width: 100% !important;
        height: 400px !important;
    }
    .challenge #chart_div {
        /*width: 600px !important;*/
        height: 400px !important;
        margin-top: -35px;
    }
    .chart-bar {
        max-width: 350px;
        width: 350px !important;
    }
    #index-presentation img {
        width: 300px;
        float: left;
        margin: 0 15px 15px 0;
    }
    .table-2colums-responsive {
        display: table;
        width: 100%;
    }
    .table-2colums-responsive.charts-adoption {
        margin: 0 auto;
        width: auto;
    }
    .table-2colums-responsive>div {
        display: table-row;
    }
    .table-2colums-responsive>div>div {
        display: table-cell;
        width: 50%;
        vertical-align: top;
    }
    .panels {
        position: relative;
        /*z-index: 100;
        left: 260px;
        right: 0;*/
    }
    .pull-right>.dropdown-menu {
        left: 0px;
    }
    md-dialog {
        min-width: 500px;
    }
    .modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        background-color: #333333;
        opacity:0.2;
        display: none;
    }

    .popup-chart-fullwidth {
        width: 700px;
    }

    .tab-card {
        min-width: 500px;
    }
}
/* tablets & landscape mobile */
@media (min-width: 630px) and (max-width: 859px) {
    
    .container {
        width: 100%;
    }
    .index {
        width: 100%;
        /*height: 314px;*/
    }
    #level {
        width: 100%;
        padding-left: 32px !important;
    }
    .recommendations {
        width: 100%;
    }
    .index-progression {
        width: 100% !important;
    }
    .index-level {
        width: 100% !important;
    }
    .history, .mainarea {
        width: 100%;
    }
    .index, .recommendations, .history, .mainarea {
        display: block;
    }
    .history .card, .recommendations .card {
        width: 100%;
        margin-right: 0;
    }
    .page-header .dropdown-toggle {
        padding-right: 40px;
        background: url(../images/dropdown-grey.png) no-repeat;
        margin-right: 20px;
    }
    .page-header .open .dropdown-toggle {
        padding-right: 40px;
        margin-right: 20px;
    }
    .sidebar .forceheaderheight, .index .sidebar .forceheaderheight {
        min-height: 314px !important;
    }
    .team #chart_div {
        /*width: 700px !important;*/
        width: 100% !important;
    }
    .challenge #chart_div {
        width: 550px !important;
        height: 400px !important;
        margin-top: -25px;
    }
    .chart-bar {
        max-width: 95vw;
    }
    #header-title {
        display: none;
    }
    .table-2colums-responsive, .table-2colums-responsive>div, .table-2colums-responsive>div>div {
        display: block;
        width: 100%;
    }
    /* because charts are shown in column, remove horizontal padding */
    #detail-panel .table-2colums-responsive .margin {
        padding: 10px 0;
    }
    /*.panels {
        position: absolute;
        z-index: 100;
        left: 260px;
        right: 0;
    }*/
    #dropdown-toggle span {
        display: none;
    }
    .pull-right>.dropdown-menu {
        right: 0; 
    }
    md-dialog {
        min-width: 500px;
    }
    .modal-backdrop {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
        background-color: #333333;
        opacity:0.2;
        display: none;
    }
    .popup-chart-fullwidth {
        width: 500px;
    }

    .tab-card {
        min-width: 500px;
    }
}

/* Portrait phones and smaller */
@media (max-width: 629px) {

    .hide-on-mobile {
        display: none;
    }
    .container {
        width: 100%;
    }
    .sidebar {
        display: none !important;
    }
    .index {
        width: 100%;
        /*height: 314px;*/
    }
    #index {
        float: none !important;
        width: 100% !important;
    }
    #level {
        width: 100%;
        padding-left: 32px !important;
        min-width: 220px;
    }
    .index-progression {
        width: 100% !important;
        float: none !important;
    }
    .recommendations {
        width: 100%;
    }
    .index, .recommendations, .history, .mainarea {
        display: block;
    }
    .history, .mainarea {
        width: 100%;
    }
    .history .card, .recommendations .card {
        width: 100%;
        margin-right: 0;
    }
    .page-header .dropdown-toggle {
        padding-right: 20px;
    }
    .team #chart_div {
        width: 100% !important;
       
    }
    .challenge #chart_div {
        width: 100% !important;
        margin-top: -25px;
    }
    .chart-bar {
        max-width: 95vw;
    }
    /* because charts are shown in column, remove horizontal padding */
    #detail-panel .table-2colums-responsive .margin {
        padding: 10px 0;
    }
    #header-title {
        display: none;
    }
    .table-2colums-responsive, .table-2colums-responsive>div, .table-2colums-responsive>div>div {
        display: block;
        width: 100%;
    }
    .panels {
        position: relative;
    }
    #dropdown-toggle span {
        display: none;
    }
    .pull-right>.dropdown-menu {
        right: 0; 
    }
    /* hide backdrop on mobile*/
    .modal-backdrop {
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 0;
        z-index: 0;
        display: none;
    }
    .popup-chart-fullwidth {
        width: 500px;
    }

    .tab-card {
        min-width: 350px;
        width: 100%;
    }
}

/* =========================================================== CSS MAIN OBJECTS =========================================================== */

body {
    margin: 0px;
    padding: 0px;
    color: #4a4a4a;
    background: url(../images/light-grey.png) #f6f7f9;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}
h2 {
    font-size: 1.15em;
    font-weight: bold;
    line-height: 1em;
}
h3 {
    font-size: 1.10em;
}
ul {
    list-style-type: none;
    padding: 0px;
}
a, a:hover, a:visited {
    color: #6ec414;
    cursor: pointer;
}
.pagination>li>a, .pagination>li>span {
    color: #6ec414;
}
form .indent { margin-left: 20px; }
.popover {
    max-width: 400px !important;
}

/* =========================================================== GENERIC CLASSES =========================================================== */

.clearfix {
    content: "";
    display: table;
    clear: both;
}
.cclearfix {
    overflow: auto;
}
.clickable {
    cursor: pointer;
}
.link {
    color: #6ec414;
    cursor: pointer;
    text-decoration: underline;
}
.underline {
    text-decoration: underline;
}
.padding {
    padding: 15px;
}
.padding-top {
    padding-top: 15px;
}
.big-padding {
    padding: 16px 32px 16px 32px;
}
.huge-padding {
    padding: 50px;
}
.padding-bottom {
    padding-bottom: 30px;
}
.padding-top-bottom {
    padding-top: 30px;
    padding-bottom: 15px;
}
.small-padding-left {
    padding-left: 5px;
}
.small-padding-bottom {
    padding-bottom: 10px;
}
.medium-padding-bottom {
    padding-bottom: 10px;
}
.margin-top {
    margin-top: 15px;
}
.margin-top-separator {
    margin-top: 50px;
}
.margin-bottom-separator {
    margin-bottom: 50px;
}
.margin-bottom {
    margin-bottom: 30px;
}
.margin-horizontal {
    margin-left: 15px;
    margin-right: 15px;
}
md-dialog-content .radio {
    margin-left: 40px;
}
md-dialog-content .radio input {
    width: auto;
    height: auto;
} /*hack bug on bootstrap/angular*/
.very-big-fond {
    font-size: 5em;
    line-height: 1em;
}
md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
    background: url(../images/grey.png) #4a4a4a;
}
md-input-container {
    width: 100%;
}
md-grid-tile>figure {
    flex-direction: column;
}
md-grid-tile {
    background: #fff;
}
md-grid-tile .big-text {
    font-size: 5em;
}
.subtitle {
    font-size: 0.8em;
    font-weight: bold;
    color: #999;
    line-height: 0.8em;
    padding-bottom: 20px;
}
.commentbox {
    background: rgb(250,250,250);
    border: 1px solid #efefef;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 15px;
}
.challenge .commentbox {
    margin-top: 45px;
}
md-switch.md-checked.md-primary .md-bar {
    background-color: rgba(110, 196, 20,0.5);
}
md-switch.md-checked.md-primary .md-thumb {
    background-color: rgb(110, 196, 20);
}
.md-button.md-default-theme.md-primary.md-fab, .md-button.md-primary.md-fab, .md-button.md-default-theme.md-primary.md-raised, .md-button.md-primary.md-raised {
    background-color: #1491C4;
}
.md-button.md-default-theme.md-fab[disabled], .md-button.md-fab[disabled], .md-button.md-default-theme.md-raised[disabled], .md-button.md-raised[disabled] {
    background-color: rgba(0,0,0,0.12);
}
md-radio-button.md-default-theme .md-on, md-radio-button .md-on {
    background-color: rgba(110, 196, 20, 0.87);
}
md-radio-button.md-default-theme.md-checked .md-off, md-radio-button.md-checked .md-off {
    border-color: rgba(110, 196, 20, 0.87);
}
md-radio-button {
    margin-bottom: 6px;
}
md-progress-circular {
    margin: auto;
}
.btn-primary {
    background-color: #6EC414;
    border-color: #5cb200;
}
.btn-primary:hover {
    background-color: #4CAF50;
    border-color: #5cb200;
}
.lightbackground {
    background: #efefef;
}
.text-warning {
    color: orange;
}
.text-error {
    color: #d92c29;
}
.top-bg-warning {
    border-bottom: 1px solid #e1e1e1;
}
.privacy-info {
    display: flex;
    transition: opacity 0.7s linear;
}
.privacy-info:before {
    content: "ℹ️\00a0" /* \00a0 is a non breakable space, see https://stackoverflow.com/q/16552397/488666 */
}
.privacy-info.ng-hide {
    opacity: 0;
}
.privacy-info p {
    flex-grow: 1;
    margin: 0;
}
.privacy-info .md-button {
    min-width: 40px;
    margin: 0 0 0 5px;
}
.btn-subtext {
    font-size: 0.8em;
    color: #aaa;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background-color: #333333;
    opacity:0.2;
    display: none;
}
.read-more {
    background: url(/public/images/button-link-small.png) no-repeat;
    padding-left: 24px;
}
.x-large {
    font-size: x-large;
}
.xx-large {
    font-size: xx-large;
}
.big-popin {
    width: 1000px;
}
.no-floating-tab md-tab-item {
    float:none !important;
}
.vertical-align-top {
    vertical-align: top !important;
}
.bigger {
    font-size: 1.5em;
}
.smaller {
    font-size: 0.8em;
}
a.btn-primary {
    color: #fff;
}
.green {
    color: #6ec414;
}
.inactive {
    color: #c6c3c6;
}
img.full-width {
    width: 100%;
}
.float-right {
    float: right;
}
.relative {
    position: relative;
}
.radar-export-button {
    position: absolute;
    top: 5px;
    right: 5px;
}
.dropdown-toggle img {
    width: 42px;
    height: 42px;
    -moz-border-radius: 21px;
    -webkit-border-radius: 21px;
    border-radius: 21px;
}
.bottom-grey-border {
    border-bottom: 1px solid #c6c3c6;
}
ul.airy {
    padding: 7px 0;
}
.airy li {
    padding: 3px 0;
}
/* =========================================================== COOKIE BAR =========================================================== */
#cookie-bar {background:#111111; height:auto; line-height:24px; color:#eeeeee; text-align:center; padding:3px 0;}
#cookie-bar.fixed {position:fixed; top:0; left:0; width:100%;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a {color:#ffffff; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:#6eC414;}
#cookie-bar .cb-policy {background:#1491c4;}
/* =========================================================== CLASSES =========================================================== */


.container {
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    /*margin-right: auto;*/
}

.page-header {
    width: 100%;
    background: #4a4a4a;
    color: #fff;
    height: 66px;
    margin: 0;
    padding: 0;
    border: 0;
}
.logo {
    float: left;
}
.logo>img {
    height: 55px;
    padding-left: 15px;
    padding-top: 6px;
}
#header-title {
    height: 60px;
    padding-left: 40px;
    font-weight: bold;
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#header-title span {
    font-size: 0.7em;
}

#dropdown {
    max-width: 30%;
    flex: 0 0 auto;
}
#dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#dropdown-toggle > div {
    margin: 0 0.5rem;
}
#dropdown-toggle .username {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-footer {
    width: 100%;
    background: #fff;
    height: 46px;
    margin: 0;
    padding: 13px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    opacity: 0.9;
    filter: alpha(opacity=90);
    border-top: 1px solid #c6c3c6;
    z-index: 100;
}
.page-footer a, .page-footer span {
    color: #999;
}
.page-footer a:hover {
    color: #6ec414;
}
.page-footer span {
    margin: 0 10px;
}
.page-header .dropdown-toggle, .page-header .open .dropdown-toggle {
    margin-top: 12px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    background-position: right;
}

.dropdown-menu {
    border: 0;
    border-radius: 0;
    background: #4a4a4a;
    color: #fff;
    padding: 10px;
}
.dropdown-menu li:not(:last-child) {
    border-bottom: 1px solid #42576c;
    min-height: 32px;
}
.dropdown-menu li>a {
    padding: 4px 0 3px 37px;
    color: #f9f9fa;
    background-size: 21px 29px;
}
.dropdown-menu li>a:hover {
    color: #92a7bb;
    background-color: #4a4a4a;
}
.dropdown-menu li>.personal {
    background: url(../images/picto-indicator.png) no-repeat;
}
.dropdown-menu li>.enterprise {
    background: url(../images/picto-team.png) no-repeat;
}
.dropdown-menu li>.logout {
    background: url(../images/picto-logout.png) no-repeat;
}
.dropdown-menu li>.settings {
    background: url(../images/picto-myprofile.png) no-repeat;
}
.dropdown-menu li>.help {
    background: url(../images/picto-help.png) no-repeat 2px 6px;
}
.dropdown-menu li>.managedomain {
    background: url(../images/picto-settings.png) no-repeat;
}

.page {
    width: 100%;
    background: #fff;
    display: table;
    padding-bottom: 40px;
}
.sidebar {
    width: 260px;
    display: table-cell;
    vertical-align: top;
}
.sidebar .margin {
    margin-left: 15px;
    margin-right: 15px;
    width: 230px;
}
.sidebar h2 {
    font-size: 1.05em;
}
.profile {
    padding-bottom: 7px;
    display: table;
}
.profile img {
    width: 80px;
    height: 80px;
    float: left;
    margin-right: 10px;
    display: table-cell;
    background: url(../images/profiles/default.png) no-repeat;
    background-size: 100% 100%;
}
.profile .title {
    font-size: 1.15em;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.customer-logo {
    height: 100px;
    /*text-align: center;*/
}
.sidebar .customer-logo img {
    max-height: 60px;
    max-width: 150px;
    margin-top: 15px;
}
.sidebar .customer-logo-enterprise img {
    width: 100%;
    max-height: 300px;
    padding: 10px;
}
.top-separator {
    border-top: 2px solid #f1f1f1;
    padding-top: 25px;
    margin-top: 14px;
}
.top-separator:after {
    content: "";
    display: table;
    clear: both;
}
.top-separator > h2 {
    margin-top: 0px;
    margin-bottom: 20px;
}
.collapse-arrow {
    background-image: url(../images/dropdown-white-up.png);
    background-position: right top;
    background-repeat: no-repeat;
    height: 22px;
    cursor: pointer;
}
.collapse-arrow.collapsed {
    background-image: url(../images/dropdown-white.png);
}
.teams {
    min-height: 112px;
}
.teams .title {
    font-weight: bold;
}
.teams .list {
    float:right;
    width: 140px;
    text-transform: capitalize;
}
.teams .selected, .admin .selected, .indexes .selected {
    background: url(../images/team-selected-arrow.png) right top no-repeat;
    width: 100% !important;
    color: #222 !important;
    display: block;
}
.ranking li {
    width: 100px;
    height: 100px;
    background: url(../images/ranking.png) no-repeat;
    text-align: center;
    float: left;
    display: block;
    color: #fff;
    font-size: 0.8em;
    margin: 0 7px 14px 7px;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -o-hyphens: auto;
    hyphens: auto;
    overflow-wrap:break-word;
    cursor: pointer;
}
.ranking li span.rank-team {
    height: 37px;
    overflow: hidden;
    display: block;
}
.ranking li:nth-child(4n+1) {
    background: url(../images/ranking.png) no-repeat; /* TODO : add 2 more colors */
}
.ranking li:nth-child(4n+2) {
    background: url(../images/ranking_blue.png) no-repeat;
}
.ranking li:nth-child(4n+3) {
    background: url(../images/ranking_red.png) no-repeat;
}
.ranking li:nth-child(4n+4) {
    background: url(../images/ranking_purple.png) no-repeat;
}
.ranking li .title {
    font-size: 5rem;
    display: block;
    font-weight: bold;
    padding-top: 3px;
    line-height: 1.2;
    min-height: 6.4rem;
}
.indexes.top-separator, .badges.top-separator, .ranking.top-separator { /* reduce the margin of the ranking bottom area */
    margin-top: 0px;
}
.indexes .title {
    width: 176px;
    display: block;
    color: #999;
    float: left;
    /* height: 28px; */
    overflow: hidden;
    min-height: 28px;
}
.indexes .value {
    font-weight: bold;
    display: inline;
    font-size: 1.2em;
}
.indexes .subvalue {
    font-weight: bold;
    display: inline;
    font-size: 1em;
}
.badges li.badgeitem {
    float: left;
    margin-bottom: 20px;
}
.badges img {
    width: 100px;
    height: 100px;
}
.badges li.badgeitem:nth-child(odd) {
    margin-right: 30px;
}
.badges li.badgeitem:nth-child(even) {
    margin-right: 0px;
}

.inner {
    display: table-cell;
    vertical-align: top;
}
.inner-header {
    width: 100%;
}

.objective .value span, .objective .value .btn-group-vertical {
    float: left;
}
.value .objectivereached {
    margin-left: 95px;
}

.indicator {
    background: url(../images/index-bkg.png);
    height: 178px;
    background-size: 100% 178px;
    margin-bottom: 13px;
}
.indicator .level {
    height: 139px;
    /*opacity: 0.9;
    filter: alpha(opacity=90);*/
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.indicator .levelmax {
    height: 139px;
    opacity: 0.4;
    filter: alpha(opacity=40);
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.indicator .graduations {
    width: 100%;
    height: 139px;
    position: absolute;
    top: 0;
    left: 0;
    background: url(../images/index-graduations.png);
    background-size: 100% 139px;
    opacity: 0.3;
    filter: alpha(opacity=30);
}
.indicator .tendancy {
    position: absolute;
    top: 20px;
    font-size: 2em;
    left: 120px;
    width: 400px;
}
.indicator .frame {
    position: relative;
    margin-left: 0.5%;
    margin-right: 1%;
}
.level1 {
    background-color: #fb5950;
}
.level2 {
    background-color: #fab14e;
}
.level3 {
    background-color: #f9e44e;
}
.level4 {
    background-color: #f7fa48;
}
.level5 {
    background-color: #e7f442;
}
.level6 {
    background-color: #d6ed3b;
}
.level7 {
    background-color: #c5e633;
}
.level8 {
    background-color: #b2e02d;
}
.level9 {
    background-color: #9dd721;
}
.level10 {
    background-color: #88d116;
}
.indicator .level1 {
    width: 10%; /*default position of the indicator. Overwriten by the inline style in the view*/
}
.indicator .level2 {
    width: 20%;
}
.indicator .level3 {
    width: 30%;
}
.indicator .level4 {
    width: 40%;
}
.indicator .level5 {
    width: 50%;
}
.indicator .level6 {
    width: 60%;
}
.indicator .level7 {
    width: 70%;
}
.indicator .level8 {
    width: 80%;
}
.indicator .level9 {
    width: 90%;
}
.indicator .level10 {
    width: 100%;
}
.indicator .value {
    color: #fff;
    padding-left: 30px;
    text-shadow: 2px 2px 8px #999
}
.indicator .value {
    position: absolute;
    top: 0;
    left: 0;
    height: 139px;
}
.indicator .subvalue {
    font-size: 1.2em;
    position: absolute;
    top: 105px;
    left: 30px;
    color: #fff;
    text-shadow: 2px 2px 8px #999;
    border: 1px solid #fff;
    padding: 2px;
}
.integer {
    font-size: 6em;
    font-weight: bold;
    line-height: 1.4em;/*1.1em*/
}
.digit {
    font-size: 3em;
}
.indicator .description {
    color: #fff;
    line-height: 1.1em;
    font-weight: bold;
    text-shadow: 2px 2px 4px #888;
}
.team #index h2, .enterprise #index h2 {
    margin-left: 3px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.team #index .objective, .enterprise #index .objective {
    padding-bottom: 15px;
}
.team #chart_div {
    height: 400px !important;
}
a.panel-opener {
    padding: 0 20px 3px 0;
    font-size: 0.95em;
}
#position-bar-chart-container {
    width: 100%;
    margin: 30px 0 0 0;
}

.history, .recommendations {
    padding: 10px 0px 0px 30px;
}
.history {
    padding-bottom: 40px;
}
.mainarea {
    padding: 5px 30px;
}
.history .date {
    width: 100%;
    text-align: center;
    background: url(../images/date-separator.png) repeat-x;
    margin: 25px 0 20px;
}
.history .date span{
    padding-left: 10px;
    padding-right: 10px;
    background: url(../images/medium-grey.png) #edf0f3;
    font-size: 1em;
    font-weight: bold;
}
.history .card, .recommendations .card {
    float: left;
    background: #fff;
    margin-bottom: 18px;
}
.recommendations-overview .card {
    background: #fff;
    margin-bottom: 18px;
    max-width: 600px;
}
.card .description {
    padding: 10px;
}

.recommendations {
    background: #e5e5e5;
}

.clear {
    background-image: none;
    background: #fff;
}
.dark {
    background: url(../images/medium-grey.png) #edf0f3;
}
.nomargintop {
    margin-top: 0px !important;
}
.nomargin {
    margin: 0px !important;
}

.recommendations .indicator {
    width: 70%;
    height: 100px;
    background: url(../images/index-bkg.png);
    background-size: 100% 100px;
    margin-bottom: 20px;
}
.recommendations .indicator .level {
    height: 79px;
    margin-left: 1px;
}
.recommendations .indicator .level .value .integer {
    font-size: 4em;
}
.cardwithpicture {
    min-height: 110px;
    padding: 10px 10px 10px 110px;
}
.guide-card {
    background: #1491c4 url(../images/icons/picto-lightbulb.png) no-repeat top left;
    color: #fff;
}
.index-level {
    margin: auto;
}
.index-card .level, .daily-card .level {
    width: 100px;
    font-size: 3em;
    text-align: center;
    padding-top: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px #999;
}
.index-card .level {
    height: 100px;
    float: left;
    clear: none;
    margin-right: 10px;
}
.daily-card .level {
    vertical-align: top;
}
.index-card .description {
    clear: none;
    padding-top: 10px;
}
.action-card, .other-card {
    border-left: 4px solid #6ec414;
    min-height: 40px;
}
.user-card {
    border-left: 4px solid #FFC107;
    min-height: 40px;
}
.action-card .cardtitle, .other-card .cardtitle {
    color: #6ec414;
}
.action-card b, .other-card b, .action-card strong, .other-card strong {
    color: #6ec414;
    font-weight: 500;
}
.user-card .cardtitle {
    color: #FFC107;
}
.user-card b, .user-card strong {
    color: #FFC107;
    font-weight: 500;
}
.action-card .description {
    padding-left: 66px !important;
    background-position: 12px top;
    background-repeat: no-repeat;
    padding-right: 10px !important;
}

.action-card {
    padding-top: 10px;
    padding-bottom: 10px;
    background-position: 12px 10px;
}
.action-card-button, .card-button {
    float:right; 
    width: 44px;
    text-align: center;
    height: 40px;
    background: url(../images/button-link.png) no-repeat;
}
.action-card-button.tick-button, .card-button.tick-button {
    background: url(../images/button-tick.png) no-repeat;
}
.action-card-button {
    margin-top: 10px;
}
.weekly-card div {
    width: 50%;
    float: left;
}
.monthly-card>div, .rank-card>div, .mgmt-card>div, .tool-card>div, .default-card>div, .user-card>div, .other-card>div {
    padding: 10px;
}
.default-card, .rank-card, .mgmt-card {
    border-left: 4px solid #1491C4;
}
.tool-card {
    border-left: 4px solid #7000B2;
}
.default-card .card-button, .rank-card .card-button, .mgmt-card .card-button {
    background-image: url(../images/button-link-blue.png);
}
.tool-card .card-button {
    background-image: url(../images/button-link-purple2.png);
}
.user-card .card-button {
    background-image: url(../images/button-link-yellow.png);
}
.default-card a, .rank-card a, .mgmt-card a {
    color: #1491C4;
}
.tool-card a {
    color: #7000B2;
}
.default-card .cardtitle, .rank-card .cardtitle, .mgmt-card .cardtitle {
    color: #1491C4;
}
.default-card b, .rank-card b, .mgmt-card b, .default-card strong, .rank-card strong, .mgmt-card strong {
    color: #1491C4;
    font-weight: 500;
}
.tool-card .cardtitle {
    color: #7000B2;
}
.tool-card b, .tool-card strong {
    color: #7000B2;
    font-weight: 500;
}
.default-card, .rank-card, .mgmt-card, .tool-card, .user-card, .other-card {
    padding-left: 20px;
}

.weekly-card-text {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
}
.panels {
    background: #eee;
    padding: 10px;
    min-height: 100vh;
}

.team #chart_div>div>div, .challenge #chart_div>div>div {
    background: url(../images/index-chart.png) no-repeat;
    background-size: 100% 100%;
}
.team .history {
    min-height: 500px;
}
.btn-group-vertical {
    vertical-align: top;
}
#detail-panel {
    clear: both;
}
#detail-panel .margin {
    padding: 10px;
}

.nodata {
    padding-top: 62px;
    text-align: center;
    width: 100%;
    color: #B5C7DA;
    background-position: center 10px;
    background-repeat: no-repeat;
    padding-bottom: 10px;
    font-weight: bold;
}
.indexes .nodata, .index-progression .nodata, .mainarea .nodata, #index-progression .nodata, .team .nodata {
    background-image: url(../images/nodata-chart.png);
}
.badges .nodata {
    background-image: url(../images/nodata-badge.png);
}
.recommendations .nodata {
    background-image: url(../images/nodata-recommendation.png);
}
.history .nodata {
    background-image: url(../images/nodata-history.png);
}
.admin h1 {
    font-size: 2em;
    color: #fff;
    background-color: #0f0;
    display: block;
    width: 100%;
    padding: 12px;
    margin: 0px;
}
.admin md-toolbar.md-hue-3:not(.md-menu-toolbar) {
    background: #ddd;
}
.admin-thumbs li {
    float: left;
    padding: 60px;
    font-size: 1.5em;
    text-align: center;
}
.admin-thumbs li img {
    height: 80px;
}
.admin-thumbs li a {
    text-decoration: none;
}
.admin {
    min-height: 500px;
}
.profileform .inner h2 {
    margin-top: 50px;
    margin-bottom: 50px;
}

.article .inner {
    text-align: justify;
    padding: 20px;
    background-color: #f1f1f1;
}
.article .inner h1 {
    margin-bottom: 30px;
}
.article .inner ul {
    list-style: none; /* Remove list bullets */
    padding: 0;
    margin: 0;
}

.article .inner li { 
    padding-left: 16px; 
}

.article .inner ul {
    list-style-type: disc;
    padding-left: 30px;
}
.article .inner-header {
    background-color: transparent;
}
.article-table {
  margin: 10px auto;
  max-width: 700px;
  border-collapse: collapse;
  border: 2px solid rgb(100, 100, 100);
}

.article-table td,
.article-table th {
  border: 1px solid rgb(150, 150, 150);
  padding: 7px 5px;
}

.article-table td {
  text-align: center;
}

.article-table caption {
  padding: 10px;
  caption-side: bottom;
  font-style: italic;
  font-weight: normal;
  color: #67c;
}
.article-table h2 {
  margin: 0;
  padding: 0;
  line-height: 25px;
}
.article table td {
    padding: 0 10px 10px 10px;
    vertical-align: top;
}
.article h3 {
    color: #6ec414;
    font-weight: bold;
    text-decoration: underline;
}
.chart-item {
    width: 50%;
    min-height: 180px;
    background: url(../images/loading.gif) no-repeat center center;
}
.chart-radar {
    margin-top: 15px;
    /*max-width: 470px;*/ /* removed by MPA 2020-11-28, as this truncates long labels */
    max-height: 470px;
    margin: auto;
    min-height: 350px;
}
.chart-bar {
    min-height: 350px;
    max-height: 350px;
    /* max-width ===> moved to responsive sections */
    margin: 15px auto 0 auto;
}
.likebox {
    padding: 5px 10px 8px 0;
}
.likebox, .likebox a {
    color: #bebebe;
    font-size: 0.9em;
}
.likebox a:hover {
    text-decoration: none;
    color: #6ec414;
}
.guide-card .likebox, .guide-card .likebox a {
    color: #efefef;
}
.cardcontent strong {
    font-weight: 500;
    font-style: italic; 
}
.cardcontent .learn-more {
    margin: 15px 0 0 5px;
}
.cardcontent .learn-more .glyphicon {
    vertical-align: top;
    font-size: 1.4em;
}
.badge-card .cardcontent {
    display: block;
    min-height: 66px;
    padding-left: 10px;
}
.guide-card .cardcontent {
    display: block;
    min-height: 57px;
}
.guide-card .cardtitle {
    color: #fff;
}
.rank-card .likebox, .default-card .likebox, .mgmt-card .likebox, .tool-card .likebox, .user-card .likebox {
    display: block;
}
.index-chart text {
    display: none !important;
}
.team .google-visualization-tooltip-item-list li, .challenge .google-visualization-tooltip-item-list li {
    display: none;
}
.team .google-visualization-tooltip-item-list li:first-child, .challenge .google-visualization-tooltip-item-list li:first-child {
    display: block;
}
.popover-content ul {
    list-style-type: disc;
    padding-left: 10px;
}
.index-progression {
    vertical-align: top;
}
.index-progression h2, .recommendations h2 {
    padding-bottom: 20px;
}
.index-progression .pull-right {
    margin-top: 15px;
}
.personal .index-progression .pull-right {
    margin-top: -5px;
}
.readmoreexpandable {
    position: relative;
}
.readmoreindicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 30px 0;
    background-image: linear-gradient(to bottom, transparent, lightgrey);
}
.position-bar {
    display: table;
    width: 100%;
    height: 125px;
    background: url(../images/position-bar-bkg.png) repeat-x;
}
.position-bar>div {
    display: table-cell;
    position: relative;
    color: #3d3d3c;
    font-size: 0.8em;
    font-weight: bold;
}
.position-bar .left, .position-bar .right {
    width: 72px;
    padding-top: 13px;
    text-align: center;
}
.position-bar .left .round, .position-bar .right .round {
    width: 72px;
    height: 72px;
    color: #fff;
    font-size: 2.5em;
    background-image: url(../images/position-bar-side-bkg.png);
    background-repeat: no-repeat;
    padding-top: 14px;
    font-weight: normal;
    text-shadow: 2px 2px 4px #999;
}
.position-bar .center .round {
    height: 98px;
    color: #fff;
    font-size: 3.4em;
    background-image: url(../images/position-bar-center-bkg.png);
    background-repeat: no-repeat;
    padding-top: 17px;
    font-weight: normal;
    text-shadow: 2px 2px 4px #999;
}
.position-bar .center #position-bar-center {
    text-align: center;
    width: 98px;
}
.position-bar .center .tag {
    width: 120px;
    text-align: center;
    position: absolute;
    color: #868686;
    font-weight: bold;
}
.enterprise-objective, .team-objective {
    position: relative;
    overflow: visible !important;
    border-right: 3px solid #08b12c;
}
.enterprise-objective > div, .team-objective > div {
    position: absolute;
    top: -9px;
    right: -8px;
}
.enterprise-objective > div > span, .team-objective > div > span {
    color: #fff;
    text-shadow: 3px 3px 3px #999;
    cursor: pointer;
}
.cardtitle {
    font-weight: bold;
    display: block;
    color: #888;
}
.cardtitle:first-letter {
    text-transform: uppercase;
}
md-tabs md-ink-bar {
    color: #6ec414;
    background: #6ec414;
}
.center-chart {
    margin: 10px auto;
}
.pull-right md-switch {
    margin: 0;
}
.card-media {
    margin-right: 16px;
    overflow: hidden; 
}
.md-subhead.description {
    color: rgba(255, 255, 255, 0.7);
}
.card-media md-icon {
    width: 40px;
}
span.card-title {
    padding-left: 15px;
    margin-top: 20px;
}
.table-price td {
    padding: 10px;
}

.alert {
    margin-bottom: 0px;
}
.thumbs-list {
    color: #f00;
}
.thumbs-list li {
    padding-top: 20px;
    padding-left: 5px;
    padding-right: 15px;
    display: inline-block;
    color: #757575;
    vertical-align: top;
}
.thumbs-list li>div {
    display: block;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin: 10px 0;
    background-color: #f1f1f1;
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    position: relative;
    text-align: start;
    height: 290px;
    width: 220px;
}
.thumbs-list li>div:hover {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.34), 0 3px 1px -2px rgba(0,0,0,0.32), 0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.34), 0 3px 1px -2px rgba(0,0,0,0.32), 0 1px 5px 0 rgba(0,0,0,0.2);
}
.thumbs-list li>div>div {
    display: block;
    left: 15px;
    position: relative;
    width: 193px;
}
.thumbs-list img {
    width: 220px;
    height: 140px;
    border: 0;
}
.thumbs-list .title {
    font-weight: bold;
    padding: 6px 0 6px 0;
}
.thumbs-list .description {
    height: 70px;
    overflow: auto;
}
.thumbs-list .readmore {
    text-align: center;
}
.challenge-background {
    background: #76acc1;
    border-bottom: 1px solid #1491C4;
}
md-grid-list md-grid-tile md-grid-tile-footer, md-grid-list md-grid-tile md-grid-tile-header {
    background-color: #6ec414;
    font-size: 1.2em;
}
md-grid-list md-grid-tile md-grid-tile-header h3 {
    font-size: 16px;
}
md-grid-tile p {
    margin: 0;
}
.align-pull-right-with-h2 {
    padding-top: 12px;
}
#level {
    min-width: 220px;
}
.level-padding {
    padding: 0px 20px 0px 20px;
}
#level table td {
    font-size: 14px;
    color: #c6c3c6;
    font-weight: bold;
    text-transform: uppercase;
}
#level .subtitle {
    text-align: left;
    margin-bottom: 22px;
}
#level table .selected td {
    color: #4a4a4a;
}
#level div {
    width: 230px;
    margin: auto;
}
md-autocomplete-parent-scope .md-avatar {
    width: 50px;
    height: 50px;
}
img.md-avatar {
    max-width: 96px;
}

.md-list-tabs-order {
    float: left;
    padding-left: 2rem;
}
.md-list-tabs-order h3 {
    margin: 10px auto;
}
.config-tabs-order {
    width: 300px;
    border-radius: 0.5rem;
    background: #eee;
    box-shadow: 0 0 0.5rem #bbb, inset 1rem 1rem 1rem #ddd;
    padding-top: 0.4rem;
}
.config-tabs-dashboard {
    height: 51rem;
}
.config-tabs-enterprise {
    height: 41rem;
}
.config-tabs-team {
    height: 55rem;
}
.config-tabs-group {
    height: 55rem;
}
.config-tabs-order li {
    border: 1px solid #555;
    border-radius: 3px;
    background-color: rgba(110, 196, 20, 0.3);
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    padding: 8px;
    margin: 10px;
    cursor: grab;
}
.config-tabs-order.masked li {
    opacity: 0.5;
}
.assigned-team-list {
    border-collapse:separate; 
    border-spacing: 0 0.5rem;
}
.assigned-team-list md-icon {
    width: 18px; height: 18px; min-width: 18px; min-height: 18px; vertical-align: text-bottom;
}
/* avoid issue with wrong checkbox updated at click, when checkboxes are close to each other */
.assign-teams-to-users md-checkbox .md-container:after {
    display: none;
}
#collapseTeamsObserved .teams-pagination {
    text-align: center;
    margin: 10px auto;
}
#collapseTeamsObserved .teams-pagination button {
    padding: 3px 6px;
    min-width: 30px;
}
#collapseTeamsObserved .teams-filter md-input-container {
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
}
#collapseTeamsObserved .teams-filter .md-errors-spacer {
    display: none;
}
.userDisabled, .itemDisabled {
    font-style: italic;
    color:#999;
}
/* progress dialog */
md-progress-linear,
md-progress-linear .md-container,
md-progress-linear .md-container .md-bar { height: 50px }
/* edit axis labels */
table.edit-axis-label {
    margin-bottom: 8px;
}
table.edit-axis-label td {
    padding: 8px;
}
table.edit-axis-label label {
    margin: 0;
}
/* subteams in 'settings' panel of team dashboards */
.subteams {
    min-height: 400px;
}
.subteams h2 {
    margin-top: 1rem; margin-bottom: 2rem;
}
.subteams .table {
    width: auto;
}
.subteams .group-icon {
    width: 24px; height: 24px;
}
.subteams .active-cell {
    text-align: center;
}

.admin-teams th, .admin-teams td {
    text-align: center;
}

.index-precision-selector {
    display: flex; justify-content: flex-end; margin-right: 1rem;
}
.index-precision-selector label {
    margin: 1rem; margin-top: 1.5rem; display: inline-block;
}
.index-precision-selector md-select {
    flex-grow: 1; margin: 1rem 0; max-width: 70px;
}
.loading-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 255, .7);
    z-index: 10; /* leaving default z-index leads to weird results with md-material elements */
    /* center spinner inside the absolute div */
    align-items: center;
    display: flex;
    justify-content: center;
}
/* change spinner color, see https://stackoverflow.com/a/41609987/488666 */
.loading-animation md-progress-circular svg path { stroke: #6EC414; }
/* help for teams import */
.help-import ul {
    margin-left: 2rem;
}
.help-import li {
    list-style-type: circle;
}
.help-import li > ul > li {
    list-style-type: disc;
}
/* in help articles, table with details about index calculation */
.index-calculation {
    margin: 2rem auto;
}
.index-calculation td {
    padding: 1rem 2rem;
    border: 3px solid white;
}
.index-calculation tr.index-formula {
    background-color: #a4c2f4;
    font-size: 24px;
}
.index-calculation tr.index-formula table {
    margin: auto;
}
.index-calculation tr.index-formula table td {
    text-align: center;
    padding: 0;
    border: 0px none;
}
.index-calculation tr.index-formula .big {
    font-size: 40px;
}
.index-calculation tr.index-formula .bold {
    font-weight: bold;
    width: 12rem;
}
.index-calculation td.action-desc,
.index-calculation td.scope-desc,
.index-calculation td.frequency-desc,
.index-calculation td.consistency-desc {
    vertical-align: top;
    text-align: left;
}
.index-calculation td.action-desc strong,
.index-calculation td.scope-desc strong,
.index-calculation td.frequency-desc strong,
.index-calculation td.consistency-desc strong {
    font-size: 24px;
    font-weight: bold;
}
.index-calculation td.action-desc {
    background-color: #d4a6bd;
    width: 20vw;
}
.index-calculation td.scope-desc {
    background-color: #fee599;
    width: 20vw;
}
.index-calculation td.frequency-desc {
    background-color: #b6d7a8;
    width: 20vw;
}
.index-calculation td.consistency-desc {
    background-color: #f9cb9c;
}
/* for help article describing columns in team exports statistics */
.team-statistics th { background-color: #fcfcfc; }
.team-statistics .comment { background-color: #ddd; font-style: italic; }

/* 
   GenAI Users Table Styles
   */

/* Table wrapper (allow horizontal scroll) */
.genai-table-wrapper {
  width: 100%;
  overflow-x: auto;  
}

/* Table container */
.tab-table-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between; 
    gap: 20px;
}
.tab-table-header-right {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-end;
    max-width: 800px;
}

/* Time range selector */
.time-range-selector {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  height: 36px;
}

.time-range-selector label {
  margin: 0;
  margin-right: 8px;  
  font-size: 13px;
  color: #666;
  font-weight: bold;  
  white-space: nowrap;
  padding-bottom: 8px; 
}

.time-range-selector .compact-select {
  min-width: 120px;
  max-width: 150px;
  font-size: 13px;
}
.time-range-selector md-select {
  margin-bottom: 0;
}

.time-range-selector md-select .md-select-value {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 4px;
}
.time-range-selector md-select:not([disabled]):focus .md-select-value {
  border-color: #1491C4;
  border-width: 2px;
  padding-bottom: 7px; 
}
md-select-menu md-content md-option[selected] {
  color: #1491C4;
}

/* Table content */
.genai-users-table-content {
  border-collapse: collapse;
  table-layout: fixed; /* fixed column width to avoid overflow */
  font-size: 14px;
  min-width: 100%;
}

.genai-users-table-content thead tr {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd";
}

/* Table header */
.genai-users-table-content thead th {
  padding: 12px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  background-color: #f5f5f5;
  border-bottom: 2px solid #ddd;
  font-weight: 600;
  color: #555;
  transition: background-color 0.2s;
}

.genai-users-table-content thead th:hover {
  background-color: #ebebeb;
}

.genai-users-table-content thead th i {
  font-style: normal;
  margin-left: 5px;
  color: #666;
}

/* Table rows */
.genai-users-table-content tbody tr {
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.genai-users-table-content tbody tr:hover {
  background-color: #f9f9f9 !important;
}

/* Table cells */
.genai-users-table-content tbody td {
  padding: 10px;
  white-space: nowrap;
  text-align: center;
}

/* First column (Name) wider */
.genai-users-table-content th:nth-child(1),
.genai-users-table-content td:nth-child(1) {
  text-align: left;
  white-space: nowrap;
}

/* Other columns equal width */
.genai-users-table-content th:nth-child(n+2),
.genai-users-table-content td:nth-child(n+2) {  
  text-align: center;
}

/* Alternate row background */
.genai-users-table-content tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Category badges */
.category-badge {
  display: inline-block;
  padding: 4px 6px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

.category-inactive { background-color: #d3d3d3; color: #666; }
.category-occasional { background-color: #e85a5a; color: #fff; }
.category-active { background-color: #fab14e; color: #333; }
.category-very-active { background-color: #f7fa48; color: #333; }
.category-power { background-color: #deefcc; color: #333; }
.category-super-power { background-color: #6ec414; color: #fff; }

.genai-tables {
  display: flex;
  flex-direction: row; 
  justify-content: space-around;
  gap: 20px; 
}
.genai-tables > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: 100%; 
}


.tab-content {
    padding: 20px;
}
.tab-block {
    padding-bottom: 20px;
}
.tab-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1;
    container-type: inline-size; /* for the container queries */
}
.tab-card .title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #6eb841;
    text-align: center;
    margin-bottom: 15px;
}
.tab-card .subtitle {
    font-size: 13px;
    text-align: center;
    margin-top: -10px;
    margin-bottom: 15px;
}
.tab-card h2 {
    color: #6eb841;
}
.tab-card .title div {
    color: #ccc;
    font-weight: 400;
    font-size: 13px;
}
.tab-1-cols-responsive {
    width: 100%;
}
.tab-2-cols-responsive {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
}
.digital-engagement-level {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.digital-engagement-level .category-badge {
    margin-top: -100px;
    font-size: 1.5em;
    margin-bottom: 40px;
}
.gauge-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    line-height: 1.2;
}

.gauge-legend span:not(.legend-item) {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 3px;
}

.engagement-chart-container {
  flex: 0 0 420px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tab-block h5 {
  margin: 0 0;
  font-size: 16px;
  font-weight: 600;
  color: #6eb841;
  text-align: center;
}

.gauge-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.4;
  max-width: 360px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.legend-color {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
/* Agents Table */
.agents-table-container {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.middle-section {
  margin-bottom: 30px;
}

.period-selector-container {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 15px;
  row-gap: 6px;
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: hidden;
}

.period-selector-container label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.period-selector-container > * {
  max-width: 100%;
}
.custom-range-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}

.custom-date-input {
  height: 34px;
  padding: 4px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  min-width: 140px;
  max-width: 100%;
  box-sizing: border-box;
}

.time-range-selector {
  min-width: 0;
  max-width: 100%;
}

.application-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-basis: 100%;
  justify-content: center;
}
.agent-period-container {
  display: flex;
  flex-direction: column;  
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  gap: 10px;
}
.agent-period-container .period-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.period-range-tab,
.period-range-tab .tab-block,
.period-range-tab .tab-card,
.period-range-tab .tab-1-cols-responsive,
.period-range-tab .tab-2-cols-responsive {
  max-width: 100%;
  overflow-x: hidden;
}

.period-range-tab .tab-card canvas {
  max-width: 100% !important;
}

.tab-content,
.tab-block,
.tab-card,
.tab-1-cols-responsive,
.tab-2-cols-responsive {
  max-width: 100%;
  overflow-x: hidden;
}

/* Statistics Cards */
.statistics-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.user-statistics-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.stat-card {
  background: linear-gradient(135deg, #7ec850 0%, #6eb841 100%);
  color: white;
  padding: 25px 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.stat-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0.95;
}
.stat-value-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}
.stat-value {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1;
}
 .stat-trend {
     display: flex;
     align-items: center;
     gap: 4px;
     font-size: 0.875rem;
     font-weight: 600;
     padding: 4px 8px;
     border-radius: 6px;
     background: #f3f4f6;
 }

 .trend-icon {
     font-size: 1rem;
     line-height: 1;
     display: flex;
     align-items: center;
 }

 .trend-icon svg {
     width: 16px;
     height: 16px;
 }

 .trend-up {
     color: #10b981;
 }

 .trend-down {
     color: #ef4444;
 }

 .trend-neutral {
     color: #6b7280;
 }

 .trend-percentage {
     font-size: 1rem;
 }

.stat-period {
  font-size: 14px;
  opacity: 0.85;
}
.static-section {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.radar-genai-chart {
  width: 350px ;
  height: 350px ;
}

/* Right: Users Table */
.users-table-container {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.table-header {
   display: flex;
  flex-direction: column;    
  align-items: center;       
  width: 100%;
  gap: 10px;
}

.table-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #6eb841;
}

.header-actions {
  display: flex;
  align-items: center;
  align-self: flex-end; 
  gap: 10px;
  flex-wrap: nowrap;
}
.table-wrapper {
  overflow-x: auto; 
  margin-bottom: 15px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 600px;
}

.data-table thead th {
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  background-color: #f5f5f5;
  border-bottom: 2px solid #ddd;
  font-weight: 600;
  color: #555;
  transition: background-color 0.2s;
  position: sticky;
  top: 0;
  z-index: 1;
}

.data-table thead th:hover {
  background-color: #ebebeb;
}

.data-table thead th i,
.data-table thead th span span {
  font-style: normal;
  margin-left: 5px;
  color: #666;
}

.data-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s;
}

.data-table tbody tr:hover {
  background-color: #f9f9f9 !important;
}

.data-table tbody td {
  padding: 10px 12px;
  text-align: left;
}

.data-table th:nth-child(n+2),
.data-table td:nth-child(n+2) {
  text-align: center;
}

.data-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.styled-table {
    width: 100%;
    border-collapse: collapse; 
    margin-top: 15px;
    font-size: 14px;
  }

  .styled-table th,
  .styled-table td {
    border: 1px solid #ccc; 
    padding: 8px 10px;
    text-align: left;
  }

  .styled-table th {
    background-color: #f5f5f5;
    font-weight: bold;
  }

  .styled-table tr:nth-child(even) {
    background-color: #fafafa;
  }

  .styled-table tr:hover {
    background-color: #f0f8ff;
  }

  .team-members-table h3 {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
  }
  .level-badge {
  display: inline-block;
  color: #000;
  border-radius: 12px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.level-beginner { background-color: #fab14e; }
.level-elementary { background-color: #f7fa48; }
.level-confirmed { background-color: #e7f442; }
.level-advanced { background-color: #c5e633; }
.level-expert { background-color: #9dd721; }
.level-master { background-color: #88d116; }
.pagination {
  display: flex;
  justify-content: center; 
  align-items: center;     
  gap: 12px;              
  margin-top: 16px;        
}
.pagination button {
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.search-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 240px; 
  min-width: 240px;
  height: 36px;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.search-box input {
  flex: 1;
  padding: 8px 72px 8px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  font-size: 13px;
  transition: border-color 0.3s ease;
  height: auto;
  font-family: inherit;
}

.search-box input:focus {
  outline: none;
  border-bottom: 2px solid #1491C4;
  padding-bottom: 7px;
}

.search-box label {
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 13px;
  color: #666;
  pointer-events: none;
  transition: all 0.3s ease;
  transform-origin: left top;
}

.search-box input:focus + label,
.search-box input:not(:placeholder-shown) + label {
  transform: translateY(-20px) scale(0.75);
  color: #1491C4;
}


.search-box .search-btn {
  position: absolute;
  right: 0;
  bottom: 4px;
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1491C4;
  transition: color 0.3s ease;
  height: auto;
  width: auto;
}


.search-box .search-btn svg {
  stroke: currentColor;
}

.search-box input:focus ~ .search-btn {
  color: #1491C4;
}

.engagement-filter {
  width: 160px;
  min-width: 140px;
}

.engagement-filter select {
  width: 100%;
  height: 32px;
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  color: #333;
  cursor: pointer;
}

.engagement-filter select:focus {
  outline: none;
  border-color: #1491C4;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.statistics-cards-wrapper {
  position: relative;
  flex: 1;  
}

.help-icon {
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.help-icon:hover,
.help-icon:focus {
  color: #ffffff;
}

.agent-status {
    text-align: left !important;
}
.agent-status .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.agent-status .published {
  color: #28a745;
}

.agent-status .private {
  color: #ff9800;
}

.header-center {
  display: flex;
  align-items: center;
  gap: 12px;

  flex: 1 1 auto;
  min-width: 0; 
}
.header-container {
  display: flex;
  align-items: center;
  height: 66px;
}

.impersonation-banner {
   display: inline-flex; 
  align-items: center;
  gap: 8px;

  padding: 6px 10px;
  margin-bottom: 6px;

  background-color: #dc3545;
  color: #fff;
  border-radius: 4px;

  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;     
  flex-shrink: 0; 
}

.impersonation-text {
  font-size: 12px;
}

.impersonation-text strong {
  font-size: inherit;
  font-weight: 600;
}

.impersonation-exit {
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
  padding: 0;
}
.impersonation-full {
  display: inline-flex;
}

.impersonation-compact {
  display: none;
}

.impersonation-chip:hover {
  background: rgba(247, 4, 29, 0.25);
}
.genai-tab-header {
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.genai-header-title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

.genai-user-count {
  font-weight: 700;
  color: #28a745;
  margin-right: 4px;
}
.genai-agents-section {
  flex-direction: column;
}
.tags-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 32px;
}
.tag {
  display: inline-flex;
  align-items: center;
  background-color: #e8f0fe;
  color: #1a73e8;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.tag-remove {
  background: none;
  border: none;
  margin-left: 4px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  color: #5f6368;
}

.tag-remove:hover {
  color: #d93025;
}
.tag-add {
  border: 1px dashed #c4c7c5;
  background: transparent;
  color: #5f6368;
  font-size: 14px;
  padding: 0 6px;
  height: 22px;
  border-radius: 10px;
  cursor: pointer;
}

.tag-add:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}
.tags-cell md-autocomplete {
  width: 160px;
  min-width: 160px;
}
.tags-cell md-autocomplete md-input-container {
  margin: 0;
  padding: 0;
}
.tags-cell md-autocomplete input {
  height: 22px;
  font-size: 12px;
}
.md-autocomplete-suggestions li {
  font-size: 13px;
}
.tags-cell:hover .tag-add {
  border-color: #1a73e8;
}
.tag-editor {
  display: flex;
  flex-direction: column; 
  align-items: stretch;
  gap: 4px;
}
.tag-editor-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-cancel {
  background: none;
  border: none;
  font-size: 16px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}

.tag-cancel:hover {
  color: #d93025;
}
.tag-apply-both {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #5f6368;
  font-weight: normal;
}

.tag-apply-both input {
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.apply-all-toggle label {
  font-weight: 400;
}

.col-tags {
  width: 200px;
  max-width: 200px;
}

.col-tags .tags-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}

.level-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


#level {
  flex: 1;
  min-width: 0; 
}


.certificate-preview {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Certificate card  */
.certificate-card {
  width: 240px;
  height: 150px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: 8px;
  background-color: transparent; 
  box-shadow: none;    
  margin-top: 100px;
}

.chart-wrapper {
  position: relative;
}
.tag-input {
  border: none;
  border-bottom: 2px solid #ddd;
  outline: none;
  padding: 6px 2px;
  font-size: 14px;
  width: 180px;
  background: transparent;
  transition: border-color 0.2s ease;
}
.tag-input-wrapper {
  display: flex;
  flex-direction: column;
}

.tag-input-hint {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
}

.annotation-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.08);
  z-index: 10;
}

.annotation-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  background: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  width: 280px;
  max-width: 90%;

  word-wrap: break-word;
  overflow-wrap: break-word;
}

.annotation-item {
  display:flex;
  justify-content:space-between;
  margin-bottom:5px;
}

.annotation-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.annotation-close{
  border:none;
  background:none;
  font-size:18px;
  cursor:pointer;
}

.radar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 16px;
}
.radar-grid > .center-chart {
    min-width: 0;
}
.radar-grid .chart-radar {
    max-width: 100%;
}
/* pdf section */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}
.loading {
  margin-bottom: 10px;
  color: #666;
  font-style: italic;
}

/* Report List */
.report-list {
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.report-item {
  padding: 6px 0;
}

.report-item a {
  color: #2e7d32;
  text-decoration: none;
}

.report-item a:hover {
  text-decoration: underline;
}

/* Empty state */
.empty {
  color: #888;
  font-size: 14px;
  margin-top: 10px;
}


.pdf-silent-overlay {
  position: fixed;
  inset: 0;
  background: #f5f7fa;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-silent-box {
  text-align: center;
  padding: 48px 64px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  min-width: 320px;
}

.pdf-silent-spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border: 4px solid #e0e6f0;
  border-top-color: #6eb841;
  border-radius: 50%;
  animation: pdf-spin 0.8s linear infinite;
}

@keyframes pdf-spin {
  to { transform: rotate(360deg); }
}

.pdf-silent-check {
  font-size: 48px;
  color: #6eb841;
  margin-bottom: 16px;
}

.pdf-silent-title {
  font-size: 20px;
  font-weight: 600;
  color: #2b3f6b;
  margin-bottom: 8px;
}

.pdf-silent-sub {
  font-size: 14px;
  color: #888;
  margin-bottom: 0;
}

.pdf-silent-back {
  margin-top: 24px;
  padding: 10px 24px;
  background: #6eb841;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.pdf-silent-back:hover {
  background: #5da035;
}

.pdf-page {
  padding: 40px 15px;
  box-sizing: border-box;
}

.html2pdf__page-break {
  page-break-before: always;
  break-before: page;
  height: 0;
}

.pdf-page .stat-card,
.pdf-page .chart-card {
  page-break-inside: avoid;
  break-inside: avoid;
}
.pdf-chart{
width:100%;
height:350px;
}
.chart-card{
background:#ffffff;
padding:25px;
border-radius:8px;
box-shadow:0 4px 12px rgba(0,0,0,0.2);
margin-top:20px;
}

/* Title inside card */
.chart-title{
text-align:center;
font-weight:700;
color:#6eb841;
margin-bottom:10px;
}

/* Source text */
.chart-source{
margin-top:15px;
font-size:13px;
color:#555;
font-style:italic;
}


.pdf-subtitle{
font-size:18px;
color:#2b3f6b;
margin-bottom:25px;
}


/* Summary */
.pdf-summary-block{
font-size:16px;
line-height:1.7;
}

.pdf-summary-title{
font-style:italic;
margin-bottom:10px;
}


/* Source */
.pdf-table-source{
margin-top:10px;
font-size:13px;
font-style:italic;
}

/* Pagination safe */
.pdf-users-page table{
page-break-inside:auto;
}

.pdf-users-page tr{
page-break-inside:avoid;
page-break-after:auto;
}
.pdf-title-page{
background:#a9bacb;
display:flex;
align-items:center;
justify-content:center;
height:100%;
}

/* Center block */
.pdf-title-container{
text-align:center;
width:100%;
}

/* Team name */
.pdf-team-name{
font-size:42px;
font-weight:600;
margin-bottom:25px;
}

/* Divider */
.pdf-title-divider{
width:200px;
height:2px;
background:#333;
margin:0 auto 25px auto;
}
/* Main title */
.pdf-main-title{
font-size:28px;
margin-bottom:80px;
}
/* Logos row */
.pdf-logos{
display:flex;
justify-content:center;
gap:80px;
}
/* Logo boxes */
.pdf-logo-left,
.pdf-logo-right{
padding:15px 40px;
min-width:220px;
}
/* Logos */
.pdf-logo-left img,
.pdf-logo-right img{
max-height:60px;
}

.svg-tooltip-text {
  display: none;
  font-size: 11px;
  fill: rgba(0, 0, 0, 0.75);
  paint-order: stroke;
  stroke: none;
  stroke-width: 1px;
  stroke-linejoin: round;
}

.gauge-tip-max:hover .svg-tooltip-text,
.gauge-tip-objective:hover .svg-tooltip-text {
  display: block;
}

.index-gauge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: 100%;
}


.new-index-gauge {
  flex: 0 0 auto;
  margin-left: 0;
}

.new-index-gauge svg {
  width: 180px;
  height: auto;
  display: block;
}


.index-info-right {
    flex: 1;
    align-self: stretch;
    flex-direction: column;
    display: flex;
    text-align: right;
}
.index-info-right div {
    text-align: right;
}

.metric-row {
  text-align: right;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25rem;
}

.metric-value {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
 
}

.index-title-bigscreen {
  display: block;
 text-align: right;
  max-width: 100%;
}

.index-title-smallscreen {
  display: none;
}

@container (width < 600px) {
    .index-gauge {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .new-index-gauge {
        margin-left: 0;
        align-self: center;
    }

    .new-index-gauge svg {
        width: 200px;
        height: auto;
    }

    .index-info-right {
        width: 100%;
        min-width: 0;
        align-items: center;
        text-align: center;
    }

    .metric-row {
        align-items: center;
        text-align: center;
    }

    .index-title-bigscreen {
        display: none;
    }

    .index-title-smallscreen {
        display: block;
        width: 100%;
        text-align: center;
    }
    .index-info-right div {
        text-align: center;
    }
}

@container (width >= 600px) {
    .index-gauge {
        gap: 16px;
    }

    .new-index-gauge svg {
        width: 190px;
    }
    .tab-card .index .subtitle {
        text-align: right;
    }
}

.no-margin {
    margin: 0px !important;
}


.side-index-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar md-content {
    overflow: visible;
}

.side-progress-wrapper {
    width: 50px;
}

.side-progress {
    position: relative;
    height: 20px;
    background: #e5e5e5;
    border-radius: 2px;
}

.side-progress-bar {
     position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;  
    z-index: 1;
}

.side-progress-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    left: 0;
    line-height: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    z-index: 2;
}
.disabled-user {
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
}


@media (min-width: 1600px) {
  .genai-agents-section {
    flex-direction: row;
  }

}


/* Responsive adjustments for tablets */
@media (max-width: 1024px) {
  .genai-tables {
    flex-direction: column;
    align-items: stretch;
    gap: 20px; 
  }
  
  .genai-tables > div {
    width: 100%;
    max-width: 100%;
  }
  
  .genai-table-wrapper {
    width: 94vw;
    overflow-x: auto;
  }
  
  .engagement-chart-container,
  .radar-chart-container {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .statistics-cards {
    grid-template-columns: repeat(2, 1fr);
  }
   .user-statistics-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .table-wrapper {
     width: 94vw;
    overflow-x: auto;                               
    }

    .header-center {
    padding-left: 40px; 
  }
  .impersonation-full {
      display: none;
  }

  .impersonation-compact {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 2px 8px;
      line-height: 2.5;
      font-size: 11px;
      background-color: #dc3545;
      color: #fff;
      border-radius: 4px;
      white-space: nowrap;
      cursor: pointer;
  }


}

/* iPad / tablet optimization */
@media (min-width: 630px) and (max-width: 1024px) {
  html,
  body,
  .page,
  .inner,
  .panels,
  #detail-panel {
    max-width: 100%;
    overflow-x: hidden;
  }

  .team .sidebar,
  .enterprise .sidebar,
  .personal .sidebar {
     display: block;     
    flex: 0 0 260px;     
  }

  .team.page,
  .enterprise.page,
  .personal.page {
   display: flex;
    width: 100%;
  }

  .team .inner,
  .enterprise .inner,
  .personal .inner {
    display: block;
    width: 100%;
  }

  .team .panels,
  .enterprise .panels,
  .personal .panels {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 12px;
    box-sizing: border-box;
  }

  #detail-panel md-tabs,
  #detail-panel md-tab-content,
  #detail-panel md-content,
  .tab-content,
  .tab-block,
  .tab-card {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .tab-content {
    padding: 14px;
  }

  .tab-2-cols-responsive {
    flex-direction: column;
    row-gap: 14px;
    column-gap: 0;
  }

  .statistics-cards,
  .user-statistics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statistics-cards > *,
  .user-statistics-cards > * {
    min-width: 0;
  }

   .table-wrapper,
   .genai-table-wrapper {
    width: 94vw;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrapper .data-table,
  .genai-table-wrapper .genai-users-table-content,
  .table-wrapper .styled-table {
    min-width: 640px;
  }

 
  .period-selector-container {
    flex-wrap: wrap;
  }

  .custom-range-controls {
    width: 100%;
    justify-content: center;
  }

  .custom-date-input {
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* Responsive adjustments for small screens */
@media (max-width: 629px) {

  .time-range-selector {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    gap: 4px;
  }

  .time-range-selector label {
    white-space: nowrap;
  }

  .time-range-selector .compact-select {
    min-width: 80px;
    max-width: 120px;
    flex: 0 0 auto;
  }

  md-button.md-raised {
    font-size: 12px;
    padding: 4px 8px;
  }
  .genai-table-wrapper {
    width: 94vw;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

    .genai-tables {
    flex-direction: column;
    align-items: center;
    gap: 20px; 
  }

   .search-box {
    min-width: 100%;
  }

  
  .engagement-chart-container,
  .agents-table-container,
  .users-table-container {
    padding: 15px 2px;
  }

  .statistics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 2px;
  }
   .user-statistics-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 2px;
  }

  .statistics-cards > *,
  .user-statistics-cards > * {
    min-width: 0;
  }

  .stat-card {
    padding: 15px 2px;
  }

  .stat-value {
    font-size: 32px;
  }

  .period-selector-container {
    flex-direction: row;  
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 2px;
    flex-wrap: wrap;
  }
  .custom-range-controls {
    width: 100%;
    justify-content: center;
  }
  .custom-date-input {
    min-width: 130px;
    max-width: 45%;
  }
  .header-actions {
    flex-direction: column;
    align-items: flex-start;      
    align-self: flex-start;       
  }

  .header-actions md-button {
    width: 100%;
  }

  .table-wrapper {
    width: 94vw;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrapper .data-table,
  .genai-table-wrapper .genai-users-table-content,
  .table-wrapper .styled-table {
    min-width: 640px;
  }
  .level-wrapper {
    flex-direction: column;
  }

  .certificate-preview {
    margin-top: 24px;
    align-self: center;
  }

  .radar-grid {
        grid-template-columns: 1fr;
    }

  html,
  body,
  .page,
  .inner,
  .panels,
  #detail-panel {
    max-width: 100%;
    overflow-x: hidden;
  }

  .team.page,
  .enterprise.page,
  .personal.page {
    display: block;
    width: 100%;
  }

  .team .inner,
  .enterprise .inner,
  .personal .inner {
    display: block;
    width: 100%;
  }

  .team .panels,
  .enterprise .panels,
  .personal .panels {
    width: 100%;
    max-width: 100%;
  }

  #detail-panel md-tabs,
  #detail-panel md-tab-content,
  #detail-panel md-content,
  .tab-content,
  .tab-block,
  .tab-card {
    width: 100%;
    max-width: 100%;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  .tab-content {
    padding: 12px;
  }

  .tab-card {
    padding: 12px;
  }

  .tab-2-cols-responsive {
    flex-direction: column;
    row-gap: 12px;
    column-gap: 0;
  }

  .statistics-cards,
  .user-statistics-cards,
  .statistics-cards-wrapper
  {
    width: 100%;
    max-width: 100%;
  }

  .tab-table-header,
  .tab-table-header-right,
  .header-actions,
  .time-range-selector {
    max-width: 100%;
    min-width: 0;
  }

}


