:root {
    --color-green: #45CE17;
}

.result-card {
    margin-bottom: 20px;
}



/* Style for the anchor tag */
.sidenav-trigger {
    position: relative;
    /* Required to position the popover */
    display: inline-block;
    text-decoration: none;
}

/* Hidden popover by default */
.popover {
    visibility: hidden;
    opacity: 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    top: 100%;
    /* Position below the trigger element */
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    margin-top: 5px;
    /* Add some spacing below the element */
}

/* Arrow for the popover */
.popover::after {
    content: '';
    position: absolute;
    top: -5px;
    /* Adjust to align with popover */
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

/* Show the popover on hover */
.sidenav-trigger:hover .popover {
    visibility: visible;
    opacity: 1;
}

.stars {
    color: #ffb400;
    font-size: 1rem;
}

.filters-header {
    margin-bottom: 15px;
    font-weight: bold;
}

.nav-wrapper {
    background-color: #3f51b5;
}

.star-rating {
    display: inline-block;
}

.star-rating i {
    font-family: FontAwesome;
    margin-right: 6px;
}

.star-rating .half {
    font-size: 33px;
    color: #FFCC00;
}

.star-rating .outline {
    font-size: 33px;
    color: #FFCC00;
}

.fa-star {
    font-size: 33px;
    color: #FFCC00;
}

.fa-star-half-full {
    font-size: 33px;
    color: #FFCC00;
}

.star-rating .gold {
    font-size: 48px;
    color: #FFCC00;
}

.sidenav-trigger {
    width: 56px;
    height: 56px;
    text-align: center;
    border-radius: 50%;
    background: var(--color-green);
    display: block;
}

.sidenav-trigger-info {
    position: absolute;
    top: 18px;
    right: 66px;
    background: white;
    border: 1px solid #7E92A2
}

.sidenav-trigger-edit {
    position: absolute;
    top: 18px;
    right: 66px;
    background: white;
    border: 1px solid #7E92A2;
    border-radius: 70px;

}

.sidenav-trigger-edit img {
    margin-top: 12px;
}

.sidenav-trigger-info img {
    margin-top: 12px;
}

nav a.sidenav-trigger {
    display: block;
    width: 56px;
    line-height: 56px;
    height: 56px;
    margin-top: 24px;
    margin-left: 5px;
    margin-right: 5px;
}

.sidenav-trigger-right-my-uploads {
    background: white;
    border: 1px solid #DFE1E5;
}

.sidenav-trigger-right-my-uploads img {
    margin-top: 12px;
}

.hamburger-menu-icon {
    margin-top: 8px;
}

nav {
    height: 400px;
    box-shadow: none;
}

.nav-wrapper {
    background: white;
    margin-top: -14px;
}

body {
    background: #F6F8FA;

    font-family: Inter;
}

.brand-logo {
    width: 228px;
    height: 70px;
    margin-top: 71px;
}

.logo-subtitle {
    display: flex;
    color: #24292F;
    text-align: center;
    width: 389px;
    position: absolute;
    margin-top: 160px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    max-height: 80px;
}

.logo-subtitle p {
    margin: 0;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    font-family: "Inter", sans-serif;
}

.input-field .prefix {
    color: #9e9e9e;
}

.input-field .custom-input:focus {
    border-bottom: transparent !important;
    box-shadow: transparent !important;
}

.input-field .custom-input {
    border-bottom: none;
}

.search-container {
    max-height: 56px;
    margin-top: 20px;
    top: 283px;

    width: 90%;
    max-width: 730px;

    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 9;
}

.input-field .prefix {
    height: 20px;
    width: 20px;
    font-size: 20px;
    color: #797a7c;
    line-height: 20px;
    line-height: 56px;
    top: 0;
    left: 20px
}

#search {
    margin-bottom: 0px;
}

.search-container-row {
    top: 0px;
    position: absolute;
    width: 100%;
}

.sidenav-trigger-right {
    float: right;
    margin-right: 24px;
}

nav .sidenav-trigger-right {
    float: right;
    margin-right: 24px;

}

.sidenav-trigger-right-user {
    background-color: white;
    border: 1px solid #DFE1E5;
}

nav a.sidenav-trigger-right-user {
    margin-left: 7px;
}

nav a.sidenav-trigger-right-upload {
    margin-right: 7px;
}

.custom-input::placeholder {
    color: #797A7C
}

#search {
    margin-bottom: 0px;
    height: 100%;
    line-height: normal;
    padding: 0 20px;
    margin: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-radius: 27.5px;
    border: 1.5px solid #DFE1E5;
    padding-left: 40px;
}

.search-container {
    max-height: 56px;
    height: 56px;
    margin-top: 20px;
    width: 100%;
    max-width: 730px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    height: 56px;
}

