*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    font-family: "Inter", sans-serif;
}
img{
    max-width:100%;
}
a {
    text-decoration:none !important;
}
li {
    list-style:none;
}
.header {
    background: #f6f8fa;
    padding: 18px 0;
}
.logo img {
    width: 100%;
    max-width: 32px;
    height: 32px;
}
.page-link:hover {
    border-radius: 8px;
}
.container{
    width:100%;
    max-width:100%;
    padding:0 16px;
}
.search-bar input{
    width:100%;
    padding:3px 30px;
    border:1px solid #ccc;
    background:transparent;
    font-size:15px;
    font-weight:400;
    color:#fff;
}
.search-bar {
    position:relative;
    display:flex;
    align-items:center;
}
.typeahead-keyword-search-bar .fa-solid .fa-magnifying-glass {
    flex: 0 0 auto; /* Do not grow or shrink, maintain actual size */
    margin-right: 10px; /* Space between icon and input field */
}
.fa-magnifying-glass {
    font-size: 20px;
}
.typeahead-keyword-search-bar input {
    cursor: text;
    flex: 1 1 auto; /* Grow to take remaining space */
    /* padding: 4px 0px 0 0; */
    border:1px solid #fff;
    background:transparent;
    font-size:18px;
    font-weight:400;
    color:#000;
    outline: none;
}
.fa-times {
    cursor: pointer;
}
.typeahead-keyword-search-bar input:focus {
    outline: none; /* Removes default outline, add your own if needed */
    border: 0px; /* Example to add a border on focus */
}
.typeahead-keyword-search-bar form {
    position: relative;
    display: flex;
    width: 100%;
}
.sign-button button {
    font-size:13px;
    padding:4px 10px;
    outline:none;
    border:1px solid #afb8c1;
    border-radius:5px;
    background:transparent;
    color:#afb8c1;
}
.sign-button a {
    color: #888d95;
    font-size: 16px;
    margin-right: 3px;
}
.search-bar input:focus-visible {
    outline:none;
}
.sign-button a:hover{
    color:#ccc;
}
.category-side-bar{
    padding:12px 0;
    border-right:1px solid #ccc;
    position:relative;
}
.category-side-bar-toggle{
    justify-content:space-between;
    align-items:center;
}
.category-side-bar-toggle .side-bar-count{
    font-size:10px;
    font-weight:600;
    margin-left:20px;
    color:#fff;
    background-color:#ee403d;
    padding:2px 5px;
}
.category-side-bar-toggle h5{
    font-size:17px;
    margin:0;
}
.menu-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.product-filter-bar .sort-by-text{
    margin:0 8px 0  0;
}
.select-option{
    position:relative;
}
.feed-row-header img {
    border-radius:20px;
    width:20px;
    margin-right:5px;
}
.white-border-box ul {
    display: flex;
    padding-left:15px;
    margin:4px 0 0;
}
.white-border-box ul li {
    position: relative;
}

.white-border-box ul li {
    padding: 0 10px 0 0px;
    position: relative;
    display: flex;
    align-items: center;
}
 .content-items-text:hover {
    color:#0d6efd;
    text-decoration:underline !important;
}
.white-border-box {
    border:1px solid #d0d7de;
    padding:16px;
    border-radius:10px;
    display: block;
    justify-content:space-between;
    margin:16px 0;
    /* width: 100%; */
}
.product-filter-bar {
    margin:16px 0;
}
/* .content-items a {
    font-size: 14px;
    font-weight:500;
} */
/* .content-items span {
    font-size: 14px;
    font-weight: 500;
} */
.Social-media a{
    background:#ddf4ff;
    border-radius:32px;
    padding:0 12px;
    font-size:12px;
    line-height:22px;
    display:inline-block;
    color:#0969da;
    font-weight:400;
}
.white-border-box ul li a {
    font-size:12px;
    font-weight:400;
    /* color:#656d76; */
}
.white-border-box ul li a:hover {
    font-size:12px;
    font-weight:400;
    text-decoration: underline !important;
    /* color:#656d76; */
}
.original-link a {
    font-size:12px;
    font-weight:400;
    text-decoration: underline !important;
    color:#0d6efd !important;
}
.white-border-box ul li p {
    font-size:12px;
    font-weight:400;
    color:#656d76;
    margin:0px;
}
.content-items p {
    margin:0px 0 8px;
    font-size: 14px;
}
.platform-thumb {
    width: 20px;
    /* height: 20px; */
    vertical-align: middle;
    margin-right:5px;
    margin-bottom: 0px !important;
}
.filter-platform-thumb {
    height: 20px;
    width: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right:10px;
    margin-bottom: 0px !important;
}
.filter-entity-thumb {
    height: 40px;
    width: 40px;
    object-fit: contain;
    vertical-align: middle;
    margin-right:10px;
    margin-bottom: 0px !important;
}
.entity-filter {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
}

