body {
    font-size: 18px;
}

:root {
    --mobile-graph-min-height: 80vh;
}

a {
    color: #544ada;
}

a:hover,
a:focus {
    color: #643ddc;
    text-decoration: none;
}

.btn-danger {
    background-color: #ed142e;
}

.btn-warning {
    background-color: #ed9c28;
}

.btn-warning:hover {
    background-color: #f0ad4e;
}

.row {
    margin: 0;
}

.media-body {
    text-align: left;
}

.text-smaller {
    font-size: 13.8px;
}

@media (min-width: 481px) {
    .text-smaller {
        font-size: 15px;
    }
}

@media (min-width: 641px) {
    .text-smaller {
        font-size: 15.6px;
    }
}

@media (min-width: 961px) {
    .text-smaller {
        font-size: 16.2px;
    }
}

@media (min-width: 1025px) {
    .text-smaller {
        font-size: 16.8px;
    }
}

@media (min-width: 1281px) {
    .text-smaller {
        font-size: 18px;
    }
}

.modal-body {
    padding: 0;
}

@media (min-width: 320px) {
    .modal-body {
        padding: 20px;
    }
}

.modal-header {
    border-bottom: none;
}

.btn {
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.mm-form-control-inline {
    display: inline;
    width: 100px;
    margin-right: 10px;
}

body {
    text-align: center;
}

/*.content {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

.main-header {
    padding-top: 16px;
    padding-bottom: 0px;
    position: relative;
    color: #363636;
    font-size: 39.9px;
    -webkit-font-smoothing: subpixel-antialiased;
    box-sizing: border-box;
    display: block;
    font-family: gesta, sans-serif;
    font-weight: normal;
}

@media (min-width: 481px) {
    .main-header {
        font-size: 50.4px;
    }
}

@media (min-width: 641px) {
    .main-header {
        font-size: 54.6px;
    }
}

@media (min-width: 961px) {
    .main-header {
        font-size: 56.7px;
    }
}

@media (min-width: 1025px) {
    .main-header {
        font-size: 58.8px;
    }
}

@media (min-width: 1281px) {
    .main-header {
        font-size: 63px;
    }
}

h2 {
    font-size: 28.5px;
    margin: 45px 0 15px 0;
}

@media (min-width: 481px) {
    h2 {
        font-size: 36px;
    }
}

@media (min-width: 641px) {
    h2 {
        font-size: 39px;
    }
}

@media (min-width: 961px) {
    h2 {
        font-size: 40.5px;
    }
}

@media (min-width: 1025px) {
    h2 {
        font-size: 42px;
    }
}

@media (max-width: 841px) {
    main > .js-plotly-plot {
        height: 15%;
        width: 50%;
        display: inline-block;
    }
}

main > .js-plotly-plot {
    height: 15%;
    min-height: 200px;
    width: 33%;
    max-height: 400px;
    display: inline-block;
}

@media (max-width: 841px) {
    main > .js-plotly-plot {
        height: 12%;
        width: 50%;
        display: inline-block;
    }
}

@media (max-width: 450px) {
    main > .js-plotly-plot {
        height: 10%;
        width: 100%;
        display: inline-block;
    }
}

@media (min-width: 1281px) {
    h2 {
        font-size: 45px;
    }
}

.social-links {
    display: inline-block;
    text-align: center;
    color: #363636;
    font-weight: 100;
    letter-spacing: 3px;
    line-height: 1.5;
    font-size: 28.5px;
}

@media (min-width: 481px) {
    .social-links {
        font-size: 36px;
    }
}

@media (min-width: 641px) {
    .social-links {
        font-size: 39px;
    }
}

@media (min-width: 961px) {
    .social-links {
        font-size: 40.5px;
    }
}

@media (min-width: 1025px) {
    .social-links {
        font-size: 42px;
    }
}

@media (min-width: 1281px) {
    .social-links {
        font-size: 45px;
    }
}

.social-links a {
    text-decoration: none;
}

.social-links a:focus,
.social-links a:active {
    color: #99CCFF;
}

.social-links a:hover {
    color: #3399FF;
}

.lee-sidebar {
    text-align: left;
    width: 100%;
}

.lee-img {
    border: 0 solid black;
    border-radius: 99999px;
}

.text-gray {
    color: #d3d3d3;
}

.lee-sidebar.affix {
    position: fixed;
    top: 20px;
}

.academic-results table tr td {
    padding: 4px;
}

.academic-results table tr td:nth-child(1) {
    width: 10%;
}

.academic-results table tr td:nth-child(2) {
    width: 10%;
}

.academic-results table tr td:nth-child(3) {
    width: 70%;
}

.academic-results table tr td:nth-child(4) {
    width: 10%;
}

.academic-results b {
    margin-top: 30px;
    display: block;
}

.nav > li.active {
    text-decoration: none;
    background-color: #eee;
}

.text-tiny {
    font-size: 12.42px;
    color: gray;
}

@media (min-width: 481px) {
    .text-tiny {
        font-size: 13.5px;
    }
}

@media (min-width: 641px) {
    .text-tiny {
        font-size: 14.04px;
    }
}

@media (min-width: 961px) {
    .text-tiny {
        font-size: 14.58px;
    }
}

@media (min-width: 1025px) {
    .text-tiny {
        font-size: 15.12px;
    }
}

@media (min-width: 1281px) {
    .text-tiny {
        font-size: 16.2px;
    }
}

@media print {
    a[href]:after,
    a:link:after,
    a:visited:after {
        content: none !important;
    }

    .text-tiny {
        font-size: 10px;
    }

    .text-smaller {
        font-size: 11px;
    }

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

    .media-heading,
    .mm-footer__heading {
        font-size: 13px !important;
    }

    h2,
    .main-header {
        padding-top: 0px;
        font-size: 16px;
    }

    .media-object {
        width: 50px;
        height: 50px;
    }

    .media-object img {
        width: 50px;
        height: 50px;
    }

    .academic-results,
    body {
        font-size: 12px;
    }
}

body {
    background-repeat: repeat;
    background-position: center 12px;
    background-color: white;
    position: relative;
}

/* Singular Value Display Styles */
.singular-value-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 20px;
}

