:root {
    --bs-white: #ffffff;
    --lidl-blue: #0050aa;
    --lidl-darkblue: #002466;
    --lidl-yellow: #fff000;
    --lidl-grey: #4e5761;
    --lidl-lightgrey: #e3e4e5;
    --bs-lightbackground: #f2f7f3;

}


@font-face {
    font-family: Lidl;
    src: url('/font/LidlFontCondProBG-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: Lidl;
    src: url('/font/LidlFontCondProBG-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: Lidl;
    src: url('/font/LidlFontCondProBG-Semibold.ttf');
    font-weight: 600;
}

.logo-text{
    margin-left: 5px;
    font-size: 25px;
}

.footer-kyberna-container img {
    width: 150px;
    height: auto;
}

.nav-language-chooser.auction-navbar-lang{
    display: none;
}

.auction-layout {
    font-family: Lidl;
    font-weight: 400;
}

.auction-layout h1, .auction-layout h2, .auction-layout h3, .auction-layout h4, .auction-layout h5, .auction-layout h6 {
    font-family: Lidl;
    font-weight: 700;
    color: var(--lidl-darkblue);
}

.navigation-logo {
    height: 100px;
    width: 120px;
}

.footer-kyberna-container {
    width: 200px;
    height: auto;
}

.auction-nav-desktop-navigation{
    top: 78px;
}

.profile-grid-container{
    display: grid;
    gap: 20px;
    grid-template-columns: unset;
}

.auction-nav-top-element-link.is-active:hover,
.auction-nav-top-element-link.is-active {
    color: var(--lidl-yellow);
}

.auction-detail-media-link {
    width: 100%;
    max-width: 350px;
}

.document-download-container {
    display: flex;
    gap: 10px;
}

.document-svg {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    background-color: var(--lidl-blue);
    padding: 5px;
}

.document-details {
    display: flex;
    flex-direction: column;
}

.document-title {
    font-weight: bold;
}

.custom-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/*
 * Pflichtfeld-Kennzeichnung am Label: fügt automatisch einen Stern an Labels an,
 * wenn Symfony die Klasse "required" setzt. Unabhängig vom Container.
 */
label.required::after {
    content: " *";
    color: #d00; /* optional: Farbe an Corporate Design anpassen */
    margin-left: 0.15em;
}

/* Explizite Absicherung für Registrierungsformular-Felder, falls keine required-Klasse
   am Label gesetzt wird und :has nicht unterstützt ist (z. B. ältere Browser). */
label[for="registration_form_company"]::after,
label[for="registration_form_uid"]::after {
    content: " *";
    color: #d00;
    margin-left: 0.15em;
}

.commission_calculation_container{
    background-color: var(--bs-white);

}

.pdf-files-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pdf-page-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.document-download-container {
    margin-top: 12px;
    clear: both;
}

.auction-nav-top-element-link:hover {
    color: var(--lidl-yellow);
}

@media screen and (max-width: 900px) {
    .navbar-content {
        justify-content: space-between;
    }
}

@media screen and (max-width: 1220px) {
    .navigation-logo {
        margin-left: 20px;
    }
}

.auction-nav {
    background-color: var(--lidl-blue);
}

button[type="submit"].frontend-button, .frontend-button, input[type="button"], input[type="submit"] {
    background-color: var(--lidl-blue);
}

.auction-navbar {
    padding-left: 30px;
}

@media screen and (max-width: 900px) {
    .navbar-container {
        clip-path: initial;
    }

    .auction-navbar {
        padding-left: 0;
        background-color: var(--lidl-blue);
    }
}

.auction-layout-body{
    background-color: var(--bs-white);
}

.auction-nav-element-link.is-active::after{
    background-color: transparent;
}

.auction-search-term-input {
    border: 1px solid var(--lidl-blue);
    color: var(--lidl-blue);
}

input[type="text"], input[type="date"], input[type="email"], input[type="password"], input[type="number"] {
    border-color: var(--lidl-blue);
}

.auction-element-description {
    display: none;
}

.artist-image-container {
    height: 300px;
    display: flex;
}

.auction-main-headline{
    color: var(--lidl-blue);
}

.artist-image {
    height: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
    width: 100%;
}

.navbar-container::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 10px;
}

.navbar-content {
    padding-top: 14px;
    padding-bottom: 20px;
}

.auction-layout {
    margin-top: 150px;
    color: var(--lidl-blue);
}

.text-block-styles h3{
    color: var(--lidl-blue);
}

.auction-nav-element-link, .auction-nav-element-lang-link,
a {
    color: var(--lidl-blue);
}

.auction-layout .auction-nav-element-link {
    color: var(--bs-white);
    font-weight: 700;
}

.image-grid{
    display: flex;
    gap: 12px;
    justify-content: space-around;
}

.image-subgrid{
    display: flex;
    gap: 12px;
    flex-direction: row;
}

#hamburger-icon line {
    stroke: var(--bs-white);
}

.auction-nav-element-link:hover {
    background-color: transparent;
    color: var(--lidl-yellow);
}

.auction-nav-hamburger {
    width: 50px;
    height: 50px;
    position: relative;
    color: var(--lidl-blue);
}

.auction-nav-element-link.is-active:hover, .auction-nav-element-link.is-active{
    background-color: transparent;
    color: var(--lidl-yellow);
}

.auction-detail-detail-list{
    text-align: left;
    display: unset;
}

.company-account-radio-input:checked + label {
    border-color: var(--lidl-blue);
}

.frontend-link{
    color: var(--lidl-blue);
}

.footer-kyberna-container img {
    width: 150px;
    height: auto;
}