.entity-filter-parent {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.entity-filter-text {
    align-content: center;
    font-size: 14px;
}
.entity-filter-title {
    align-content: center;
    font-size: 10px;
}
.product-filter-bar select{
    padding-left:60px !important;
}
.product-filter-bar .row{
    flex-wrap:nowrap;
    padding-right:6px;
    justify-content:flex-end;
    align-items:center;
}
#menu{
    width:max-content;
    padding:0;
}
.product-filter-bar .select-option{
    width:max-content;
    padding:0;
}
.product-filter-bar .product-filter-btn{
    width: max-content;
    padding:6px 10px;
    border-radius:5px;
    margin-left:10px;
    border:solid 1px #cccccc36;
    display:flex;
    align-items:center;
    background:#f6f8fa;
    color:#000;
}
#menu ul{
    margin:0;
    padding:0;
}
.menus li{
    padding:6px 8px;
}
.menus li:hover{
    background:#f6f8fa;
    border-radius:8px;
}
.menus{
    background:#fff;
    box-shadow:0px 0px 9px -4px;
    border-radius:10px;
    position:absolute;
    padding:10px 8px !important;
    font-size:14px;
    display:none;
    margin:0;
    width:256px;
    right:0;
    top:130%;
    z-index:99;
}
.product-filter-bar select{
    background:#F6F8FA;
    border:solid 1px #cccccc5c;
    padding:6px 8px;
    border-radius:8px;
}
.menus li a svg{
    padding-right:24px;
}
.read-more-btn {
    cursor: pointer;
}
.stat-icon {
    border-bottom:solid 1px transparent;
}
.stat-icon:hover {
    border-bottom:solid 1px #000;
    color:#4c8cfd;
}
.star-button i {
    margin-right:4px;
}

.star-button {
    display: flex;
}

.language-sec li {
    padding-left:0;
    margin-right:15px;
    cursor: auto;
}
.language-sec a li {
    font-size: 12px;
    color: #1f2328ad;
}
.mobile-language-sec a li {
    margin-bottom: 10px !important;
    cursor: pointer !important;
}
.filter-entities a li {
    font-size: 11px;
    color: #1f2328ad;
    justify-content: normal !important;
}
.star-button a:hover {
    background:#F3F3F6;
}
.star-button a {
    border:1px solid #afb8c1;
    padding:0 8px;
    font-size:12px;
    line-height:26px;
    display:flex;
    border-radius:8px;
    font-weight: 400;
    color:#0d6efd;
    opacity:.8;
    background:#F6F8FA;
    align-items:center;
}
.star-button p {
    margin: 0px;
    font-size: 12px !important;
}
@media (max-width:1000px) {
    .star-button i {
        display: none;
    }
}
.filter ul {
    padding:0;
    margin:0;
}
.filter h1 {
    font-size:16px;
    font-weight:500;
    line-height:26px;
}
.filter ul li {
    list-style:none;
    padding:6px 8px 6px 8px;
    display:flex;
    justify-content:space-between;
    cursor:pointer;
}
.filter ul li:hover, .filter ul .active {
    background:#d0d7de7a;
    border-radius: 5px;
}
.filter ul li a {
    text-decoration:none;
    font-size:14px;
    color:#1f2328ad;
    font-weight:500;
}
.filter span {
    background:#d0d7de85;
    padding:0px 10px;
    border-radius:10px;
    font-size:12px;
    display:flex;
    align-items:center;
    text-align:center !important;
}
.filter h2 {
    font-size:12px;
    margin-top:15px;
}
.language {
    margin:0 8px;
    border-radius:8px;
    border-style:solid;
    border-width:1px;
    border-color:rgba(31, 35, 40, 0.1);
    width:10px;
    height:10px;
}
.language-sec a {
    display:flex;
    align-items:center;
}
.language-sec svg {
    margin:0 8px;
}
.filter svg {
    padding-right:25px;
}
.filter i.fa.fa-code {
    padding-right: 8px;
}

.github .row .column:last-child {
    margin-bottom:40px;
}
.sign-button{
    justify-content:end;
    display:flex;
    align-items:center;
    height: 100%;
}
.Social-media a {
    margin:0 2px;
}
.select-option span, .select-option select {
    font-size:12px;
}
.product-filter-bar h3 {
    font-size:16px;
    margin:0;
}
.product-filter-bar h3  span{
    font-size:12px;
    color:#656D76;
}
.filter ul li.active:before, .filter ul .active:before {
    content:"";
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:4px;
    background:#0d6efd;
    border-radius:5px;
}
.filter ul li.active {
    position:relative;
}
.Social-media a:hover {
    background:#0969da;
    color:#fff;
}
.search-bar i {
    padding-right: 10px;
    padding-left: 5px;
    color: #0d6efd;
}
.typeahead-keyword-search-bar i {
    padding-right: 8px;
    margin: auto;
}
@media (min-width:1600px) {
    .github .row .column:first-child {
        width:100%;
        max-width:30% !important;
    }
    .github .row .column:last-child {
        width:100%;
        max-width:70% !important;
    }
}
.filter {
    width:100%;
}
.entities-filter-wrapper {
    margin-top: 13px;
}
#filter-entities-mobile h1 {
    margin-left: 15px;
}
.pagination {
    position:absolute;
    bottom:0px !important;
    left:0;
    right:0;
    margin:auto;
    text-align:center;
}
nav{
    position:relative;
    margin-top:80px;
}
.sign-button button:hover {
    color:#ccc;
}
.pagination{
    justify-content:start;
}
.page-link {
    border:none !important;
    margin:0 5px;
    background-color: #d6e7ff9c;
}
.page-link:focus{
     box-shadow:none !important;
}
.Social-media{
    display:flex;
}
.pagination{
    position:absolute;
    bottom:-45px;
    left:0;
    right:0;
    margin:auto;
    text-align:center;
}
.pagination{
    justify-content:center;
}
.github{
    position:relative;
}
.popup{
    top:0;
    display:none;
    box-shadow:0px 0px 5px -3px;
    position:absolute;
    width:100%;
}