.singular-value {
    font-size: 64px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
    margin-bottom: 16px;
}

.singular-value-label {
    font-size: 24px;
    color: #666;
    font-weight: 500;
}

@media (max-width: 768px) {
    .singular-value {
        font-size: 48px;
    }
    
    .singular-value-label {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .singular-value {
        font-size: 36px;
    }
    
    .singular-value-label {
        font-size: 16px;
    }
}

#mainbody {
    position: relative;
}

.mm-background {
    text-align: center;
}

.mm-header {
    text-align: left;
}

.mm-header__nav {
    display: inline;
}

.mm-header__link {
    display: inline-block;
    height: 103px;
    vertical-align: top;
    padding: 41px;
    -webkit-transition: background-color 0.3s, border-color 0.3s;
    -moz-transition: background-color 0.3s, border-color 0.3s;
    -o-transition: background-color 0.3s, border-color 0.3s;
    transition: background-color 0.3s, border-color 0.3s;
}

.mm-header__link:focus,
.mm-header__link:hover,
.mm-header__link.active {
    background-color: #eeeeee;
}

.mm-header__profile-link {
    padding-top: 23px;
}

.mm-logo {
    padding: 21px;
    height: 64px;
    display: inline-block;
    text-align: left;
}

.mm-logo__link {
    display: inline;
}

.mm-logo__image {
    margin: 0 auto;
    display: inline;
}

.mm-logo__text {
    font-family: gesta, sans-serif;
    font-weight: bold;
    font-size: 18.24px;
    color: #3b5997;
    display: inline;
    margin-left: 10px;
}

@media (min-width: 481px) {
    .mm-logo__text {
        font-size: 23.04px;
    }
}

@media (min-width: 641px) {
    .mm-logo__text {
        font-size: 24.96px;
    }
}

@media (min-width: 961px) {
    .mm-logo__text {
        font-size: 25.92px;
    }
}

@media (min-width: 1025px) {
    .mm-logo__text {
        font-size: 26.88px;
    }
}

@media (min-width: 1281px) {
    .mm-logo__text {
        font-size: 28.8px;
    }
}

.mm-logo__link:focus,
.mm-logo__link:hover {
    text-decoration: none;
}

.mm-logo__link:focus .mm-logo__text,
.mm-logo__link:hover .mm-logo__text {
    color: #4098fd;
}

.mm-hero {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: #3b5997;
}

@media (max-width: 480px) {
    .mm-hero {
        padding: 20px;
    }
}

.mm-hero--secondary {
    background-color: #4098fd;
}

.mm-hero--third {
    background-color: #ed142e;
}

.mm-hero--light {
    background-color: white;
}

.mm-marketing-text {
    -webkit-font-smoothing: subpixel-antialiased;
    box-sizing: border-box;
    color: #ffffff;
    display: block;
    font-family: gesta, sans-serif;
    font-weight: normal;
    font-size: 34.2px;
}

@media (min-width: 481px) {
    .mm-marketing-text {
        font-size: 43.2px;
    }
}

@media (min-width: 641px) {
    .mm-marketing-text {
        font-size: 46.8px;
    }
}

@media (min-width: 961px) {
    .mm-marketing-text {
        font-size: 48.6px;
    }
}

@media (min-width: 1025px) {
    .mm-marketing-text {
        font-size: 50.4px;
    }
}

@media (min-width: 1281px) {
    .mm-marketing-text {
        font-size: 54px;
    }
}

.mm-marketing-text--smaller {
    font-size: 28.5px;
}

@media (min-width: 481px) {
    .mm-marketing-text--smaller {
        font-size: 36px;
    }
}

@media (min-width: 641px) {
    .mm-marketing-text--smaller {
        font-size: 39px;
    }
}

@media (min-width: 961px) {
    .mm-marketing-text--smaller {
        font-size: 40.5px;
    }
}

@media (min-width: 1025px) {
    .mm-marketing-text--smaller {
        font-size: 42px;
    }
}

@media (min-width: 1281px) {
    .mm-marketing-text--smaller {
        font-size: 45px;
    }
}

.mm-marketing-text--black {
    color: #363636;
}

.mm-tc {
    margin: 20px;
}

#footerbody {
    border-top: 10px solid #3b5997;
}