.footer-kyberna-container {
    width: 200px;
    height: auto;
}

.auction-layout .footer-link{
    color: var(--lidl-blue);
}

.text-block-styles a{
    color: var(--lidl-blue);
}

.text-block-styles a:hover{
    color: var(--lidl-blue);
}

.user-data-warning{
    background-color: var(--lidl-yellow);
}

.thick-left-border{
    border-left: 6px solid var(--lidl-blue);
    color: #e60a14;
}

.footer-container::before {
    background-color: var(--lidl-blue);
}

.socialmedia-container {
    display: flex;
    gap: 12px;
    padding-bottom: 0;
}

@media (min-width: 800px) {
    .content-container {
        flex: 1 0 auto;
        margin-bottom: 310px;
    }
}

.auction-nav-top-element-link,
a {
    color: var(--bs-white);
}

 .frontend-button:hover{
    color: var(--lidl-yellow);
}

.auction-search-button,
.frontend-button,
.auction-mobile-filter-button {
    background-color: var(--lidl-blue);
    color: var(--bs-white);
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.auction-search-button:hover,
.frontend-button:hover,
.auction-mobile-filter-button:hover {
    background-color: var(--lidl-blue);
    color: var(--lidl-yellow);
}

.auction-element-image-and-logo-wrapper {
    height: initial;
}

.auction-element-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.auctions {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.auction-current-bid {
    font-size: 1.2em;
    font-weight: 700;
    color: #e60a14;
}

.auction-element-link {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    position: relative;
    justify-content: left;
    align-items: start;
    border: 1px solid #ddecde;
    box-sizing: border-box;
    box-shadow: 3px 3px 3px -5px rgba(100,100,100,0.1);
    color: black ;
    padding: 10px;
    border-radius: 10px;
    text-align: left;
}

.auction-element-title{
    text-align: left;
    overflow: hidden;
    font-weight: bold;
}

#auction-detail-component {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.auction-detail-description-container,
.auction-detail-description-container {
    margin-top: 0;
}

.auction-element-text {
    text-align: left;
    text-decoration: none;
    color: var(--lidl-blue);
    font-weight: bold;
}

.auction-detail-content{
    border-radius: 10px;
}

.auction-detail-detail-list > .auction-detail-list-table tr {
    display: block;
}

.auction-detail-bidding-container{
    border-radius: 10px;
    text-align: left;
}

.auction-detail-detail-list{
    text-align: left;
    line-height: 1.8em;
    font-weight: bold;
}

.auction-detail-description-container{
    border-radius: 10px;
}

.auction-detail-highest-bid-title {
    margin-top: 0;
    font-size: 1.4em;
    text-align: left;
    font-weight: bold;
}

.auction-detail-category-item{
    color: black;
    font-size: 1.125rem;
}

.auction-detail-highest-bid-value {
    color: #e60a14;
    font-weight: 700;
    font-size: 2.5em;
    padding-top: 20px;
    text-align: left;
}

@media screen and (max-width: 900px) {
    .auction-sorting-container {
        top: 130px;
    }
}

.auction-detail-bids-table{
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.no-auctions-text {
    color: var(--lidl-blue);
}

.sorting-info {
    border-bottom-color: var(--lidl-blue);
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer-navigation-items {
    width: auto;
}

.footer-opening-hours h3 {
    color: var(--lidl-blue);
}

.footer-location h4{
    color: var(--lidl-blue);
    margin: 0;
}

.footer-location a{
    color: var(--bs-white);
    display: flex;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-color: var(--lidl-yellow);
}

.footer-location span{
    color: var(--bs-white);
    display: flex;
    line-height: 1.5;
}

.custom-article-details {
    line-height: 1.8em;
    width: 100%;
}

.auction-detail-detail-row {
    width: 100px;
}

.article-attribute-key {
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-attribute-value {
    text-align: left;
    vertical-align: bottom;
}

@media screen and (max-width: 500px) {
    .auction-won-element-data-left,
    .auction-won-element-data-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0;
    }
}

@media screen and (max-width: 700px) {
    .article-attributes-table {
        width: 100%;
        height: auto;
    }

    .article-attributes-table tbody {
        width: 100%;
    }

    .article-attribute-row,
    .article-detail-attribute-row {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .auction-detail-detail-list > .auction-detail-list-table tr {
        display: flex;
    }

    .article-attribute-key,
    .article-attribute-value {
        width: 50%;
        padding: 0;
    }
}

.article-attributes-table tr td:last-of-type {
    text-align: left;
    padding: 0;
}

.article-attributes-table tr td:first-of-type {
    text-align: left;
    width: 200px;
    padding: 0;
}

@media screen and (max-width: 700px) {
    .article-attributes-table tr td:first-of-type {
        width: 50%;
    }
}

.article-warehouse-container {
    display: flex;
    flex-direction: column;
    gap: 5px
}

.defects-standard-text {
    margin-bottom: 20px;
}

.is-state-code {
    font-weight: bold;
    text-align: center;
    padding: 10px;
}

.is-state-definition {
    padding: 10px;
}

.footer-navigation-container{
    background-color: white;
    color: var(--lidl-blue);
    border-top: 1px solid var(--lidl-lightgrey);
    font-weight: bold;
}

/* Mobile-only back-to-auctions button visibility */
.mobile-back-to-auctions-wrapper {
    display: none;
}

@media screen and (max-width: 900px) {
    .mobile-back-to-auctions-wrapper {
        display: block;
        margin-bottom: 12px; /* small spacing below the button */
        text-align: right;
    }
}
