html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: transparent;
}

a, .btn-link {
    color: #006bb7;
}

/* Mitgliederliste Styles */
.mitgliederliste {
    background-color: #ffffff00;
    width: 100%;
    /* padding: 20px; */
}

.mitgliederliste-container {
    margin: 0 auto;
    padding-top: 65px;
    padding-bottom: 65px;
    padding-left: 75px;
    padding-right: 75px;
    background: #ffffff;
    border-radius: 15px;
}

.mitgliederliste-header {
    background-color: #007336;
    border-radius: 0px 0px 15px 15px;
    padding: 20px 75px 20px 75px;
    color: #ffffff;
    margin-bottom: 30px;
}

.mitgliederliste-title {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
}


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

.search-label {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 10px;
    display: block;
}

.mitgliederliste-header .d-flex {
    justify-content: flex-start !important;
}
.mitgliederliste-title {
    margin-right: 0 !important;
}

.bio-filter.btn {
    background-color: #ffffff;
    border: 2px solid #aca082;
    border-radius: 5px;
    height: 55px;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.bio-filter.btn:hover,
.bio-filter.btn:focus {
    background-color: #ACA082;

}

.bio-filter.btn[aria-checked="true"] {
    background-color: #007336;
    border-color: #007336;
}


.pagination-button.page-link {
    background-color: #aca082;
    border: none;
    border-radius: 8px;
    width: 42px;
    height: 43px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-button.page-link:hover,
.pagination-button.page-link:focus {
    background-color: #958f78;
    color: #ffffff;
}

.page-item.active .pagination-button.page-link {
    background-color: #007336;
    color: #ffffff;
}

/* Maintain table styling with Bootstrap */
.member-table.table {
    margin-bottom: 0;
}

.member-table.table th,
.member-table.table td {
    border: none;
    vertical-align: middle;
}

#product-filter option[disabled][selected][hidden] {
    color: #aaa;
}

.produkt-dropdown {
    padding: 0.5rem 1rem;
    border: 1px solid #d6d5d5;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1rem;
    color: #333;
    outline: none;
    min-width: 180px;
}

.produkt-dropdown:focus {
    border-color: #3a0647;
    box-shadow: 0 0 0 2px rgba(58, 6, 71, 0.1);
}

.produkt-dropdown option[disabled][selected][hidden] {
    color: #aaa;
}

#product-filter option[disabled][selected][hidden] {
    color: #aaa !important;
}




/* Badge styling for bio status */
.badge.bg-success {
    background-color: #007336 !important;
}

.badge.bg-secondary {
    background-color: #6c757d !important;
}

.bio-icon {
    width: 36px !important;
    height: 35px !important;
    margin-left: 35px;
    object-fit: contain;
    display: inline-block;
}

.bio-icon2 {
    width: 50px;
    object-fit: contain;
}

.member-list-container {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 65px 75px;
}

/* Table Styles */
.member-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.member-table thead tr {
    background-color: #007336;
    border-radius: 10px;
}

.member-table th {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
    padding: 15px 20px;
    text-align: left;
    border: none;
}

.member-table th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.member-table th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.member-table tbody tr {
    border-bottom: 1px solid #595959;
    min-height: 47px;
}

.member-table tbody tr:last-child {
    border-bottom: none;
}

.member-table td {
    padding: 15px 20px;
    vertical-align: middle;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #595959;
}

.member-details {
    background-color: #aca082;
    border: none;
    border-radius: 0% !important;
    width: 32px;
    height: 32px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.member-details:hover {
    background-color: #897F66 !important;
}
.member-details-cell {
    text-align: center;
}

.member-list-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 5px 5px;
    background-color: #007336;
    border-radius: 10px;
}

.member-list-header-item {
    font-family: Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}

.member-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 0px 0px;
    border-bottom: 1px solid #595959;
    align-items: center;
    min-height: 47px;
}

.member-item:last-child {
    border-bottom: none;
}

.member-name {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #595959;
}

.member-products {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #595959;

}

.member-location {
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #595959;
}

.member-bio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 35px;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-button {
    background-color: #aca082;
    border: none;
    border-radius: 8px;
    width: 42px;
    height: 43px;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-button:hover {
    background-color: #958f78;
}

.pagination-button.active {
    background-color: #007336;
}

/* First and Last pagination buttons with correct border radius */
.pagination-button.first-page-button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.pagination-button.last-page-button {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-item.disabled .pagination-button {
    background-color: #d3d3d3;
    color: #999999;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-item.disabled .pagination-button:hover {
    background-color: #d3d3d3;
}

/* Search form layout */
.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    padding-bottom: 35px;
    align-items: end;
}

.mt-3 {
    padding-bottom: 55px;
}

.search-form .search-section {
    margin-bottom: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.search-logo {
    width: 102px;
    height: 55px;
    object-fit: contain;
}

.search-icon {
    position: relative;
}

.search-icon::before {
    content: none;
}

.search-icon input {
    background-image: url('/search-icon.svg');
    background-repeat: no-repeat;
    background-size: 22.99px 22.44px;
    background-position: 15px center;
    padding-right: 45px;
}

/* Dropdown arrows */
.dropdown-arrow::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #707070;
    font-size: 12px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .search-form {
        grid-template-columns: 1fr 1fr;
    }

    .logo-section {
        grid-column: span 2;
        justify-content: center;
        margin-top: 20px;
    }

    .member-item,
    .member-list-header {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }

    .logo-section {
        grid-column: span 1;
        justify-content: center;
        margin-top: 20px;
    }

    .member-item,
    .member-list-header {
        grid-template-columns: 1fr;
    }

}

/* Skeleton Loader Styles */
.skeleton-loader {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

.gallery-image-skeleton {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.farm-logo-skeleton {
    width: 150px;
    height: 150px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
    flex-shrink: 0;
}