@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import "/app/ki-outline/ki-outline.css";

:root {
    --gutter:16px;
    --card-padding: 16px;
    
    --brand-color: #281f62;

    --color-200: #d7d7d7;

    --color-50: #fafafa;
    --color-100: #f5f5f5;
    --color-200: #e5e5e5;
    --color-300: #d4d4d4;
    --color-400: #a3a3a3;
    --color-500: #737373;
    --color-600: #525252;
    --color-700: #404040;
    --color-800: #262626;
    --color-900: #171717;

    --btn-border-radius: 8px;

    --shadow-lg: 0 2px 5px #0000001c;

    --card-border-radius: 16px;

    --color-bg: #f7f7f7;

    --body-text-color: #494949;

    --font-family: "Ubuntu", sans-serif;
    --text-md: 1rem;

    --form-element-color: #ccc;
    --form-element-border-radius: 8px;

    --progress-border: var(--color-300);
}

body {
    line-height: 1.5;
}

h1 {
    font-size: 3rem;
    margin: 20px 0;
    color: #151515;
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--brand-color);
    text-decoration: none;
}

h2 {
    font-size: 2rem;
    color: #151515;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 10px;
}

.light-text {
    color: var(--color-300);
}

sup {
    font-size: 1rem;
}

.c-input-label {
    display: none;
}
.c-input-container {
    position: relative;
}
.c-input {
    background-color: transparent;
    z-index: 1;
    font-size: 0.875rem;
    color: #333;
    overflow: hidden;
}
.c-input-afterlabel {
    display: block;
    position: absolute;
    color: #999;
    top: 12px;
    left: 10px;
    transition: 0.2s ease;
    font-size: 14px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    padding-right: 20px;
}
.c-input:focus,
.c-input:valid {
    color: var(--body-text-color);
}
textarea:focus, input:focus {   
    border: 1px solid var(--brand-color);
    outline: 1px solid var(--brand-color);
}

 input[type="range"]:focus {
     border: 0;
 }

.c-input:focus + .c-input-afterlabel,
.c-input:valid + .c-input-afterlabel {
    transform: translate(-10px, -23px) scale(0.88);
    z-index: 2;
    background-color: var(--color-bg);
    color: var(--brand-color);
    font-weight: 600;
    padding: 0 3px;
}
.info-card-header {
    position: relative;
    margin-bottom: 25px;
}
 
.info-card-header span {
    padding: 3px;
    border-radius: 6px;
    border: 1px solid #eee;
    align-self: flex-end;
    justify-self: flex-end;
    position: absolute;
    right: -14px;
    top: -14px;
}
.card .c-input:focus + .c-input-afterlabel,
.card .c-input:valid + .c-input-afterlabel,
.cci-modal-body .c-input:focus + .c-input-afterlabel,
.cci-modal-body .c-input:valid + .c-input-afterlabel {
    background-color: var(--color-card-bg);
}

.cci-modal-body .c-input-label {
    display: block;
}
.cci-modal-body .c-input-afterlabel {
    display: none;
}
.cci-modal input::placeholder {
    color: #ddd;
}

::placeholder {
    color: transparent;
}
.alert {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 16px 14px;
    gap: 16px;

    background: #EEF6FF;
    border: 1px dashed #3E97FF;
    border-radius: 7px;

    font-weight: 500;
    font-size: 13px;
}
.alert-red {
    background: #FFDDDD;
    border: 1px dashed #F1416C;
}
.alert-grey {
    background: #E0E0E0;
    border: 1px dashed #000000;
}
.form {
    gap: 1rem;
}

/* brick styles */

.form-element {
    font-size: 0.875rem;
    min-height: 41px;
}

.form-element-label {
    font-size: 0.875rem;
}

.c-autocomplete-input {
    outline-color: var(--brand-color);
}
.c-autocomplete-input:focus {
    outline: 1px solid var(--brand-color);
    border-color: var(--brand-color);;
}

.chart-loading {
    min-height: auto;
    min-width: 200px;
}
.chart-loading::after {
    min-height: 100%;
    background-size: contain;
}

.c-daterange-drop-inner {
    display: flex;
    width: auto;
}