.search-tips form input {
    width: 100%;
    border: solid 1px #d0d7de;
    border-radius: 8px;
    font-size: 20px;
    padding: 4px 4px 4px 45px;
    line-height: 55px;
    position: relative;
}
.search-tips form input:focus-visible {
    outline:#0969da;
    border:2px solid #0969da;
    font-size: 20px;
    line-height: 55px;
}
.search-tips {
    padding: 12px 0px;
    position: absolute;
    background: #fff;
    z-index: 999;
    width: 90%;
    top: 0%;
    max-width: 90%;
    left: 5%;
    border-radius: 8px;
}
.close-icon{
    text-align:right;
    position:absolute;
    right:10px;
    z-index:9999;
    top:65%;
    font-size:25px;
}
.best-match:hover{
    color:#000;
}
.best-match {
    padding: 6px 8px;
    border-radius: 5px;
    margin-left: 10px;
    border: solid 1px #cccccc36;
    display: flex;
    align-items: center;
    color: #000;
    font-size: 12px;
    justify-content: end;
    background: #f6f8fa;
    cursor: pointer;
}
.select-products{
    margin:0;
}
.popup form{
    border-bottom:1px solid #ccc;
    position:relative;
    padding:0 10px 20px;
    margin-bottom:10px;
}
.popup i.fa.fa-search{
    position:absolute;
    left:12px;
    padding:0 10px;
    top:10px;
    color:#656D76;
    font-size: 20px;
}
.popup a{
    font-size:12px;
    color:#0969da !important;
    padding:0px 1rem;
}
.typeahead-keyword-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #d1d7dd;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    color: #8c9198;
    padding: 16px 0px 16px 8px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    width: 100%;
}
.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #0d6efd;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    color: #8c9198;
    padding: 16px 8px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}
.search-bar svg {
    position:absolute;
    right:4px;
}
.search-tips form{
    position:relative;
    padding:0 12px;
}
.search-tips i {
    position: absolute;
    left: 15px;
    top: 18px;
    margin: 4px 4px 10px 10px;
    font-size: 20px;
}
.typeahead-bottom-bar {
    margin-top: 12px;
    display:block;
    border-top:1px solid #ccc;
    padding:15px;
    padding-bottom:0;
    color:#0969da;
    font-size:12px;
}

.typeahead-bottom-bar a:hover {
    text-decoration:underline !important;
}

.search-tips div {
    color:#1c1d1e;
    font-size:14px;
}

.typeahead-result-link {
    margin-top: 13px;
}
.typeahead-result-link :hover {
    background-color: #f3f5f6;
}
.typeaheadResultRow {
    padding: 5px;
}
.title-institution-typeahead {
    margin-bottom: 0px;
}
.text-typeahead-row {
    margin-left: -10px;
    align-content: center;
}

@media (max-width:768px) {
    .title-institution-typeahead {
        font-size: 12px;
    }
}

#search-bar-placeholder {
    transition: background-color 0.3s, color 0.3s;
}

#clear-search {
    display: none;
    background-color: #ff5757;
    padding: 3px 9px;
    font-size: 20px;
    margin-left: 3px;
    border-radius: 5px;
    color: white;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

.typeaheadResultImg {
    width: 50px;
    height: 50px;
    margin-left: 3px;
    object-fit: contain;
}
.img-typeahead-row {
    min-width: 72px;
}

#typeaheadResults {
    display:flex;
    flex-direction: column;
}

#popup{
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-color:rgba(0, 0, 0, 0.7);
    transition:all 0.5s ease-in-out;
    transform:translate(0px, -100%) scale(0, 0);
    opacity:0;
    display:none;
}
#popup.open{
    transform:translate(0px, 0px) scale(1, 1);
    opacity:1;
    z-index:106;
    display:block;
}
#popup{
    display:none;
}
.pagination{
    align-items:center;
}
.pagination a.prev{
    padding-right:20px;
}
.pagination a.next{
    padding-left:20px;
}
.peg-active{
    background:#0969da !important;
    color:#fff !important;
    border-radius:8px;
}
.white-border-box span {
    font-weight: 700;
}
.sort-active:before {
    content: "\f00c";
    font-family: "FontAwesome" !important;
    font-weight: 900;
    font-size: 15px;
    position: absolute;
    left: 8px;
}
.col-lg-9.col-md-7.column.span3.wow.pulse {
    visibility: visible;
    animation-duration: 0.15s;
    animation-iteration-count: 1;
    animation-name: pulse;
}
.white-border-box ul li:first-child {
    padding: 0 10px 0 15px;
}
.content-items ul {
    padding-left: 5px;
}
#main-section {
    padding-left: 4px;
}