.mm-footer__heading {
    font-size: 19.38px;
    text-align: left;
    border-bottom-color: #2f2f2f;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

@media (min-width: 481px) {
    .mm-footer__heading {
        font-size: 24.48px;
    }
}

@media (min-width: 641px) {
    .mm-footer__heading {
        font-size: 26.52px;
    }
}

@media (min-width: 961px) {
    .mm-footer__heading {
        font-size: 27.54px;
    }
}

@media (min-width: 1025px) {
    .mm-footer__heading {
        font-size: 28.56px;
    }
}

@media (min-width: 1281px) {
    .mm-footer__heading {
        font-size: 30.6px;
    }
}

.mm-grid {
    padding-bottom: 40px;
}

.mm-grid__section {
    margin: 20px 0 0 0;
    text-align: left;
    display: block;
}

@media (min-width: 481px) {
    .mm-grid__section {
        margin: 20px 40px 0px 40px;
    }
}

@media (min-width: 641px) {
    .mm-grid__section {
        margin: 40px 50px 0px 50px;
    }
}

.footer__link {
    display: block;
}

.mm-sharing-btns {
    font-size: 21.66px;
}

@media (min-width: 481px) {
    .mm-sharing-btns {
        font-size: 27.36px;
    }
}

@media (min-width: 641px) {
    .mm-sharing-btns {
        font-size: 29.64px;
    }
}

@media (min-width: 961px) {
    .mm-sharing-btns {
        font-size: 30.78px;
    }
}

@media (min-width: 1025px) {
    .mm-sharing-btns {
        font-size: 31.92px;
    }
}

@media (min-width: 1281px) {
    .mm-sharing-btns {
        font-size: 34.2px;
    }
}

.mm-share-btn {
    margin-top: 10px;
    font-size: 36px;
}

.mm-share-btn--twitter {
    color: #4098fd;
}

.mm-share-btn--google-plus {
    color: #ed142e;
}

.mm-share-btn--pinterest {
    color: #ca2027;
}

.mm-share-btn--linked-in {
    color: #1a84bc;
}

.mm-share-btn--reddit {
    color: #cee3f8;
}

.mm-share-btn--stumbleupon {
    color: #ea4b24;
}

.mm-highlighted-new {
    text-align: center;
    border: 3px dashed #008000;
    border-radius: 13px;
    display: block;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}

.mm-highlighted-new:hover {
    border: 3px dashed #ed9c28;
    background-color: #ed9c28;
}

.mm-highlighted-new:hover .mm-highlighted-new__text {
    color: white;
}

.mm-highlighted-new__text {
    text-align: center;
    font-size: 30.6px;
    font-weight: bold;
    color: #008000;
}

.mm-article-theme {
    background-color: #eeeeee;
    text-align: left;
    font-size: 25px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.mm-article-theme p {
    margin-top: 30px;
    margin-bottom: 30px;
}

@media (max-width: 600px) {
    .mm-article-theme {
        font-size: 18px;
    }
}

.mm-article-theme-bg {
    background-color: white;
    padding-left: 10px;
    padding-top: 30px;
    padding-bottom: 20px;
}

.pistachio {
    background-color: #1aac8f;
}

.morange {
    background-color: #f0a878;
}

.lighter-gray {
    background-color: #eeeeee;
}

.normal-text {
    color: #2f2f2f;
}

.load-more {
    width: 300px;
}

.mm-btn-hg {
    font-size: 28px;
}

.icon-container {
    border-radius: 40px;
    border: 3px solid #3b5997;
    width: 64px;
    height: 64px;
    display: none;
}

@media (min-width: 481px) {
    .icon-container {
        display: inline-table;
    }
}

.icon-container__icon {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #3b5997;
    font-size: 27px;
}

.icon-container__icon--forward {
    padding-left: 7px;
}

.icon-container__icon--globe {
    font-size: 33px;
    color: #4098fd;
}

.icon-container--white {
    border-color: white;
}

.icon-container--white .icon-container__icon {
    color: white;
}


html {
    overflow-y: scroll;
    *overflow-x: hidden;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.tt-menu,
.gist {
    text-align: left;
}

/* base styles */
/* ----------- */

html {
    font: normal normal normal 18px/1.2 "Helvetica Neue", Roboto, "Segoe UI", Calibri, sans-serif;
    color: #292f33;
}


a {
    color: #8d3bdb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.table-of-contents li {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

.table-of-contents li a {
    font-size: 16px;
    color: #999;
}

p + p {
    margin: 30px 0 0 0;
}

/* site theme */
/* ---------- */

.title {
    margin: 20px 0 0 0;
    font-size: 64px;
}

.example {
    padding: 30px 0;
}

.example-name {
    margin: 20px 0;
    font-size: 32px;
}

.demo {
    position: relative;
    *z-index: 1;
    margin: 50px 0;
}

.twitter-typeahead {
    /*width: 99%;*/
    width: calc(100% - 125px) !important;
}

.typeahead,
.tt-query,
.tt-hint {
    /*min-width: 396px;*/
    /*max-width: 800px;*/
    /* width: calc(100% - 55px) !important; */
    width: 100%;
    /* font-family: 'Roboto'; */
    height: 19px;
    padding: 8px 42px;
    font-size: 24px;
    line-height: 30px;
    border: 2px solid #ccc;
    border-radius: 40px;
    /* -webkit-border-radius: 8px; */
    -moz-border-radius: 8px;
    /* border-radius: 8px; */
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
    border: 2px solid #ed9c28
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999
}

.tt-menu {
    width: 100%;
    left: 24px !important;
    margin: 12px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 24px;
    clear: both;
    line-height: 24px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background: linear-gradient(rgb(111, 66, 243) 0%, rgb(158, 66, 243) 100%);
}

.tt-suggestion:hover .typed-already,
.tt-suggestion:hover .typing-type {
    color: #fff;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background: linear-gradient(#6f42f3 0%, #9e42f3 100%) #0097cf;

}

.tt-suggestion p {
    margin: 0;
}

.gist {
    font-size: 14px;
}

/* example specific styles */
/* ----------------------- */

#custom-templates .empty-message {
    padding: 5px 10px;
    text-align: center;
}

#multiple-datasets .league-name {
    margin: 0 20px 5px 20px;
    padding: 3px 0;
    border-bottom: 1px solid #ccc;
}

#scrollable-dropdown-menu .tt-menu {
    max-height: 150px;
    overflow-y: auto;
}

#rtl-support .tt-menu {
    text-align: right;
}

