/* lexend-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lexend/lexend-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/lexend/lexend-v23-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lexend/lexend-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lexend-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Lexend';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/lexend/lexend-v23-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
    box-sizing: border-box;
}

body, input, button {
    font-family: 'Lexend', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

:root {
    --color--dark: #000;
    --color--light: #fff;
    --color--primary: #007bff;
    --color--primary-rgb: 0, 123, 255;
    --color--primary-dark: #0c68cb;
    --color--primary-light: #f8fbff;
    --color--green: #20a72d;
    --color--green-light: #d9f2dc;
    --color--gray-10: #bcc2c9;
    --color--gray-text: #697684;
    --color--orange: #ffb800;
    --color--red: #f00; /* freestyled 🤙 */
    --color--placeholderblue: rgba(204, 221, 238, 0.3);
    --color--border-gray: rgba(217, 217, 217, 0.6);

    --page-background: var(--color--primary-light);
    --text-color: var(--color--dark);

    --border-radius: 10px;
    --border-radius-ultra-wide: 999px;

    --spacing--xs: 0.25rem;
    --spacing--sm: 0.5rem;
    --spacing--md: 1.25rem;
    --spacing--lg: 2.5rem;
    --spacing--xl: 3.75rem;
    --spacing--2xl: 6rem;

    --gap: 1rem;

    --text--xs: 0.875rem;
    --text-sm: 1rem;
    --text-base: 1.125rem;
    --text-lg: 1.5rem;
    --text-xl: 2rem;
    --text-2xl: 3rem;

    --transition: all 200ms ease-in;

    --box-shadow--input: 0px 4px 30px 0px rgba(204, 221, 238, 0.20), 0px 4px 16px 0px rgba(114, 129, 144, 0.04);
    --card-padding: 2rem;
}


body {
    background: var(--page-background);
    margin: 0;
    font-size: var(--text-base);
    color: var(--text-color);
}

hr {
    border: 0;
    border-top: 1px solid var(--color--gray-10);
    margin: 1rem 0;
}

.container, [class$='__container'] {
    width: 100%;
    max-width: 1200px;
    padding-inline: 2rem;
    position: relative;
    margin-inline: auto;
}

.reset-link {
    color: inherit;
    text-decoration: none;
}

.remove-child-margin > :first-child {
    margin-top: 0;
}

.remove-child-margin > :last-child {
    margin-bottom: 0;
}

.card {
    background: #fff;
    box-shadow: var(--box-shadow--input);
    border: 1px solid rgba(217, 217, 217, 0.37);
    border-radius: 1rem;
    padding: var(--card-padding);
}

.card + .card {
    margin-top: var(--spacing--lg);
}

.sibling-space-y + .sibling-space-y {
    --_sibling-space: var(--spacing--lg);
    margin-top: var(--_sibling-space);
}

.empty {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    flex-direction: column;
    gap: var(--spacing--md);
    border-radius: var(--border-radius);
    border: 1px dashed var(--color--gray-10);
    padding: var(--card-padding);
}

.empty__message {
    text-align: center;
    font-style: italic;
    font-size: var(--text-lg);
    color: var(--color--gray-text);
}


.spacer {
    height: var(--spacing--lg);
}

*:has(+ .spacer) {
    margin-bottom: 0;
}

.spacer + * {
    margin-top: 0;
}

.line {
    display: flex;
    align-items: center;
}

.card .line {
    margin-inline: calc(var(--card-padding) * -1);
}

.line::before {
    content: '';
    background: var(--color--gray-10);
    height: 1px;
    width: 100%;
}

.logo {
    width: 100%;
    margin-bottom: var(--spacing--md);
}

.logo img {
    object-fit: contain;
    width: 100%;
}


.product .logo {
    min-height: 200px;
    height: 100%;
    width: 100%;
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
}

details {
    box-shadow: var(--box-shadow--input);
    border-radius: var(--border-radius);
    position: relative;
    border: 1px solid var(--color--primary-dark);
}

details summary {
    position: relative;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    /*background: var(--color--primary-dark);*/
    /*color: var(--color--light);*/
    padding: 1rem 1.5rem;
    cursor: pointer;
    list-style: none;
}

details[open] summary {
    border-bottom: 1px solid var(--color--primary-dark);
}