.Filter-sec {
    overflow-y: scroll;
    width:fit-content;
    height:100vh;
    position:sticky;
    top:0;
    margin:0;
    padding:0;
    width:100%;
}

@media (min-width:768px) {
    .mobile-filter-bar-new.row, ul.mega-menu {
        display: none;
    }
    .mega-menu {
        display: none;
    }
    #dropdown-header {
        display: flex;
    }
}
@media (max-width:767px) {
    /*
     * When the view is mobile, hide entity list and display AI widget at 100% width.
     */
    .Filter-sec {
        width:fit-content;
        position:sticky;
        top:0;
        margin:0;
        padding:0;
        width:100%;
        height: auto;
    }
    #filter-entities-main {
        display: none;
    }
    #left-bar {
        width: 100% !important;
    }
    #dropdown-header {
        display: none;
    }
    .select-products {
        padding:0;
    }
    .Social-media {
        display:flex;
        flex-wrap:wrap;
        gap:10px;
    }
    .product-filter-bar h3 {
        display:none;
    }
    .product-filter-bar .row {
        flex-wrap:wrap;
        justify-content:space-between;
    }
    .product-filter-bar .select-option {
        padding:0 10px;
    }
    .white-border-box ul {
        flex-wrap:wrap;
    }
    .sign-button button {
        font-size:14px;
    }
    .pagination {
        flex-wrap: wrap;
    }
    .mobile-filter-bar-new .main-section {
        display: block !important;
        padding-left: 0;
    }
    .mobile-filter-menu #mobile-menu {
        max-width: max-content;
        display: flex;
        justify-content: end;
        padding: 0;
        cursor: pointer;
    }
    .mobile-filter-lang ul {
        display: none;
    }
    .mobile-option-bar ul {
        position: absolute;
        top: 130%;
        background: #fff;
        width: 256px;
        box-shadow: 0 0 10px 0px #ccc;
        border-radius: 5px;
        padding: 16px 0px;
        z-index: 999;
    }
    .mobile-option-bar ul li {
        display: flex;
        justify-content: space-between;
        padding: 6px 8px 6px 30px;
        margin: 0 8px;
    }
    .mobile-filter-lang .filt-btn, #mobile-menu .mobile-sortby {
        background: #F6F8FA;
        padding: 6px 8px;
        border-radius: 8px;
        border: solid 1px #ccc;
        font-size: 12px;
        color: #212529;
        font-weight: 500;
    }
    a.filt-btn svg, a.Reposit svg {
        color: #656D76;
    }
    .mobile-filter-bar-new.row {
        margin: 16px 0 -13px;
    }
    .Fewest-stars li {
        position: relative;
        text-align:right;
    }
    .Fewest-stars {
        width: max-content;
        padding: 0;
        margin: 0 !important;
    }
    .mobile-filter-menu {
        justify-content: flex-end;
        gap: 8px;
        align-items: center;
    }
    .mobile-filter-lang {
        margin: 0 !important;
        padding: 0;
    }
    .mobile-select-option {
        padding: 0;
    }
    .Fewest-stars li a {
        text-align: left;
    }
    .mobile-select-option {
        text-align: left !important;
    }
    .mobile-select-option li {
        text-align: left;
    }
    .mega-menu {
        position: fixed;
        z-index: 999;
        background: #fff;
        max-width: 100%;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        padding: 0;
        overflow-y: scroll;
    }
    .mega-menu li a {
        display: flex;
        align-items: center;
    }
    .close-language {
        display: flex;
        justify-content: space-between;
        padding: 10px 16px;
        border-bottom: 1px solid #ccc;
        font-size: 14px;
        color: #1f2328;
        font-weight: 500;
    }
    .mega-menu {
        display: none;
    }
    .mobile-select-option li {
        padding: 6px 8px;
        font-size: 14px;
        color: #1f2328
    }
    .more-option {
        padding: 8px;
    }
    .language-select {
        padding: 0 16px;
    }
    .mega-menu li a {
        display: flex;
        align-items: center;
        color: #1F2328;
        font-size: 14px;
        padding: 5px 8px 6px 0;
    }
    .language-select span {
        font-size: 12px;
        color: #656D76;
        padding: 6px 8px;
        font-weight: 500;
    }
    .header {
        padding: 16px 0;
    }
    .category span {
        font-size: 12px;
    }
    .category svg{
        padding-right: 26px;
        color: #0009;
    }
    .category i{
        color: #0009;
    }
}

@media (max-width:400px) {
    .search-bar svg {
        display:none;
    }
    .page-link {
        padding: 5px 8px !important;
    }
    .pagination .next, .pagination .prev {
        padding: 0 !important;
    }
    .content-items-text {
        width: 100%;
        display: inline-block;
        max-width: 80%;
        overflow: hidden;
        white-space: nowrap;
    }
}
@media (max-width: 380px) {
    .white-border-box {
        padding:12px;
    }
    .content-items a {
        font-size: 14px;
    }
}

.main-footer {
    background: #18181b;
    color: #fff;
    padding: 80px 0 40px;
}

.feed-item-img {
    height: auto;
    max-width: 100%;
}