.btn-success {
    background: linear-gradient(#6f42f3 0%, #9e42f3 100%);
    border: 1px solid #6f42f3;
    display: inline-block;
}

.askfelixbutton {
    /*width: 60px;*/
    /* background: linear-gradient(#8560f3 0%, #ad63f1 100%); */
    transform: translate(0px, 6px);
    border: none;
    margin: 0px 0 0 0;
    display: inline-block;
    color: #8560f3 !important;
    background: none;
}

.askfelixbutton .material-icons {
    /* color: white; */
}

.btn-success:hover {
    background: linear-gradient(#8560f3 0%, #ad63f1 100%);
    border: 1px solid #6f42f3;
}

.ws-header {
    background: linear-gradient(#8560f3 0%, #ad63f1 100%) !important;
}

.btn-primary, .btn-success {
    background: linear-gradient(#8560f3 0%, #ad63f1 100%) !important;
    border-color: #ad63f1 !important;
    color: #fff !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background: linear-gradient(#8560f3 0%, #ad63f1 100%);
    border-color: #ad63f1;
    color: #fff !important;
}


.mdl-layout__tab {
    color: #fff !important;
}

.mdl-layout.is-upgraded .mdl-layout__tab.is-active::after {
    background: #fff !important;
}

.mdl-layout__header .mdl-layout-title {
    color: #fff;
}

.mdl-layout__header .mdl-navigation__link {
    color: #fff !important;
}

.mdl-list__item-primary-content {
    text-align: left;
}

.mdl-navigation__link {
    text-align: left;
}

.mdl-chip__contact {
    background-color: #ad63f1 !important;
    color: #fff !important;
    min-width: 40px;
}

.mdl-button--raised.mdl-button--colored {
    background: linear-gradient(#6f42f3 0%, #9e42f3 100%) !important;
    color: #fff !important;


}

@media (max-width: 500px) {
    .mdl-dialog {
        padding: 3px 6px !important;
    }

    .mdl-dialog__title {
        padding: 3px 6px !important;
    }

    .mdl-dialog__content {
        padding: 3px 6px !important;
    }
}


.highlighted-icon {
    color: #9e42f3;
}

.mdl-textfield__label:after {
    background-color: #9e42f3 !important;
}

.mdl-checkbox.is-checked .mdl-checkbox__box-outline {
    border: 2px solid rgb(158, 66, 243) !important;
}

.mdl-checkbox.is-checked .mdl-checkbox__tick-outline {
    background: rgb(158, 66, 243) url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgdmVyc2lvbj0iMS4xIgogICB2aWV3Qm94PSIwIDAgMSAxIgogICBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWluWU1pbiBtZWV0Ij4KICA8cGF0aAogICAgIGQ9Ik0gMC4wNDAzODA1OSwwLjYyNjc3NjcgMC4xNDY0NDY2MSwwLjUyMDcxMDY4IDAuNDI5Mjg5MzIsMC44MDM1NTMzOSAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IE0gMC4yMTcxNTcyOSwwLjgwMzU1MzM5IDAuODUzNTUzMzksMC4xNjcxNTcyOSAwLjk1OTYxOTQxLDAuMjczMjIzMyAwLjMyMzIyMzMsMC45MDk2MTk0MSB6IgogICAgIGlkPSJyZWN0Mzc4MCIKICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lIiAvPgo8L3N2Zz4K") !important;
}

.mdl-list__item--three-line .mdl-list__item-text-body {
    line-height: 17px !important;
}

@media (min-width: 1025px) {
    .mdl-cell--hide-large-desktop {
        display: none !important;
    }
}

.ws-header--logo {
    filter: invert(100%);
}

.ws-header {
    background: linear-gradient(#6f42f3 0%, #9e42f3 100%) !important;
    color: #fff !important;
}

.mdl-layout__header {
    background: linear-gradient(90deg, #6f42f3 0%, #9e42f3 100%) !important;
    color: #fff !important;
}

.mdl-button--fab.mdl-button--mini-fab {
    height: 34px;
    min-width: 34px;
    width: 34px;
}

/*suggestions

 */

.typed-already {
    color: #666;
}

.typing-type {
    font-size: 12px;
    float: right;
    color: rgba(102, 102, 102, 0.7);
}

.modebar-btn > svg > path {
    fill: rgba(158, 66, 243, 0.5) !important;
}

.modebar-btn > svg,
.modebar-btn.active > svg {
    width: 26px;
    height: 26px;
    margin: 5px;
}

.modebar-btn:hover > svg > path {
    fill: rgba(158, 66, 243, 1) !important;
}

#modebar-68dab1 .modebar-btn .icon path {
    fill: #9e42f3;
}

.main-logo-title {
}

.mdl-layout__drawer-button {
    color: #fff;
}

@media screen and (max-width: 1024px) {
    .mdl-layout__drawer-button {
        color: #9e42f3;
    }
}

.mdl-navigation__link {
    font-size: 21px;
}

.chat-form {
    display: none;
    /* todo chat to data ?
        */
}

@media (min-width: 1025px) {
    .mdl-cell--hide-large-desktop {
        display: none !important;
    }
}


.grid-stack-item-content {
    /* max-height: 100vh; */
}

/*datasets page*/
.mdl-button--colored {
    background: radial-gradient(ellipse at left top, #6f42f3 0%, #9e42f3 100%) !important;
    color: #fff !important;
}

.page-content {
    min-height: 80%;
}

/*
Plotly styles
 */
.modebar-group {
    background-color: transparent !important;
}

/*.grid-stack-item-removing {*/
/*  opacity: 0.8;*/
/*  filter: blur(5px);*/
/*}*/

/*#trash {*/
/*  background: rgba(255, 0, 0, 0.4);*/
/*}*/

/*.grid-stack {*/
/*  background: #FAFAD2;*/
/*}*/

/*.grid-stack-item-content {*/
/*  color: #2c3e50;*/
/*  text-align: center;*/
/*  background-color: #18bc9c;*/
/*}*/

/*.grid-stack-item-removing {*/
/*  opacity: 0.5;*/
/*}*/
/*.trash {*/
/*  height: 100px;*/
/*  background: rgba(255, 0, 0, 0.1) center center url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIi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bD0iI2ZmOWNhZSIvPgoJPC9nPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=) no-repeat;*/
/*}*/
/*.sidebar {*/
/*  background: rgba(0, 255, 0, 0.1);*/
/*  padding: 25px 0;*/
/*  height: 100px;*/
/*  text-align: center;*/
/*}*/
/*.sidebar .grid-stack-item {*/
/*  width: 120px;*/
/*  height: 50px;*/
/*  border: 2px dashed green;*/
/*  text-align: center;*/
/*  line-height: 35px;*/
/*  z-index: 10;*/
/*  background: rgba(0, 255, 0, 0.1);*/
/*  cursor: default;*/
/*  display: inline-block;*/
/*}*/
/*.sidebar .grid-stack-item .grid-stack-item-content {*/
/*  background: none;*/
/*}*/

/*!* make nested grid have slightly darker bg take almost all space (need some to tell them apart) so items inside can have similar to external size+margin *!*/
/*.grid-stack > .grid-stack-item.grid-stack-sub-grid > .grid-stack-item-content {*/
/*  background: rgba(0,0,0,0.1);*/
/*  inset: 0 2px;*/
/*}*/
/*.grid-stack.grid-stack-nested {*/
/*  background: none;*/
/*  !* background-color: red; *!*/
/*  !* take entire space *!*/
/*  position: absolute;*/
/*  inset: 0; !* TODO change top: if you have content in nested grid *!*/
/*}*/


/*drop zone*/
.drop-zone {
    height: 50px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 4px dashed #9e42f3;
    border-radius: 10px;
}

.drop-zone--over {
    border-style: solid;
}

.drop-zone__input {
    display: none;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}

.drop-zone__thumb::after {
    content: attr(data-label);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px 0;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    font-size: 14px;
    text-align: center;
}


/* tree view */
/* Tree View */
.container {
    text-align: left;
}

.treeView {
    /* padding-top: 2em; */
    padding-right: 0.1em;
    /* padding-bottom: 3em; */
    overflow: auto;
    white-space: nowrap;
}

.treeView span {
    display: inline-flex;
    vertical-align: middle;
    padding-left: 0.3em;
    /*font-size: 1.1rem;*/
}

.treeView i {
    display: inline-flex;
    z-index: 99999;
    vertical-align: middle;
    max-width: 25px;
}
.treeView i:hover {
    color: rgb(163, 75, 245);
}

/* File */
.file {
    position: relative;
    display: block;
    cursor: pointer;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    z-index: 9;
    border-radius: 11px;
}

.file.active {
    font-weight: bold;
    background: linear-gradient(rgba(158, 66, 243, 0.1) 0%, rgba(111, 66, 243, .1) 100%);
    color: rgb(158, 66, 243);
    border-radius: 11px;
}

.file:hover {
    background-color: #ccc;
}

/* Folder */
.folder {
    display: block;
}

.folder-header {
    position: relative;
    cursor: pointer;
    /* z-index: 999; */
}

.folder-header:hover {
    background-color: #ccc;
}

.folder > ul {
    padding-left: 1em;
    margin: 0;
}


.mdl-spinner-container {
    text-align: center;
    margin: 20px;
}

.mdl-spinner {
    color: #9e42f3;
    border-color: #9e42f3 !important;
    font-size: 25px;
    width: 25px !important;
    height: 25px !important;
}

.mdl-spinner__circle {
    border-width: 5px !important;
}

.draggable-header {
    padding: 10px;
}

.graph-control-btn {
    color: rgba(158, 66, 243, 0.62);
    font-size: 30px;
}

.graph-control-btn:hover {
    color: #9e42f3;
    cursor: pointer;
}

/* Microphone */
@keyframes pulsed {
    from {
        transform: scale3d(1, 1, 1);
        /*scale: 1;*/
    }

    50% {
        transform: scale3d(1.35, 1.35, 1.35);
        /*scale: 1.35;*/
    }

    to {
        transform: scale3d(1, 1, 1);
        /*scale: 1;*/
    }
}

.pulse {
    animation-name: pulsed;
    animation-fill-mode: both;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

.redish-icon {
    color: #ef665e;
}

.mic-talk {
    display: inline;
    height: 36px;
    width: 36px;
    border-radius: 100%;
    min-width: 36px!important;
    padding: 0;
    margin-top: 5px;
    position: relative;
    top: 4px;
    left: 48px;
}

.askfelixformedit .mic-talk,
.askfelixformeditchat .mic-talk {
    /*position: relative;*/
    /* left: -40px; */
    top: -3px;
}

.mdl-dialog--fullscreen {
    width: 97%;
    height: 97%;
    padding: 0;
    background-color: rgb(244, 244, 244);
}

#askfelixbuttonedit {
    margin-left: 1px;
    margin-top: -3px;
}

#askfelixformedit {
    display: inherit
}

#editdataaskfelixbutton {
    /* margin-left: 1px; */
    /* margin-top: -3px; */
}

#editdataaskfelixform {
    display: inherit
}

.askfelixbutton {
    position: absolute;
    z-index: 99;
    box-shadow: none;
    margin-top: 4px;
    margin: 4px;
}

.mdl-dialog__title {
    padding: 11px 6px 0;
    margin: 0;
    font-size: 1.1rem;
}

.new-ai-avatar-upload {
    width: 81px !important;
    height: 81px !important;
    min-width: 81px;
    font-size: 71px !important;
    margin-right: 4px !important;
}

.askfelixformedit {
    display: inline-flex;
}

.askfelixformeditchat {
    display: inline-flex;
    width: 100%;
    min-width: 302px;
}

/* progress */
.mdl-progress {
    display: block;
    position: absolute;
    height: 4px;
    border-radius: 5px;
    width: 82%;
    margin-left: 20px;
    max-width: 100%;
}

.mdl-tooltip--large {
    text-align: left !important;
    z-index: 999999;
}

.ask-felix-robot-icon {
    width: 56px;
    height: 56px;
}

@media (min-width: 1024px) {
    .ask-felix-robot-icon {
        width: 80px;
        height: 80px;
    }
}

.ask-felix-robot-icon--tooltip {
    width: 46px;
    height: 46px;
    position: absolute;
    top: -30px;
    left: -30px;
}

.ask-felix-robot-icon--tooltip-dashboard {
    top: 39px;
    right: 18px;
    left: unset;
}

.felix-dashboard-chat {
    font-size: 18px;
}

@media (min-width: 1024px) {
    .ask-felix-robot-icon--tooltip {
        width: 56px;
        height: 56px;
    }
}

.ask-felix-robot-message {
    display: inline-block;
    width: 80px;
    position: absolute;
    height: 80px;
    top: -12px;
    left: -58px;
}

.ask-felix-robot-message--tour {
    left: -68px;
}


.shepherd-button {
    background: linear-gradient(rgba(158, 66, 243) 0%, rgba(111, 66, 243) 100%) !important;
    border: 0;
    border-radius: 3px;
    color: hsla(0, 0%, 100%, .75);
    cursor: pointer;
    margin-right: 0.5rem;
    padding: 0.5rem 1.5rem;
    transition: all .5s ease;
}

.main-sidebar-icon {
    color: rgb(182 164 233) !important;
    font-size: 35px;
    padding-right: 11px;
}

.shepherd-button:hover,
.shepherd-button:focus {
    background: linear-gradient(rgba(158, 66, 243) 0%, rgba(111, 66, 243) 100%) !important;
    color: #fff;
}


.mdl-switch__ripple-container .mdl-ripple {
    background: rgba(158, 66, 243);
}

.show-table-df-frame {
    display: block;
    width: 100%;
    height: 76vh;
    overflow: auto;
    border: 0;
}

.arrow-file-icon {

}

.broken {
    color: #dc5378;
}

.mdl-tooltip-larger {
    min-width: 200px;
}

/*blog*/

.mdl-button--accent.mdl-button--accent.mdl-button--fab, .mdl-button--accent.mdl-button--accent.mdl-button--raised {
    color: #fff;
    background-color: rgba(158, 66, 243);
}


::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.chat-message-icon {
    cursor: pointer;
    /* display: none; */
    padding: 5px;
    margin: 0;
    transform: translate(2px, 12px);
    color: rgba(158, 66, 243, 0.5) !important;
    display: inline-block;
    /* float: left; */
    border-radius: 4px;
    clear: both;
}

.chat-message-icon:hover {
    color: rgba(158, 66, 243, 1) !important;
}

.mdl-dialog__actions {
    position: absolute;
    top: 0px;
    right: 0px;
}

/*chats*/

.chat-container {
    padding: 5px;
    clear: both;
}

.chat-one-to-one-icon {
    display: inline;
    box-sizing: border-box;
    border-radius: 10%;
    background-color: #757575;
    font-size: 40px;
    color: #fff;
    margin: 10px;
}

.chat-one-to-one-name {
    display: inline;
}

.chat-log {
    padding: 40px 0 114px;
    height: inherit;
    overflow: auto;
    width: calc(100% - 163px)
}

@media (max-width: 1000px) {
    .chat-log {
        width: 100%;
    }
}

.chat-log__item {
    background: #ffffff;
    padding: 5px;
    margin: 0 auto 14px;
    border: 1px #bbbbbb solid;
    min-width: 256px;
    max-width: 95%;
    /* float: left; */
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    clear: both;
    /*//take up all space*/
    /*width: 100%;*/
    /*box-sizing: border-box;*/
}

.loading-chat-bar {
    box-sizing: border-box;
    width: 100%;
    padding: 4px;
    margin: 20px;
}

.chat-log__item.chat-log__item--own {
    /* float: right; */
    background: rgb(124 66 243 / 21%);
    text-align: -webkit-match-parent;
    /* position: unset; */
    /* right: 0; */
    display: inline-block;
}

.chat-container--open {
    min-height: 87vh;
}

.askfelixbutton--chat .tt-menu.tt-open {
    bottom: 100% !important;
    top: auto !important;
}

/*loadingbubble*/


.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75px;
    height: 20px;
    margin-left: -22px;
    margin-top: 1px;
    text-align: center;
}

.spinner > div {
    z-index: 8999;
    width: 20px;
    height: 20px;
    background-color: #8c27b4;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
    animation: bouncedelay 1400ms ease-in-out infinite;
    /* Prevent first frame from flickering when animation starts */
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
    0%,
    80%,
    100% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

@keyframes bouncedelay {
    0%,
    80%,
    100% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
    40% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }
}

#loading-bubble {
    display: flex;
    display: -ms-flexbox;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    width: auto;
    min-width: 73px;
    min-height: 40px;
    border-radius: 5px;
    box-sizing: border-box;
    position: relative;
    -webkit-animation: message-bounce 2.5s infinite ease-in-out;
    animation: message-bounce 2.5s ease-in-out infinite;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

#loading-bubble.grey {
    background-color: #a5b0b5;
}

#loading-bubble .spinner {
    position: static !important;
    /* margin-top: -11px; */
    margin-left: 0px;
}

#loading-bubble .spinner div {
    background-color: #9e42f3;
}