.c-daterange-presets-container {
    gap: 3px;
}
.c-daterange-presets-container button {
    border: 0;
    background-color: var(--color-100);
    border-radius: var(--btn-border-radius);
    width: 100%;
    text-wrap: nowrap;
    padding: 9px;
}

/* .btn {
    font-size: 1rem;
    padding: 12px 20px;
    text-wrap: nowrap;
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 270deg;
    inherits: false;
}

.btn-primary {
    --gradient-angle: 270deg;
    background-image: linear-gradient(var(--gradient-angle), #52BF30 0%, #288A28 99%);
    transition: --gradient-angle 250ms ease-in-out;
}

.btn-primary:disabled {
    background: none;
    background-color: var(--color-300);
}

.btn-primary:hover {
    --gradient-angle: 200deg;
}

.btn-secondary:hover {
    color: var(--brand-color);
} */

.btn-secondary {
    background: none;
    color: var(--brand-color);
    padding: 9px 20px;
    position: relative;
    z-index: 1;

    background: linear-gradient(white, white) padding-box,
              linear-gradient(270deg, #52BF30 0%, #288A28 99%) border-box;
    border: 3px solid transparent;
}
.cc-layout-grid-no-cards .cc-layout-grid-cell {
    padding: 0;
}
.cc-layout-grid-no-cards .cc-layout-grid-item {
    border: 0;
    box-shadow: unset;
    padding: calc(var(--grid-item-padding) / 2);
}
.btn-secondary:hover {
    background: linear-gradient(white, white) padding-box,
              linear-gradient(180deg, #52BF30 0%, #288A28 99%) border-box;
}

a:not([href]) {
    color: var(--color-400);
}

.btn-sm {
    font-size: var(--font-size-body);
    padding: 5px 10px;
}

.btn-icon {
    font-size: 1.25rem;
    color: var(--color-300);
    padding: 0;
    border: 0;
    background: 0;
}
.btn-icon-small {
    background: none;
    background-color: white;
    border: 1px solid var(--color-200);   
    height: 30px;
    width: 30px;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.03);
    padding: 0;
    text-align: center;
    color: #ccc;
}
.btn-icon:hover, .btn-icon-small:hover {
    color: var(--brand-color);
}

.btn-loader-loading {
    background-image: none;
    background-color: #f0f0f5;
    animation: pulse 1.5s ease-in-out infinite;
}

.c-gauge-center {
    font-size: 2.125rem;
    font-weight: 700;
    color: var(--color-800);
}

.c-pager-button {
    padding: 7px 14px;
}

.radio-card .cc-switchpanel-radio-container {
    display: flex;
    padding: 25px;
}

.radio-card .cc-switchpanel-radio-container input {
    flex-shrink: 0;
    margin: 3px 9px -4px 0;
}

cd-pivot-table tr th, cd-pivot-table .top-total-th {
    padding-left: 5px;
    padding: 5px;
    font-size: 0.875rem;
}

.cd-table th:last-child {
    padding-right: 0px;
}

.cci-modal-header {
    padding-bottom: 0px;
    background-color: var(--color-bg);
    border-top-left-radius: var(--card-border-radius);
    border-top-right-radius: var(--card-border-radius);
     border-bottom: 1px solid var(--color-200);
}
.cci-modal-header p {
    font-size: 0.875rem;
    color: var(--color-400);
    font-weight: 500;
}
.cci-modal-header > span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
}
.cci-modal-footer {
    border-top: 1px solid var(--color-200);
    background-color: var(--color-bg);
    border-bottom-left-radius: var(--card-border-radius);
    border-bottom-right-radius: var(--card-border-radius);
}

.c-rangeslider {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; 
  height: 8px;
  background: var(--brand-color); 
  background-image: linear-gradient(270deg, #87dd3a 0%, #36ad36 99%);
  outline: none;
  transition: opacity .2s;
  border-radius: 3px;
}

.c-rangeslider::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: var(--brand-color-2); /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 50%;
  position: relative;
}