@media (max-width: 430px) {
    .feed-item-img {
        height: 240px;
        max-width: 100%;
    }
}

@media (min-width: 1100px) {
    .feed-item-img {
        height: 240px;
        width: 420px;
    }
}

@media (min-width: 1300px) {
    .feed-item-img {
        height: 314px;
        width: 560px;
    }
}

@media (min-width:1200px) {
    .main-footer .container {
        padding: 0 60px;
        max-width: 85%;
    }
}
@media (max-width: 1199px) {
    .container {
        max-width: 100%;
        /* padding: 0 20px; */
    }
    .main-footer .container {
        padding: 0 60px;
        max-width: 75%;
    }
}
@media (max-width: 991px) and (min-width: 810px){
    .mobile-footer-jenni:nth-child(2) {
        width: 28%;
    }
    .mobile-footer-jenni:last-child {
        width: 18%;
    }
    .mobile-footer-jenni:first-child {
        width: 29%;
    }
    .main-footer .container {
        padding: 0 30px;
        max-width: 70%;
    }
    .copyright {
        flex-wrap: wrap;
        gap: 20px 0;
    }
}
.logo-img-app {
    font-size: 40px;
    font-family: 'EB Garamond', serif;
    font-weight: 400;letter-spacing: -2px;
    line-height: 60px;
}
.logo-text-app {
    font-size: 40px;
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 60px;
    cursor: pointer;

}
.chat_history_title {
    padding: 15px 0px;
}
.logo-text-app:hover {
    text-decoration: underline !important;
}
@media (max-width: 1100px){
    .logo-text-app {
        display: none;
    }
}
@media (max-width: 810px){
    .mobile-footer-jenni {
        width: 100% !important;
        gap: 40px;
    }
    .copyright {
        flex-wrap: wrap;
        gap: 20px 0;
        flex-direction: column;
        align-items: baseline;
    }
    .main-footer .row {
        gap: 40px 0;
    }
    .main-footer {
        padding: 60px 0 40px;
    }
    .main-footer .container {
        padding: 0 20px;
        max-width: 70%;
    }
    .customer .container {
        padding: 0 25px !important;
    }
    .header .container{
        position: relative;
    }
}
.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #52525b;
    padding-top: 40px;
    margin-top: 40px;
}
.Copyright-content p, .Copyright-content span {
    margin: 0;
    color: #a1a1aa;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}
.footer-logo ul {
    gap: 10px;
}
.footer-logo ul li a {
    font-size: 14px;
    line-height: 17px;
}
.footer-logo.logo-brand p {
    color: #d4d4d8;
    width: 200px;
    font-size: 16px;
}
.footer-logo.logo-brand p {
    color: #d4d4d8;
}
.footer-logo .blue-btn {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
}
.footer-logo p {
    font-size: 18px;
    font-family: 'Inter';
    letter-spacing: -.1px;
    font-weight: 400;
}
.footer-logo h3 {
    font-size: 33px;
    font-weight: 900;
    font-family: "Inter-Black", "Inter", sans-serif;
    color: #fff;
}
.footer-logo h4 {
    font-size: 18px;
    font-family: "Inter";
    font-weight: 700;
    letter-spacing: 0;
    line-height: 25px;
    margin-bottom: 12px;
}
.footer-logo ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-logo ul li a {
    color: #a1a1aa;
    font-size: 16px;
    font-family: 'Inter';
    display: inline-block;
    font-weight: 500;
    line-height: 25px;
}
.footer-logo ul li a:hover {
    color: #fff;
}
.social-media i {
    padding: 0 5px;
    font-size: 20px;
    color: #a1a1a1;
}
.blue-btn {
    padding: 14px 24px;
    border-radius: 12px;
    background: #3289d6;
    box-shadow: 0px 0px 6px 1px #323dd61a;
    font-size: 24px;
    font-weight: 700;
    color: #fff !important;
    font-family: "Inter-SemiBold", "Inter", sans-serif;
    letter-spacing: -.4px;
    line-height: normal;
    display: inline-block;
}
.search-blue-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    height: 40px;
    width: 40px;
    transform: translateY(-50%);
    padding: 8px 8px;
    border: 1px solid #afb8c1;
    border-radius: 12px;
    background: #F6F8FA;
    box-shadow: 0px 0px 6px 1px #323dd61a;
    font-size: 12px;
    color: #000 !important;
    font-family: "Inter-SemiBold", "Inter", sans-serif;
    letter-spacing: -.4px;
    line-height: normal;
    display: inline-block;
    border-color:  #0d6efd;
}
.blue-btn span {
    font-size: 18px;
    color: #ffffffcc;
    font-family: "Inter", sans-serif;
    font-weight: 400 !important;
}
.footer-logo .blue-btn {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
}


.main-spinner {
    border: 8px solid rgba(255, 255, 255, 0.3); /* Light grey transparent */
    border-left-color: #3498db; /* Blue primary spinner color */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 0.5s linear infinite; /* Increased speed */
    position: relative;
    margin: 50px auto; /* Centered in the container with some margin */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); border-left-color: #f0f0f0; } /* Midway color change */
    100% { transform: rotate(360deg); }
}