.input-field .prefix {
    height: 20px;
    width: 20px;
    font-size: 20px;
    color: #797a7c;
    line-height: 56px;
    position: relative;
    top: 0;
    left: 35px;
    margin-top: -36px;
}

.custom-input::placeholder {
    color: #797A7C;
}

.search-container .btn {
    margin-left: 11px;
    height: 56px;
    border-radius: 27.5px;
    background: var(--color-green);
    box-shadow: none;
    text-transform: none;
    min-width: 110px;
}

nav .input-field {
    height: 56px
}

.card {
    box-shadow: none;
    border-radius: 16px;
    margin-top: 34px;
}

[type="checkbox"]+span:not(.lever):before {
    border-radius: 2px;
    border: 2px solid #DFE1E5
}

.card .card-title {
    color: #24292F;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
}

.filters-header {
    color: #24292F;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}

.section {
    padding-top: 0px;
    padding-bottom: 0px;
}

span {
    color: #24292F;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    flex-wrap: nowrap;
    margin-bottom: -20px;
    margin-top: 34px;
}

.flex-container span {
    font-size: 16px;
    line-height: 1.5;
    white-space: nowrap;
}

.flex-container .right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.flex-container .browser-default {
    height: 36px;
    line-height: normal;
    font-size: 14px;
    min-width: 150px;
}

.flex-container .sort-dropdown {
    height: 56px;
}

.sort-dropdown {
    background: transparent;
    border-radius: 4px;
    border: 1px solid;
    border-color: #DFE1E5;
    padding: 16px
}

.sort-by-label {
    color: #24292F;
    position: absolute;
    bottom: top;
    margin-top: -56px;
    margin-left: 10px;
    background: #F6F8FA;
    padding: 3px
}

.showing-label {
    color: #24292F;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
}

.ratings-text {
    color: #1E1E1E;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    line-height: 33px;
    display: inline;

}

.language-name {
    color: #24292F;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    padding-top: 19px;
}

.lines-text {
    color: #24292F;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.summary-text {
    color: #24292F;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    padding-top: 9px;
}

.sidenav-trigger-download {
    position: absolute;
    top: 18px;
    right: 0
}

.no-ratings {
    height: 33px;
    color: #1E1E1E;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    line-height: 33px;
}

.page-selector {
    border: 2px solid #DFE1E5;
    /* padding: 8px; */
    width: 18px;
    height: 26px;
    padding: 8px 14px;
    color: black;
    border-radius: 4px;
}

.current-page {
    border: 2px solid #DFE1E5;
    /* padding: 8px; */
    width: 23px;
    height: 26px;
    padding: 8px 14px;
    background: var(--color-green);
    color: white;
    border-radius: 4px;
}

#mobile-menu {
    text-align: center;
}


.refresh-icon {
    width: 40px;
    height: 40px;
    position: absolute;
    margin-right: 0px;
    top: 25px;
    right: 25px;
}

.refresh-icon img {
    margin-top: 7px;
}

.per-page-container {
    margin-top: 10px;
}

#mobile-sort {
    display: none
}

.per-page-container {
    display: inline;
    margin-left: 50px;
}


#mobile-menu {
    padding-top: 96px;
}

.sidenav>a {
    padding: 0px
}

.close-icon-menu-link {
    border: 1px solid #DFE1E5;
    border-radius: 50%;
    min-height: 40px;
    width: 40px;
    padding: 0;
    height: 40px;
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 0px;
}

.close-icon-menu {
    width: 20px;
    height: 20px;
    line-height: 40px;
    margin-top: 9px;
}



.brand-logo img {
    width: 90%
}

.breadcrumbs a {
    color: var(--color-green);
    text-decoration: underline;
}

.breadcrumbs {
    margin-top: 54px;
    margin-bottom: 32px;
}

.homepage .breadcrumbs {
    padding: 0 .75rem;
    margin-top: 24px;
    margin-bottom: -12px;
}

.ratings-text-container {
    display: inline;
    vertical-align: super;
}

.status-ribbon {
    display: inline;
    border-radius: 70px;
    padding: 10px 16px 10px 20px;

    padding-top: 16px;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 14px;
    justify-content: center;
    align-items: center;
    text-transform: capitalize;
    margin-left: 15px;
}

.green-ribbon {
    background: rgba(84, 204, 44, 0.14);
    color: var(--color-green);
}

.blue-ribbon {
    background: rgba(48, 205, 205, 0.14);
    color: #30CDCD;
}

.yellow-ribbon {
    background: rgba(255, 204, 0, 0.22);
    color: #E4BC1C;
}

.red-ribbon {
    background: rgba(226, 14, 14, 0.08);
    color: #E20E0E;
}

.orange-ribbon {
    background: rgba(226, 14, 14, 0.08);
    color: #e2860e;
}