.chat-felix-chart {
    width: 100%;
    height: 100%;
    min-height: 400px;
    padding: 10px;
}

.chat-header {
    padding-left: 30px;
    border-left: 3px solid #9e42f3;
    margin-left: 37px;
}

@media (max-width: 600px) {
    .chat-header {
        margin-left: 0px;
    }
}





.helix-wrapper {position: relative;z-index: 3433;overflow: visible;}

.helix-loader {filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.2));}

.strand-segment {stroke-linecap: round;stroke-linejoin: round;animation: flow 2s linear infinite;}

.node {
    filter: drop-shadow(0 0 2px rgba(240, 171, 252, 0.5));
    animation: pulse 2s linear infinite;
}


@keyframes flow {
0% {
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
}
100% {
    stroke-dasharray: 150;
    stroke-dashoffset: -150;
}
}

@keyframes pulse {
0%, 100% {
    opacity: 0.5;
    r: 3;
}
50% {
    opacity: 1;
    r: 4;
}
}

/* Pipeline Logs Styles */
.pipeline-logs-container {
    display:none;
  margin-top: 10px;
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.pipeline-logs-header {
  padding: 10px 15px;
  background-color: #f0f0f0;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #673ab7;
}

.pipeline-logs-toggle {
  display: flex;
  align-items: center;
}

.pipeline-logs-toggle i {
  margin-right: 5px;
}

.pipeline-logs-actions {
  display: flex;
  align-items: center;
}

.pipeline-logs-count {
  font-size: 0.85rem;
  color: #757575;
  font-weight: normal;
  margin-right: 10px;
}

.copy-logs-button {
  color: #673ab7;
  transition: color 0.2s ease;
}

.copy-logs-button:hover {
  color: #9c27b0;
}

.pipeline-logs-content {
  max-height: 500px;
  overflow-y: auto;
  padding: 0 15px;
}

.pipeline-log-item {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.pipeline-log-item:last-child {
  border-bottom: none;
}

.pipeline-log-step {
  font-weight: 500;
  color: #9c27b0;
  margin-bottom: 5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.pipeline-log-message {
  margin-bottom: 10px;
  line-height: 1.4;
}

.pipeline-log-code {
  background-color: #2d2d2d;
  border-radius: 4px;
  margin-top: 10px;
  margin-bottom: 10px;
  overflow: auto;
}

.pipeline-log-code-header {
  background-color: #444;
  color: #f8f8f2;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid #555;
}

.pipeline-log-code pre {
  margin: 0;
  padding: 15px;
  font-family: 'Roboto Mono', monospace;
  color: #f8f8f2;
}

.pipeline-log-details {
  background-color: #f9f9f9;
  border-radius: 4px;
  margin-top: 10px;
  padding: 0;
  border: 1px solid #e0e0e0;
  overflow: auto;
}

.pipeline-log-details-header {
  background-color: #eee;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid #e0e0e0;
}

.pipeline-log-details pre {
  margin: 0;
  padding: 10px;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.85rem;
}

/* D3 Visualization Styles */
.d3-visualization-container {
  background-color: white;
  border-radius: 4px;
}

.d3-visualization-container svg {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.d3-visualization-container .node circle {
  cursor: pointer;
}

.d3-visualization-container .link {
  stroke-width: 1.5px;
}

.d3-visualization-container .error {
  color: red;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* Graph Edit Options Styles */
.graph-edit-options-container {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin: 10px 0;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.graph-edit-options-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: bold;
  color: #333;
}

.graph-edit-options-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.graph-edit-option {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.graph-edit-option label {
  font-size: 12px;
  color: #666;
}

.graph-edit-option select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  background-color: white;
}

.graph-edit-actions {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
}

.panel-edit-options-button {
  cursor: pointer;
  color: #673ab7 \!important;
}

/* Share button styling */
.header-share-button {
    background-color: #4285F4;
    color: white;
    margin-right: 10px;
}

/* Share dialog styling */
#share-dialog {
    width: 450px;
    max-width: 90%;
}

#share-dialog .mdl-dialog__content {
    padding: 24px;
}

#share-dialog .mdl-dialog__actions {
    padding: 8px 24px 16px;
}

.share-chat-message-icon:hover,
.panel-share-button:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* Team UI Components */
.teams-container {
    margin-bottom: 30px;
}

.current-team {
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.teams-list-container {
    margin-bottom: 20px;
}

.team-list-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.team-list-item:hover {
    background-color: #f0f0f0;
}

.team-list-item.active {
    background-color: #e0e0e0;
}

.team-members-container,
.team-billing-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

.plan-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}

.plan-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.plan-card h5 {
    margin-top: 0;
}

.header-team-selector {
    padding: 8px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.team-selector-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.team-selector-header i {
    margin-right: 12px;
}

.team-selector-content {
    padding-left: 24px;
}

#team-selector {
    width: 100%;
    margin-bottom: 8px;
}

/* Invitation badge */
.invitation-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 8px;
}

/* Chart memory management styles */
.chart-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border: 2px dashed #ccc;
  border-radius: 8px;
}