.c-rangeslider::-moz-range-thumb {
  width: 25px; /* Set a specific slider handle width */
  height: 25px; /* Slider handle height */
  background: var(--brand-color-2); /* Green background */
  cursor: pointer; /* Cursor on hover */
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.c-select {
    outline-color: var(--brand-color);
}

.c-select-item, .c-multiselect-item {
    font-size: 0.875rem;
}

.info-text {
    font-size: var(--text-sm);
    border: 1px dashed var(--color-200);
    border-radius: var(--card-border-radius);
    padding: var(--gutter);
}
.info-text ul {
    margin: 0;
    padding-inline-start: 20px;
}

.c-pager {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
.c-pager-info {
    color: var(--color-400);
    font-weight: 600;
    font-size: 14px;
    padding: 0 14px 0 0;
}
.c-pager-prev {
    background-image: url(https://s2.svgbox.net/octicons.svg?ic=chevron-left-bold&color=a3a3a3);
}
.c-pager-next {
    background-image: url(https://s2.svgbox.net/octicons.svg?ic=chevron-right-bold&color=a3a3a3);
}


.cc-switchpanel-tabheader {
    padding: 0px;
    background: linear-gradient(180deg, 
        #fff calc(100% - 1px), 
        var(--color-200) calc(100%)
    );
}
.cc-switchpanel-tab {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-light-2);
    margin: 0px;
    padding-bottom: 20px;
    background-color: transparent;
}

.cc-switchpanel-tab-active {
    color: #3F4254;
    border-bottom: 1px solid var(--brand-color);
}
.cc-switchpanel-tab-disabled {
    color: #eee;
}

.tooltip-pop {
    font-size: 0.875rem;
}

/* .hilight-green {
    padding: 2px 8px;
    background: #F2FFD7;
    border-radius: 6px;
    color: #50CD89;
    display: inline-block;
    white-space: nowrap;
}

.hilight-blue {
    padding: 2px 8px;
    background: #EEF6FF;
    border-radius: 6px;
    color: #3E97FF;
    display: inline-block;
    white-space: nowrap;
    border: 1px dashed #3E97FF;
} */

.hilight-blue {
    padding: 2px 8px;
    background: #EEF6FF;
    border-radius: 6px;
    color: #3E97FF;
    display: inline-block;
    white-space: nowrap;
}
.hilight-green {
    padding: 2px 8px;
    background: #F2FFD7;
    border-radius: 6px;
    color: #50CD89;
    display: inline-block;
    white-space: nowrap;
}
.hilight-yellow {
    padding: 2px 8px;
    background: #FFF8DD;
    border-radius: 6px;
    color: #F7C000;
    display: inline-block;
    white-space: nowrap;
}
.hilight-red {
    padding: 2px 8px;
    background: #FFF5F8;
    border-radius: 6px;
    color: #F1416C;
    display: inline-block;
    white-space: nowrap;
}

.hilight-gray {
    padding: 2px 8px;
    background: #F1F1F2;
    border-radius: 6px;
    color: #7E8299;
    display: inline-block;
    white-space: nowrap;
}

/* Layout page */

.layout {
    width: 100%;
    height: 100lvh;
}
.sidebar {
    box-sizing: border-box;
    width: 250px;
    height: 100vh; 
    background: #FFFFFF;
}
.logo {
    display: block;
    background-image: url('/app/Clarity™ for Microsoft Teams_Green.png');
    height: 36px;
    /* padding-left: 10px; */
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
    width: 178px;
}
.sources_panel .logo {
    margin-left: 0px;
    margin-bottom: 20px;
}
.c-hyperlink.logo {
    margin-bottom: 30px;
}

.menu-container {
    overflow: auto;
    scrollbar-color: #ccc #f5f5f5;
    scrollbar-width: thin;
}
.lvl1-container > div:nth-child(1) .menu-lvl1  {
    padding-top: 10px;
}
.menu-container::-webkit-scrollbar, .cc-layout-grid-item::-webkit-scrollbar, .cd-table-container::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.menu-container::-webkit-scrollbar-track, .cc-layout-grid-item::-webkit-scrollbar-track, .cd-table-container::-webkit-scrollbar-track {
    background: #f5f5f5; 
}
.menu-container::-webkit-scrollbar-thumb, .cc-layout-grid-item::-webkit-scrollbar-thumb, .cd-table-container::-webkit-scrollbar-thumb {
    background: #ddd; 
    border-radius:5px;
}
.menu-container::-webkit-scrollbar-thumb:hover, .cc-layout-grid-item::-webkit-scrollbar-thumb:hover, .cd-table-container::-webkit-scrollbar-thumb:hover {
    background: #ccc; 
}

.menu-lvl1 {
    font-weight: 600;
    font-size: 13px;
    line-height: 14px;
    color: #A1A5B7;
    text-transform: uppercase;
    padding-left: 0px;
    padding-bottom: 10px;
    padding-top: 30px;
}

.menu-item {
    padding: 12px 10px 12px 31px;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 16px;
    color: #5E6278;
}
.menu-item:hover,.lvl2-expander label:hover {
    background-color: #F9F9F9;
    border-radius: 9px;
}

.lvl2-menu-item {
    position: relative;
    display: block;
}

.menu-item a {
    color: #5E6278;   
}
.lvl2-menu-item span {
    color: #A1A5B7;
    font-size: 23px;
    padding-right: 17px;
    position: absolute;
    left: 0px;
    top: 6px;
}
.lvl2-menu-item div {
    display: inline-block;
}

.expander-tab-label:after {
    font-family: 'keenicons-outline';
    font-weight: normal;
    content: "\e9e5";
    color: #D2D2E1;
    font-size: 19px;
    padding-right: 10px;
}
.expander-input:checked+.expander-tab-label:after {
    padding-right: 9px;
}

.lvl3-menu-container {
    position: relative;
}

.lvl3-menu-item {
    display: inline-block;
    padding: 10px 10px 14px 46px;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
    width: 100%;
    text-decoration: none;
}
.menu-dot {
    display: inline-block;
    height: 8px;
    width: 8px;
    background-color: #E1E3EA;
    border-radius: 20px;
    position: absolute;
    left: 20px;
    margin-top: 3px;
}
.menu-item-selected, .menu-item-selected a {
    background-color: #F9F9F9;
    color: var(--brand-color);
    border-radius: 9px;
}

.menu-item-selected span {
    color: var(--brand-color);
}

.body-container {
    width: 100%;
    height:100lvh;
    overflow:auto;
}
.top-bar {
    padding: 20px 25px;
}
.logout {
    font-weight: 600;
    font-size: 14px;
    color:#181C32;
    padding: 10px;
    width: 100%;
    display: block;
    border-radius: 4px;
}
.logout:hover {
    background: #F9F9F9;
}
.logout span {
    font-size: 18px;
    color: #A1A5B7;
    margin-right: 12px;
}
/* .user-icon {
    display: inline-block;
    font-size: 40px;
    color: #A1A5B7;
    margin-right: 27px;

    background-image: url('/app/user.png');
    border: 1px solid #A1A5B7;
    border-radius: 9px;
    background-repeat: no-repeat;
    background-size: 40px;
    background-position-y: 6px;
    
    width: 40px;
    height: 40px;

    margin-left: 10px;
} */
.user-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #EEF6FF;
    margin-left: 10px;
    margin-right: 27px;
    text-align: center;
    padding-top: 13px;
    text-transform: capitalize;
    color: #5E6278;
    font-weight: 600;
    font-size: 11px;
}

.username-container {
    background-color: #F9F9F9;
    border-radius: 16px;
    padding: 8px;
    padding-left: 25px;
    display: flex;
    align-items: center;
}
.hello {
    font-weight: 600;
    font-size: 12px;
    color: #A1A5B7;
    text-align: right;
    
}
.username {
    font-weight: 600;
    font-size: 14px;
    color: #3F4254;
}
.user-popout-launcher {
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background-color: #EEF6FF;
    margin-left: 10px;
    text-align: center;
    text-transform: capitalize;
    z-index: 1;
    justify-content: center;
}
.user-popout-launcher:hover::after {
    content: ' ';
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 4px solid #f4f8ff;
    z-index: 0;
    border-radius: 25px;
    top: -4px;
    left: -4px;
}


.heading-bar {
    padding: 0px var(--grid-gutter);
}

.title-crumb {
    display: flex;
    font-weight: 600;
    font-size: 13px;
    color: #A1A5B7;
    align-items: baseline;
}

.title-crumb .ki-outline {
    font-size: 17px;
    color: #5E6278;
}

.heading-bar h1 {
    display: inline-block;
    margin: 0 21px 0 0;
    font-size: 1.75rem
}

.title-crumb .ki-right {
    bottom: -2px;
    position: relative;
}

.content {
    padding: var(--gutter);
    padding-top: 0px;
}

.menu {
    display: block;
}
.menu-active {
    position: static;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.search {
    background-color: white;
}
.search-active {
     position: static;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

@media (max-width: 1024px) {
    .search {
        position: absolute;
        top: -100px;
        z-index: 2;
        padding: var(--gutter);
        
    }
    .search-active {
        top: 0px;
        left: 0px;
        width: 100%;
    }
    
    .card {
        padding: 15px;
    }

    .menu {
        position: absolute;
        top: -100vh;
        z-index: 1;
        height: calc(100vh - 90px);
    }
    .menu-active {
        top: 90px;
    } 

    h1 {
        font-size: 2rem;
    }

    .heading-bar h1 {
        font-size: 1.25rem;
    }
}
.cc-popout-item {
    font-size: 0.875rem;
}
.cc-popout-item a, .cc-popout-item button, .cc-popout-item .btn-primary {
    text-decoration: none;
    text-wrap: nowrap;
    color: var(--body-text-color);
    padding: 4px 8px;
    display: flex;
    border-radius: var(--btn-border-radius);
    background-image: none;
    background-color: transparent;
    font-weight: 500;
    font-size: 0.875rem;
}
.cc-popout-item button {
    width: 100%;
    justify-content: flex-start;
}
.cc-popout-item a:hover, .cc-popout-item button:hover {
    background-color: var(--color-100);
}
.cc-popout-item .c-hyperlink span, .cc-popout-item button span {
    font-size: 20px;
    color: #bdbfcb;
}


/* login */
.login-page {
    height: 100lvh;
}
.login-logo {
    height: 40px;
    margin-bottom: 50px;
}
.login-items {
    display: flex;
    align-items: center;
    
    background: #FFFFFF;
    border: 1px solid #F1F1F2;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    padding: 50px;
    /* margin: 0 auto; */
    /* margin: 0 auto 0 calc(25vw - 140px); */
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 13px;
    color: #A1A5B7;
    text-align: center;
}

.social-icon {
    font-size: 27px;
}
.linkedin {
    position: relative;
    top: 5px;
    color: #7E8299;
    border: 2px solid #7E8299;
    border-radius: 8px;
    padding: 2px 5px;
    margin-left: 1px;
}

.no-border {
    border: 0px;
    box-shadow: none;
}

.sign-in-controls {
    width: min(280px, 100vw - 100px);
}
.login-items h3 {
    font-weight: 600;
    font-size: 18px;
    color: #181C32;
    margin: 0 0 10px 0;
}
.login-items h2 {
    font-weight: 600;
    font-size: 26px;
    color: #181C32;
    margin: 0 0 10px 0;
}
.login-items button {
    width: 100%;
    margin: 0px;
}
.forgot-password-controls {
    font-size: 15px; 
}
.forgot-password-controls input {
    width: 360px;
}
.password_container {
    text-align: right;
}
.password_container div {
    width: 100%;
}
.password_container a {
    color: var(--brand-color);
    padding-top: 10px;
    display: block;
}

.login-fullbg {
    background-image: url('/app/NGAGE background.jpeg');
    background-size: cover;
    height: max(100lvh, 100%);
    gap: 10%;
}

.login-rhs {
    background-image: url('/app/LoginBG4k.jpg');
    background-size: cover;
    height: 100lvh;
}
.login-rhs .login-rhs-text {
    width: 75%;
}
.login-rhs-text {
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
    font-size: 28px;
    line-height: 46px;
    text-align: center;
    letter-spacing: -0.02em;
    color: #7d7d7d; 
    /* #181C32; */
    padding: 50px 0;
}
.table-btns {
    display: flex;
    align-items: center;
}

.table-btns .c-button, .grid-icon-btn  {
    background-color: transparent;
    border: 0px;
}

.table-btns span, .grid-icon-btn span {
    color: #bdbfcb;
    font-size: 20px;
}