/* First shadow for visual depth and partial visibility */
.main-spinner::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-radius: 50%;
    border: 8px solid transparent; /* Mostly transparent */
    border-top-color: rgba(84, 158, 248, 0.861); /* Only the top part is visible */
    animation: middleSpin 0.8s linear infinite; /* Spin for middle circle */
}

@keyframes middleSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Second shadow for additional visual effect with slower spin */
.main-spinner::before {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
    border-radius: 50%;
    border: 8px solid rgba(84, 204, 255, 0.7); /* Teal color */
    animation: secondShadowSpin 2s linear infinite; /* Slower spin duration */
}

@keyframes secondShadowSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.entity-header-line {
    font-weight: 400 !important;
    font-size: 14px !important;
}
#membership-status-link {
    font-size: 11px;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}
#mobile-membership-status-link {
    width: auto;
    display: flow;
    font-size: 14px;
}
@media (max-width: 740px) {
    .typeahead-right-icon {
        display: none;
    }
}


#chat-container {
    display: none;
    margin-top: 16px;
    transition: all 0.4s ease;
}

#chat-wrapper {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#subscribe-container {
    display: none;
    margin-top: 16px;
    transition: all 0.4s ease;
}

#subscribe-wrapper {
    justify-content: space-between;
    display: flex;
    font-size: 14px;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    /* flex-direction: column; this causes each item to take the entire column */
    overflow: hidden;
}

.subscribe-text {
    align-content: center;
}

#subscribe-button {
    width: fit-content;
    background-color: #f8f9fa;
    color: #0d6efd;
    border: 1px solid #e9ecef;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(13, 110, 253, 0.15);
}

#subscribe-button:hover {
    background-color: #f1f3f5;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

#subscribe-button:active {
    transform: translateY(0);
    background-color: #e9ecef;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#chat-input-bar {
    display: flex;
    padding: 12px;
    border-top: 1px solid #ddd;
}

#chat-message-input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 18px;
    font-size: 14px;
    outline: none;
}

#send-button {
    width: 36px;
    height: 36px;
    margin-left: 8px;
    margin-top:3px;
    border-radius: 50%;
    border: none;
    background-color: #0d6efd;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#message-list {
    flex-grow: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chat-message {
    padding: 10px;
    margin: 5px 0;
    border-radius: 12px;
    font-size: 16px;
    max-width: 95%;
    line-height: 1.4;
}

.is-user {
    align-self: flex-end;
    background-color: #0d6efd;
    color: white;
}

.is-system {
    align-self: flex-start;
    background-color: #eee;
    color: #333;
}

.pro-button-menu {
    font-size: 12px;
    background-color: rgb(13, 110, 253);
    padding: 3px 6px;
    border-radius: 5px; color: rgb(255, 255, 255);
}
.email-button-menu {
    font-size: 12px;
    word-break: break-word;
}
.pro-button-toggle {
    width:auto;
    white-space: normal;
    text-align: left;
    line-height: 1.2;
    text-decoration: none;
}

.ios-spinner-container {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.ios-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 122, 255, 0.2);
    border-top-color: rgba(0, 122, 255, 0.8);
    border-radius: 50%;
    animation: ios-spin 0.8s linear infinite;
}

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

.subscription-indicator {
    position: static; /* Remove absolute positioning */
    margin-left: 12px; /* Add space between text and icon */
    display: flex;
    align-items: center;

    top: 50%;
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
 }

 .subscription-indicator:hover {
    background-color: rgba(0,0,0,0.05);
 }

 .subscription-indicator .unsub-icon {
    display: none;
    font-size: 13px;
    color: #dc3545;
 }

 .bell-icon {
    background: #f6fafd85;
 }

 .unsub-icon {
    background: #f6fafd85;
 }

 .subscription-indicator:hover .bell-icon {
    display: none;
 }

 .subscription-indicator:hover .unsub-icon {
    display: block;
 }



 /* API Plan CSS Styles */

 .api-pricing-container {
    margin-top: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    font-size: 3rem;
    font-weight: bold;
    color: #2563eb;
    margin: 1rem 0;
}

.price-tag span {
    font-size: 1.2rem;
    color: #666;
}