.purple-ribbon {
    background: rgba(65, 65, 229, 0.10);
    color: #4141E5;
}

#filter-by-container {
    max-width: 298px;
}

.status-span {
    text-transform: capitalize;
}

.container {
    margin: 0 auto;
    max-width: 1280px;
    width: 95%;
}

@media only screen and (min-width: 601px) {
    .container {
        width: 95%;
    }
}

@media only screen and (max-width: 993px) {
    .fa-star {
        font-size: 20px;
    }

    .star-rating .half {
        font-size: 20px;
    }

    .ratings-text-container {
        vertical-align: initial;
    }

    .star-rating .outline {
        font-size: 20px;
    }
}

@media only screen and (max-width: 600px) {
    #filter-by-container {
        max-width: 100%;
    }
}

@media only screen and (min-width: 993px) {
    .container {
        width: 80%;
    }
}

@media only screen and (max-width: 600px) {
    #desktop-sort {
        display: none
    }

    #mobile-sort {
        display: block;
        margin-top: -12px;
        margin-bottom: -24px;
    }

    nav a.sidenav-trigger {
        height: 40px;
        width: 40px;
        line-height: 40px;
    }

    .sidenav-trigger-download {
        height: 40px;
        width: 40px;
        line-height: 40px;
    }

    .sidenav-trigger-info {
        height: 40px;
        width: 40px;
        line-height: 40px;
        margin-right: 10px;
    }

    .sidenav-trigger-edit {
        height: 40px;
        width: 40px;
        line-height: 40px;
        margin-right: 10px;
        right: 66px;
    }

    .sidenav-trigger-edit img {
        margin-top: 3px;
    }

    .sidenav-trigger-right-my-uploads img {
        margin-top: 3px;
    }

    .sidenav-trigger-info img {
        margin-top: 3px;
    }

    .ratings-text {
        position: initial;
        display: block;
        padding-left: 0px;
    }

    .hamburger-menu-icon {
        margin-top: 0px;
    }

    .brand-logo img {
        margin-top: 20px;
        width: 170px;
        height: 50px
    }

    .logo-subtitle {
        margin-top: 150px;
        width: 90%;
    }

    .logo-subtitle p {
        font-size: 21px
    }

    .search-container-row {
        margin-top: -40px;
    }

    nav {
        height: 350px;
    }

    .status-ribbon {
        display: block;
        margin-left: 0px;
    }
}

.pretty-link {
    color: var(--color-green) !important;
    text-decoration: underline;
}

.about-text {
    color: #24292F;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px;
    /* 177.778% */
}

nav a.sidenav-trigger-right-user {
    margin-right: 24px;
}

nav a.sidenav-trigger-hamburger {
    margin-left: 24px;
}

.red-btn {
    background: #AF504C !important
}


#spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Semi-transparent black */
    opacity: 0;
    /* Start fully transparent */
    visibility: hidden;
    /* Hidden by default */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Ensure it appears above all other elements */
    transition: opacity 0.6s ease, visibility 0.6s ease;
    /* Smooth transition */
}


#spinner-overlay.active {
    display: flex;
    opacity: 1;
    /* Fully opaque */
    visibility: visible;
    /* Make it visible */
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    /* Light border */
    border-top: 4px solid #3ffc00;
    /* Spinner head */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    /* Rotate indefinitely */
    border: 8px solid transparent;
    /* Transparent border */
    border-top: 8px solid #3ffc00;
    /* Additional color for variation */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 0.8s linear infinite;
    /* Faster spin */
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.suggestions-list {
    position: absolute;
    background-color: white;
    border: 1px solid #ddd;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    /* Match the width of the input field */
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    /* Hide by default */
    opacity: 1;
    border-radius: 12px;
    margin-top: 12px;
    ;
}

.suggestions-list li {
    padding: 10px;
    cursor: pointer;
}

.suggestions-list a:hover {
    background-color: #f0f0f0;
    color: var(--color-green);
}

.suggestions-list a {
    color: var(--color-green);
}

.dropdown-content li>a {
    color: var(--color-green);

}

.suggestion-item {
    text-decoration: none;
    color: black;
    display: block;
}

.logo-smaller img {
    max-width: 148px;
    max-height: 46px;
    margin-top: 30px;
}

@media only screen and (max-width: 600px) {
    .logo-smaller img {
        margin-top: 23px;
    }
}

.btn.btn-secondary {
    background-color: #EEF0F4;
    color: black;
}

/* this should be replaced by SASS */
.pl-1 {
    padding-left: 9px;
}

.pl-2 {
    padding-left: 18px;
}


.data-row {
    min-height: 40px;
}

.u-flx-center {
    display: flex;
    align-items: center;
    justify-content: center;
}