details summary::after {
    content: '▼';
    margin-left: 0.5rem;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

details summary > * {
    margin: 0;
}

details > div {
    padding: 1rem 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    color: var(--color--light);
    font-size: var(--text--xs);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* BUTTON */

.button:not(#fakeid) {
    font-weight: 400;
}

/* PROJECTS */
.title .title__headline {
    color: #000 !important;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -1.8px;
}

.projects {
    background: none;
    box-shadow: none;
    border: none;
}

.project-preview {
    border-radius: 15px;
    background: #FFF;
    padding: 15px 15px 25px 15px;
    transition: all 0.3s;
}

.project-preview__image-container {
    border-radius: 10px;
    background-color: var(--color--placeholderblue);
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing--md);
}

.project-preview__image-container:has(img) {
    background: none;
    border-radius: var(--border-radius);
    border: 1px solid var(--color--gray-10);
    padding: 5px;
}

.project-preview__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0 5px 0 5px;
}

.project-preview__content h3 {
    margin: 0;
    font-weight: 600;
}

.project-preview:hover {
    .project-preview__content h3 {
        color: var(--color--primary);
    }

    .project-preview__content i {
        color: var(--color--primary);
    }
}

div.layout.projects.layout--md-cols.card {
    padding: 0;
}


/* SINGLE PROJECT OVERVIEW
 */

.project-single-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.project_detail_card_heading {
    position: absolute;
    top: -3%;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    background: #fff;
    font-size: 16px;
    padding: 6px 20px;
    border-radius: 100px;
    border: 1px solid rgba(217, 217, 217, 0.6);
    font-weight: 400;
}

.project_detail_card {
    position: relative;
    padding: 50px 25px 50px 25px;
}

.project_detail_btn {
    display: flex;
}

.license_single_div {
    padding: 20px;
    border: 1px solid rgba(217, 217, 217, 0.6);
    border-radius: 20px;
}

.license__text__product {
    text-decoration: none;
    font-weight: 500;
    color: var(--color--dark);
}

.license__text__expiration {
    margin: 10px 0;
}

.project_single_line:not(#fakeid) {
    width: 95%;
    margin-left: auto;
    margin-right: auto;

}

.quickinstall_input {
    height: 320px;
    background: var(--color--placeholderblue);
}


/* FOOTER */
footer {
    margin-left: -5rem;
    background-color: #000;
    color: white;
}


.warning-top-message {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: var(--color--orange);
    color: var(--color--light);
    padding: 0.5rem 1rem;
    z-index: 1000;
    text-align: center;
    font-size: 1.125rem;
}

.warning-top-message * {
    color: inherit;
}

.border-container {
    padding: 20px;
    border: 1px solid rgba(217, 217, 217, 0.6);
    border-radius: 20px;
}

/* Project Overview */
.version-compare-wrapper {
    --_space: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-weight: normal;
    gap: var(--_space);
}

.version-compare__current-version i {
    margin-left: var(--_space);
}

.version-compare__latest {
    color: var(--color--green);
}

.version-compare-wrapper i {
    transform: translateY(2px);
}

.project-overview__product {
    padding-top: 0;
}

.product-type-header__label {
    padding-block: 8px;
    font-weight: 500;
    color: #fff;
    background: var(--color--primary);
    margin-inline: -21px;
    margin-top: -1px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    min-height: 55px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.product-type-header__label > * {
    color: white !important;
    font-size: 0.875rem;
}

.product-type-header__label button {
    padding-block: 0;
    opacity: 0.75;
    font-size: 0.75rem;
    color: white !important;
}

.filter form {
    max-width: 500px;
}


.user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing--sm);
    padding: var(--spacing--sm);
    border-radius: var(--border-radius);
    background: var(--color--light);
}

.user-card__footer {
    display: flex;
    gap: 12px;
    flex-direction: row;
    flex-wrap: wrap;
}


.external-products__product .product-type-header__label {
    min-height: 35px;
}

.external-products__product__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.external-products__product__body h3 {
    margin: 0;
    line-height: 1;
}


/* Table styling */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

table thead {
    background-color: #f4f6f8;
}

table th {
    text-align: left;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

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

table td {
    padding: 16px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eee;
}