.pricing-features {
    margin: 1.5rem 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li:before {
    content: "✓";
    color: #2563eb;
    position: absolute;
    left: 0;
}

.api-keys-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

.api-key-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.api-key-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.api-key-value {
    font-family: monospace;
    background: #eef2ff;
    padding: 0.5rem;
    border-radius: 4px;
    word-break: break-all;
}

.blue-btn {
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.blue-btn:hover {
    background: #1d4ed8;
}

.key-limit-warning {
    background: #fff7ed;
    border-left: 4px solid #f97316;
    padding: 1rem;
    margin: 1rem 0;
    color: #7c2d12;
    font-size: 0.9rem;
}

.text-box-congrats {
    background: #f6fff3;
    border-left: 4px solid #90EE90;
    padding: 1rem;
    margin: 1rem 0;
    color: #7c2d12;
    font-size: 0.9rem;
}

/* Profile Page CSS Styles */

.entity-profile-header {
    background: white;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
    margin-top: 15px;
}

.profile-main-info {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .profile-main-info {
        flex-direction: column;
    }
}

.profile-left {
    flex: 1;
    display: block;
    gap: 16px;
}

.profile-image-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    object-fit: cover;
}

.institution-logo {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 2px solid white;
    background: white;
    object-fit: contain;
}

.profile-text {
    flex: 1;
}

.profile-text h1 {
    font-size: 24px;
    margin: 0 0 8px 0;
    color: #1f2937;
}

.profile-subtitle {
    font-size: 16px;
    color: #4b5563;
    margin-bottom: 16px;
}

.profile-subtitle span:not(:last-child):after {
    content: " • ";
    margin: 0 8px;
}

.subscription-button {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #d1d5db;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.subscription-button:hover {
    background: #f3f4f6;
}

.subscription-button.subscribed {
    background: #dbeafe;
    border-color: #93c5fd;
}

.profile-right {
    flex: 1;
    max-width: 400px;
}

.recent-appearances {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
}

.recent-appearances h3 {
    font-size: 16px;
    margin: 0 0 12px 0;
    color: #374151;
}

.appearance-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.thumbnail-link {
    display: block;
    padding: 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
}

.thumbnail-link:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.appearance-date {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.appearance-title {
    font-size: 13px;
    color: #1f2937;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-metadata {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
}

.metadata-section h3 {
    font-size: 14px;
    color: #374151;
    margin: 0 0 12px 0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    font-size: 13px;
    color: #4b5563;
}

.quotes-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.quote-category h3 {
    font-size: 16px;
    color: #374151;
    margin: 0 0 16px 0;
}

.quotes-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.quote-link {
    display: block;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.quote-link:hover {
    background: #f8fafc;
}

.quote-text {
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quote-date {
    font-size: 12px;
    color: #6b7280;
}

.quote-byline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.quote-meta {
    flex: 1;
    overflow: hidden;
}

.quote-separator {
    margin: 0 6px;
    color: #9ca3af;
}

.quote-details {
    color: #4b5563;
}

.quote-entity {
    font-weight: 500;
}

.quote-video-title {
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 240px;
    vertical-align: bottom;
}

.quote-timestamp {
    font-family: monospace;
    color: #2563eb;
}

.quote-link-icon {
    margin-left: 8px;
    color: #2563eb;
}

@media (max-width: 768px) {
    .quote-video-title {
        max-width: 120px;
    }

    .quote-byline {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .profile-metadata {
        display: none;
    }
    .recent-appearances {
        display: none;
    }
}

.recent-media {
    margin-top: 16px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
}

.recent-media h3 {
    font-size: 16px;
    margin: 0 0 12px 0;
    color: #374151;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.thumbnail-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
}

.thumbnail-item:hover {
    transform: scale(1.05);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 8px;
}

.thumbnail-date {
    color: white;
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .thumbnail-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
    }
}

.quote-grid-container {
    /*
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: min-content;
        gap: 20px;
    */
    columns: 2;
    column-gap: 20px;
    margin-top: 20px;
    width: 100%;
}


@media (min-width: 769px) and (max-width: 1200px) {
    .quote-grid-video-container {
        height: 160px;
    }
}

@media (min-width: 1201px) {
    .quote-grid-video-container {
        height: 200px;
    }
}
@media (max-width: 768px) {
    .quote-grid-container {
        /* grid-template-columns: 1fr; */
        columns: 1;
    }
    .quote-grid-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .quote-grid-actions {
        width: 100%;
        justify-content: space-between;
    }
}

.quote-grid-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
    height: auto;
}

.quote-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote-grid-quotes-container {
    /* margin-top: 16px;
    margin-bottom: 8px; */
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-grid-quote-item {
    background-color: #f9fafb;
    border-left: 3px solid #0d6efd;
    border-radius: 4px;
    padding: 12px 16px;
    transition: background-color 0.2s;
}

.quote-grid-quote-item:hover {
    background-color: #f3f4f6;
}

.quote-grid-quote-content {
    position: relative;
}

.quote-grid-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.quote-grid-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-grid-badge-controversial {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.quote-grid-badge-policy {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.quote-grid-quote-text {
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    font-style: italic;
    margin-bottom: 10px;
}

.quote-grid-quote-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #6b7280;
    flex-wrap: wrap;
}

.quote-grid-quote-date {
    white-space: nowrap;
    color: #6b7280;
}

.quote-grid-timestamp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    text-decoration: none;
    font-family: monospace;
    font-size: 12px;
}

.quote-grid-timestamp-link:hover {
    text-decoration: underline;
}

.quote-grid-timestamp-link i {
    font-size: 10px;
}

.quote-grid-header {
    padding: 16px 16px 8px;
    border-bottom: 1px solid #f0f0f0;
}

.quote-grid-header img {
    border-radius: 20px;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: cover;
}

.quote-grid-header .content-items-text {
    text-decoration: none;
    color: #1f2328;
    font-weight: 500;
    font-size: 14px;
}

.quote-grid-header .content-items-text:hover {
    color: #0d6efd;
    text-decoration: underline !important;
}

.quote-grid-body {
    display: flex;
    flex-direction: column;
    /* padding: 16px; */
    flex-grow: 0;
}

.quote-grid-text {
    flex-grow: 0;
}

.quote-grid-footer {
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-grow: 0;
    height: auto;
    min-height: fit-content;
}

.quote-grid-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #656d76;
}

.quote-grid-date {
    white-space: nowrap;
}

.quote-grid-meta .original-link {
    color: #0d6efd;
    text-decoration: underline;
    font-weight: 400;
    font-size: 12px;
}

.quote-grid-actions {
    display: flex;
    gap: 10px;
}

.quote-grid-action-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    background-color: #f6f8fa;
    border: 1px solid #d0d7de;
    font-size: 12px;
    color: #0d6efd;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quote-grid-action-button:hover {
    background-color: #f0f3f6;
}

.quote-grid-action-button i {
    font-size: 14px;
}

.quote-grid-action-button a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
}

#enhanced-transcript {
    padding: 20px;
}