.chart-placeholder-message {
  text-align: center;
  padding: 20px;
  color: #666;
}

.chart-placeholder-message i {
  display: block;
  font-size: 48px;
  margin-bottom: 10px;
  color: #999;
}

.chart-placeholder-message span {
  display: block;
  margin-bottom: 15px;
  font-size: 14px;
}

.chart-placeholder .reload-chart-btn {
  margin-top: 10px;
}

.invitation-pending {
    background-color: #FFF9C4;
    color: #F57F17;
}

.invitation-accepted {
    background-color: #C8E6C9;
    color: #2E7D32;
}

.invitation-declined {
    background-color: #FFCDD2;
    color: #C62828;
}

/* Member role badge */
.member-role {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.role-owner {
    background-color: #E1F5FE;
    color: #0277BD;
}

.role-admin {
    background-color: #E8EAF6;
    color: #303F9F;
}

.role-member {
    background-color: #F1F1F1;
    color: #616161;
}

/* Enhanced share button styling */
.header-share-button {
    background-color: #4285F4 \!important;
    color: white \!important;
    margin-right: 10px;
    font-weight: 500;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(66, 133, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}

.header-share-button:hover {
    background-color: #1a73e8 \!important;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.header-share-button .material-icons {
    margin-right: 4px;
}

/* Enhanced D3 Visualization Styles */
.d3-visualization-container.claude-generated {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
}

.d3-visualization-container svg {
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: auto;
}

.d3-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-family: sans-serif;
    color: #d32f2f;
    text-align: center;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
}

/* D3 tooltip styles */
.d3-tooltip {
    position: absolute;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 4px;
    pointer-events: none;
    font-size: 12px;
    max-width: 300px;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* D3 node styles */
.d3-node {
    cursor: pointer;
    transition: fill 0.2s, stroke-width 0.2s;
}

.d3-node:hover {
    stroke-width: 2px;
    stroke: #333;
}

/* D3 link styles */
.d3-link {
    fill: none;
    stroke-opacity: 0.6;
    transition: stroke-opacity 0.2s, stroke-width 0.2s;
}

.d3-link:hover {
    stroke-opacity: 1;
    stroke-width: 2px;
}

/* D3 label styles */
.d3-label {
    font-size: 12px;
    font-family: sans-serif;
    pointer-events: none;
}

/* D3 control panel */
.d3-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.d3-control-button {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 11px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.d3-control-button:hover {
    background-color: #f0f0f0;
}

/* Loading indicator for D3 */
.d3-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.d3-loading-spinner {
    border: 4px solid rgba(158, 66, 243, 0.1);
    border-radius: 50%;
    border-top: 4px solid rgba(158, 66, 243, 0.7);
    width: 30px;
    height: 30px;
    animation: d3-spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes d3-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 600px) {
    /* Make graphs take full width on small screens */
    main > .js-plotly-plot {
        width: 100% !important;
        max-width: none;
        margin: 0;
        height: auto !important;
        max-height: none;
        min-height: 80vh;
    }

    /* Reduce container and header spacing for mobile */
    .container {
        max-width: 100%;
        margin: 0;
        padding-left: 5px;
        padding-right: 5px;
    }

    .mm-header__link {
        padding: 8px;
        height: auto;
    }

    .mm-logo {
        padding: 8px;
        height: 48px;
    }


    /* Make chart cards fill the screen on mobile */
    .chart-card,
    .chart-card-map,
    .map-card {
        min-height: 100vh;
        height: auto !important;
        margin: 0;
        padding: 0;
    }

    .chart-container,
    .demo-chart,
    #map-chart-demo {
        min-height: var(--mobile-graph-min-height) !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Fullscreen graph styles */
.graph-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: white !important;
    box-shadow: none !important;
}

.graph-fullscreen .grid-stack-item-content {
    height: 100vh !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.graph-fullscreen main {
    height: calc(100vh - 60px) !important; /* Account for header */
    width: 100% !important;
}

.graph-fullscreen .draggable-header {
    position: sticky !important;
    top: 0 !important;
    background: white !important;
    z-index: 10000 !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 16px !important;
}

/* Improve graph control button styling */
.graph-control-btn {
    cursor: pointer !important;
    padding: 4px !important;
    margin-left: 4px !important;
    border-radius: 4px !important;
    transition: background-color 0.2s ease !important;
}

.graph-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
}

/* Better sizing for map containers */
.plotly-div[data-plot-type*="map"],
.plotly-div[data-plot-type*="geo"] {
    min-height: 500px !important;
}

/* Responsive improvements for graphs */
@media (max-width: 768px) {
    .graph-fullscreen .draggable-header {
        padding: 4px 8px !important;
        font-size: 14px !important;
    }
    
    .graph-fullscreen main {
        height: calc(100vh - 50px) !important;
    }
    
    .graph-control-btn {
        font-size: 18px !important;
        padding: 2px !important;
    }
}

/* Fix MDL layout content height issue */
.mdl-layout__content {
    -ms-flex: 1 1 auto !important;
    flex: 1 1 auto !important;
    min-height: 100vh !important;
    height: auto !important;
}

/* Ensure the layout container takes full height */
.mdl-layout__container {
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Make sure the main content area fills available space */
.mdl-layout--fixed-header .mdl-layout__content {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    min-height: calc(100vh - 64px) !important;
}

/* For mobile screens */
@media screen and (max-width: 1024px) {
    .mdl-layout--fixed-header .mdl-layout__content {
        min-height: calc(100vh - 56px) !important;
    }
}

/* Ensure content inside takes full height when empty */
.mdl-layout__content > * {
    min-height: 100%;
}

/* Fix for when there's little content */
.mdl-layout__content:empty::before,
.mdl-layout__content:has(> :only-child:empty)::before {
    content: '';
    display: block;
    min-height: calc(100vh - 64px);
}