/* Executive dashboard */

/* Executive Dashboard Styles */
.executive-dashboard {
    background: white;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #d0d7de;
    margin-top: 15px;
}

.dashboard-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.dashboard-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

.dashboard-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    overflow-x: auto;
}

.dashboard-tabs .tab {
    padding: 16px 24px;
    font-size: 15px;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.dashboard-tabs .tab:hover {
    color: #0d6efd;
}

.dashboard-tabs .tab.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    font-weight: 500;
}

.dashboard-content {
    padding: 24px;
}

.dashboard-content .section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 16px 0;
}

/* Hero quotes grid */
.hero-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.quote-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.quote-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.quote-header {
    display: flex;
    padding: 16px;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
}

.entity-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    object-fit: cover;
    margin-right: 12px;
}

.entity-info {
    flex: 1;
}

.entity-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.entity-name:hover {
    text-decoration: underline;
    color: #0d6efd;
}

.entity-title {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

.quote-body {
    padding: 16px;
}

.quote-text {
    font-size: 15px;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 16px;
    font-style: italic;
}

.quote-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.quote-source {
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.quote-badges {
    display: flex;
    gap: 8px;
}

.badge {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.badge.controversial {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

.badge.policy {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.timestamp-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    text-decoration: none;
    font-size: 12px;
}

.timestamp-link:hover {
    text-decoration: underline;
}

.timestamp {
    font-family: monospace;
}

/* Topics grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.topic-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    cursor: pointer;
}

.topic-card:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.topic-name {
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.trend-indicator {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 12px;
}

.trend-indicator.up {
    background: #dcfce7;
    color: #16a34a;
}

.trend-indicator.down {
    background: #fee2e2;
    color: #dc2626;
}

.trend-indicator.stable {
    background: #f3f4f6;
    color: #6b7280;
}

/* Sector tabs */
.sector-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sector-tab {
    padding: 8px 16px;
    font-size: 14px;
    color: #4b5563;
    background: #f3f4f6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.sector-tab:hover {
    background: #e5e7eb;
}

.sector-tab.active {
    background: #0d6efd;
    color: white;
}

.sector-content-panel {
    display: none;
}

.sector-content-panel.active {
    display: block;
}

.sector-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sector-quote-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
    align-content: space-around;
}

.sector-quote-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Executives grid */
.executives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.executive-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.executive-card:hover {
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.executive-info {
    display: flex;
    padding: 16px;
    align-items: center;
}

.executive-avatar {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    object-fit: cover;
    margin-right: 12px;
}

.executive-details {
    flex: 1;
}

.executive-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.executive-name:hover {
    text-decoration: underline;
    color: #0d6efd;
}

.executive-title {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.executive-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
}

.influencer-badge {
    font-size: 11px;
    padding: 2px 8px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
}

.view-profile a {
    font-size: 13px;
    color: #0d6efd;
    text-decoration: none;
}

.view-profile a:hover {
    text-decoration: underline;
}

.no-data {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-tab {
        padding: 12px 16px;
        font-size: 14px;
    }

    .hero-quotes-grid,
    .topics-grid,
    .sector-quotes-grid,
    .spotlight-quotes-grid,
    .executives-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        padding: 16px;
    }

    .quote-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.spotlight-section {
    margin-bottom: 30px;
}

.spotlight-header {
    margin-bottom: 20px;
}

.spotlight-description {
    font-size: 16px;
    color: #6b7280;
    margin: 4px 0 0 0;
}

.spotlight-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.spotlight-quote-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s;
}

.spotlight-quote-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}


.view-source, .view-entity {
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.view-source:hover, .view-entity:hover {
    text-decoration: underline;
}

.timestamp-link:hover {
    text-decoration: underline;
}

.timestamp-text {
    font-family: monospace;
}

.quote-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.back-to-entity-profile {
    padding: 12px 16px;
    background: #f9fafb;
    /* border-top: 1px solid #e5e7eb; */
    margin-top: 16px;
    font-weight: bold;
}

.view-entity {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.view-entity:hover {
    text-decoration: underline;
}


.login-prompt-entity {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.login-prompt-entity p {
    margin: 0;
    font-size: 14px;
    color: #495057;
}

.login-prompt-entity a {
    color: #0d6efd;
    font-weight: bold;
    text-decoration: none;
}

.login-prompt-entity a:hover {
    text-decoration: underline;
}
