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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    min-height: 100vh;
    color: #FFFFFF;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}


h1 {
    font-size: 1em;
}

#header-p {
    font-size: 0.6rem;

}

h3 {
    margin-bottom: 2rem;
}

#userInfo {
    color: #FFFFFF;
}

.container {
    width: 100%;
    margin: 0 auto;

}

.header {
    background: rgba(0, 0, 0, 0.8);
    /* Semi-transparenter Hintergrund hinzufügen */
    padding: 1.5rem;
    z-index: 1001;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari Support */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px #333;
    position: sticky;
    /* Optional: macht Header klebrig */
    top: 0;
    /* Optional: für sticky positioning */
}



.header-title-container {
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-left: 0.75rem;
}

.logo-img-multiborder {
    position: relative;
    display: inline-block;
}

#logo-header {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    border: 1px solid black;
    width: 42px;
    height: 42px;
    padding: 4px;
    display: block;

}



.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-area button {
    -webkit-box-shadow: inset -2px -1px 1px 0px #00000044;
    box-shadow: inset -2px -5px 1px 0px #00000044;
}

.login-btn,
.logout-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover,
.logout-btn:hover {
    background: #585858;
    transform: translateY(-2px);
}

.main-content {

    margin-bottom: 2rem;
}

/* Ausklappbare Sidebar - bleibt an aktueller Position */
.sidebar {
    position: relative;



    height: 50px;


    transition: width 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    z-index: 100;
    font: 0.5em sans-serif;
    width: 100%;
    /* Volle Breite wenn ausgeklappt */
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    height: fit-content;
}

.sidebar.expanded {
    width: 100%;
    /* Volle Breite wenn ausgeklappt */
    padding: 1.5rem;
    height: fit-content;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    width: 100%;
    text-align: center;

    transition: color 0.3s ease;

}


.sidebar-content {

    transition: opacity 0.3s ease 0.1s, visibility 0.3s ease 0.1s;
}

.sidebar.expanded .sidebar-content {
    opacity: 1;
    visibility: visible;
}

/* Filter Count Badge */
/* .filter-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #89000d;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.filter-count.show {
    opacity: 1;
    transform: scale(1);
} */



/* Content Area Anpassung für neue Sidebar */
.content-area {
    width: 100%;
    padding-left: 5rem;
    /* Platz für kompakte Sidebar */
    padding-right: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: padding-left 0.3s ease;
}

/* Wenn Sidebar expandiert ist, mehr Platz lassen */
.sidebar.expanded+.content-area {
    padding-left: 22rem;
    /* Platz für erweiterte Sidebar */
}

.filter-section {
    display: flex;
    flex-direction: row;
    justify-content: center;


}

.filter-group {
    width: 15%;
    padding-left: 5px;
    padding-right: 5px;
}

.filter-section h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}



.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #FFFFFF;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #333;
    border-radius: 15px;
    transition: border-color 0.3s ease;
    background-color: #000000;
    color: #ffffff;
    margin-bottom: 5px;
    background-color: #222;

}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #585858;
}

.filter-group select:disabled {
    background-color: #1a1a1a;
    color: #7a7a7a;
    border-color: #444;
    cursor: not-allowed;
}

.filter-group select option:disabled {
    color: #7a7a7a;
}

#agencyTypeFilter option:disabled,
#currentAgencyType option:disabled {
    color: #7a7a7a;
}



.clear-filters-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    width: 100%;
}

.clear-filters-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.tab-buttons {
    display: flex;
    margin-bottom: 2rem;
    justify-content: space-between;
    border-radius: 10px;
    padding: 0.5rem;
}

.tab-btn {
    background: #222;
    color: white;
    border: solid 1px #333;

    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}



.tab-btn:hover {
    background: #585858;
    transform: translateY(-2px);
}


#ForumTabButton {
    background: #00000000;
    color: #848484;

    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: solid 1px #848484;

}

.switching-button-heading {

    transition: opacity 0.2s;
}

.tab-btn.active .switching-button-heading,
.tab-btn:hover .switching-button-heading {
    opacity: 1;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}




.offer-form {

    width: 50%;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 1rem;
    width: 100%;
}

#loginForm {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#registerForm {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-group-login label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #FFFFFF;
}

.form-group-login input,
.form-group-login select,
.form-group-login textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #333;
    border-radius: 15px;
    transition: border-color 0.3s ease;
    background-color: #000000;
    color: #ffffff;
    transition: border-color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #FFFFFF;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #333;
    background: #222;
    border-radius: 15px;
    transition: border-color 0.3s ease;

    color: #ffffff;
    transition: border-color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#acceptPrivacy {
    width: auto;
}

#acceptTerms {
    width: auto;
}


.form-group textarea {
    height: 100px;
    resize: vertical;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.submit-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 35px;
    width: 50%;
    margin-left: 10%;
    margin-right: 10%;
}

.submit-btn:hover {
    background: #585858;
    transform: translateY(-2px);
}

.offer-card {
    color: #FFFFFF !important;
    border-radius: 10px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: solid 1px #333;
    width: 100%;
    background: #222;
    position: relative;
}

.offer-card:hover {

    border: solid 1px #585858;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}


/* KORRIGIERTE Offer Description Animation */
.offer-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
    /* Padding für bessere Darstellung */
}

.offer-description.expanded {
    opacity: 1 !important;
    max-height: 500px !important;
    padding: 1rem !important;
}

/* Contact Button innerhalb der Description */
.offer-description .contact-btn {
    margin-top: 1rem;
    display: inline-block;
}

.offer-description-paragraph {
    margin: 0 0 0.7rem 0;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
}

.offer-description-paragraph i {
    margin-right: 0.5rem;
    color: #FFFFFF;
}

.offer-description-header {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #E8E8E8;
    margin-bottom: 0.3rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.offer-description-header strong {
    color: #FFFFFF;
    font-weight: 700;
}

.offer-description-content {
    display: block;
    color: #D0D0D0;
    font-size: 0.9rem;
    margin-left: 1.6rem;
    padding-top: 0.2rem;
}

.offer-description-paragraph:first-of-type {
    position: static;
    margin: 0 0 0.6rem 0;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Anzeigen-ID: keine Header/Content Aufteilung */
.offer-description-paragraph:first-of-type strong {
    font-weight: normal;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 1rem;
}

.offer-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

.offer-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: medium;
}

.status-available {
    background-color: #1D8E93;
    color: black;
}

.offer-details {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;

    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.6rem;
    gap: 0.5rem;
    min-width: 0;
}

.contact-btn {
    background: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: #585858;
}

#offers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#offersList {
    width: 100%;
    padding-left: 12%;
    padding-right: 12%;
    margin-top: 5vh;
}

.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgb(0, 0, 0);

    border-radius: 15px;

    border-radius: 25px;
    border: solid 1px #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 10vh;
    padding-top: 15vh;
    display: flex;
    flex-direction: row-reverse;
    align-items: space-between;
    justify-content: space-between;
}

.close-modal {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    position: relative;
    right: -50px;
    top: -50px;
    z-index: 1002;
}

.close-modal:hover {
    color: #1D8E93;
}

/* Custom Select Styles */
.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    background-color: white;
    padding: 0.7rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-selected:hover {
    border-color: #585858;
}

.select-selected:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.select-hide {
    display: none;
}

.select-items div {
    color: black;
    padding: 0.7rem;
    border-bottom: 1px solid #f1f1f1;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.select-items div:hover {
    background-color: #585858;
}

.select-items div:last-child {
    border-bottom: none;
}

.same-as-selected {
    background-color: #222 !important;
    color: white !important;
}

.same-as-selected span {
    color: white !important;
}

.filter-chip {
    font-size: 14px;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid #adadad;
    border-radius: 12px;
    width: fit-content;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    align-items: center;
}

.chip-remove {
    color: #adadad;
    border: transparent;
    position: relative;
    top: -3px;
    right: -5px;
    background-color: transparent;
    font-size: 1.5rem;
}

.chip-remove:hover {
    color: #f70606;

}

@keyframes chipSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.inbox-btn {
    background: #222;
    color: white;
  
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.inbox-btn:hover {
    background: #585858;
    transform: translateY(-2px);
}

.inbox-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.inbox-message {
    background: #222;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.inbox-message:hover {
    border-color: #585858;
    background: #2a2a2a;
}

.inbox-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.inbox-sender {
    font-weight: bold;
    color: #1D8E93;
}

.inbox-date {
    color: #999;
    font-size: 0.9rem;
}

.inbox-message-body {
    color: #fff;
    margin-bottom: 1rem;
}

.inbox-actions {
    display: flex;
    gap: 0.5rem;
}

.reply-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    background: #585858;
}

#profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.profile-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 520px;
    padding: 0;
    margin: 0;
}

.profile-form .form-group {
    margin-bottom: 1rem;
}

/* Form Row - 2 columns layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Profile Sections */
.profile-section {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-section h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-section h4:before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.1rem;
    background: #FFA500;
    border-radius: 2px;
}

/* Textarea in profile */
.profile-form textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-family: inherit;
    resize: vertical;
    margin-top: 0.3rem;
}

/* Select in profile */
.profile-form select {
    width: 100%;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    margin-top: 0.3rem;
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: #E8E8E8;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FFA500;
}

/* Profile Action Buttons */
.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.profile-actions .submit-btn,
.profile-actions .delete-account-btn {
    width: auto;
    margin: 0;
}

.profile-form label {
    color: #FFFFFF;
    font-weight: bold;
}

.profile-form input {
    width: 100%;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    margin-top: 0.3rem;
}

.my-offer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.delete-btn {
    background: #89000d;
    color: white;
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95em;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

.delete-btn:hover {
    background: #b71c1c;
}

.profile-flex {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
}

.profile-section {
    flex: 1;
    min-width: 300px;
    background: #222;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.profile-section h3 {
    color: #1D8E93;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.inbox-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    color: #fff;
    margin-left: 0.5rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    #profile.tab-content {
        padding: 1rem 0.5rem;
    }

    .profile-flex {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }

    .my-offers-list {
        margin-left: 0;
        max-width: 100%;
    }
}

.main-content.profile-view {
    display: block;
}

@keyframes inboxPulse {
    0% {
        box-shadow: 0 0 0 0 #fec85088;
    }

    70% {
        box-shadow: 0 0 0 10px #fec85000;
    }

    100% {
        box-shadow: 0 0 0 0 #fec85000;
    }
}

.inbox-btn.has-new {
    animation: inboxPulse 1.2s infinite;
    border: 2px solid #1D8E93;
    color: #1D8E93;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 1rem;

}

.chat-messages {
    background: #111;
    border-radius: 10px;
    padding: 1rem;
    min-height: 120px;
    max-height: 80vh;
    overflow-y: auto;
}

.chat-msg {
    margin-bottom: 1.2rem;
    background: #232323;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #fff;
    max-width: 80%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chat-msg-own {
    background: #1D8E93;
    color: #222;
    margin-left: auto;
    text-align: right;
}

.chat-msg-meta {
    font-size: 0.85em;
    color: #000000;
    margin-top: 0.3rem;
}

.checkbox-label {
    margin: 0;
    width: 60%;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #FFFFFF;
    text-align: center;
    height: 30px;
    border: solid 1px #333;
    display: flex !important;
    align-items: center;
    /* vertikal mittig */
    justify-content: center;
    /* horizontal mittig */
    text-align: center;
}

.checkbox-label:hover {
    background-color: #222;
    border-color: #585858;
}


.checkbox-input {
    width: auto !important;

    opacity: 0;

}

#AcceptProfileNotificationsEmail:checked+#AcceptProfileNotificationsEmailLabel {
    background-color: #222;
    border-color: #333;

}

#DisableProfileNotificationsEmail:checked+#DisableProfileNotificationsEmailLabel {
    background-color: #222;
    border-color: #333;

}


#AcceptProfileCookies:checked+#AcceptProfileCookiesLabel {
    background-color: #222;
    border-color: #333;

}

#DisableProfileCookies:checked+#DisableProfileCookiesLabel {
    background-color: #222;
    border-color: #333;

}



.delete-account-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 0;
}


.delete-account-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Loading Animation: Schwarz-Rot-Gold */
.loading-spinner {
    width: 70px;
    height: 70px;
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.loading-spinner .ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top: 8px solid #222;
    /* Schwarz (leicht heller) */
    animation: spin 1.2s linear infinite;
    z-index: 3;
}

.loading-spinner .ring2 {
    position: absolute;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top: 2px solid #d90429;
    /* Rot */
    animation: spin-reverse 1.5s linear infinite;
    z-index: 2;
}

.loading-spinner .ring3 {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 8px solid transparent;
    border-top: 8px solid #fec850;
    /* Gold */
    animation: spin 1.8s linear infinite;
    z-index: 1;
}

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

@keyframes spin-reverse {
    100% {
        transform: rotate(-360deg);
    }
}

.loading-bar-container {
    width: 320px;
    height: 22px;
    background: #181818;
    border-radius: 14px;
    box-shadow: 0 2px 12px #000a;
    margin: 80px auto;
    overflow: hidden;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.loading-bar-progress {
    height: 100%;
    width: 0%;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(to bottom, #222 20%, #ff002b 50%, #ebb135 80%);
    animation: loadingBarGrow 8s cubic-bezier(.4, 1, .6, 1) infinite;
}

@keyframes loadingBarGrow {
    0% {
        width: 0%;
    }

    80% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}



.site-footer {
    background: rgba(0, 0, 0, 0.8);
    /* Semi-transparenter Hintergrund hinzufügen */

    color: #fff;
    padding: 2.5rem 0 1.5rem 0;
    border-top: 1px solid #222;
    margin-top: 3rem;
    font-size: 1rem;
    box-shadow: 0 -2px 24px 0 #000a;
    position: relative;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.footer-icons {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.7rem;
}

.footer-icon-link {
    color: #ffffff;
    transition: color 0.2s, text-shadow 0.3s;
    text-shadow: 0 0 6px #222;
}

.footer-icon-link:hover {
    color: #fff;
    text-shadow: 0 0 12px #fec850, 0 0 2px #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    padding: 0 0.2em;
}

.footer-link:after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #ffffff00;
    transition: width 0.3s cubic-bezier(.4, 1, .6, 1);
    margin-top: 2px;
}

.footer-link:hover {
    color: #1D8E93;
}

.footer-link:hover:after {
    width: 100%;
}

   .contact-btn .fas {
        position: relative;
        left: -5px;
    }

.footer-meta {
    color: #adadad;
    font-size: 0.98em;
    text-align: center;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}

@media (max-width: 700px) {
    .footer-content {
        gap: 0.6rem;
    }

    .footer-icons,
    .footer-links {
        gap: 1.1rem;
        font-size: 1.1rem;
    }

    .footer-meta {
        font-size: 0.93em;
    }
}

/* Tab-Content Display Korrekturen */
.tab-content {
    display: none !important;
    margin-top: 3vh;
    min-height: 90vh;
}

.tab-content.active {
    display: block !important;
}

/* Spezielle Regeln für Create und Profile Tabs */
#create.tab-content.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

#profile.tab-content.active {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
}

#profile.tab-content.active .profile-form,
#profile.tab-content.active .activity-section {
    flex: 1 1 0;
    max-width: 520px;
}

.activity-section {
    width: 100%;
    max-width: 520px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
}

.activity-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#inbox.tab-content.active {
    display: block !important;
    width: 100%;
    padding: 2rem;
}

#offers.tab-content.active {
    display: block !important;
}

/* Header Button Display Korrekturen */
.user-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}



.user-area #userInfo {
    display: inline-block;
    margin-right: 0.75rem;
    color: #fff;
    font-size: 0.75rem;
}

/* Spezifische Button Styles */
.login-btn,
.logout-btn,
.inbox-btn,
.profile-btn {
    display: inline-block;
    padding: 0.5rem 1rem;

    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.login-btn {
    background: #1D8E93;
    color: #000;
}

.logout-btn {
    background: #89000d;
    color: white;
}

.inbox-btn,
.profile-btn {
    background: #222;
    color: white;
}

.inbox-btn:hover,
.profile-btn:hover {
    background: #585858;
}

/* Button Display Kontrolle - VERSTÄRKT */
.user-area button {
    display: none;
    /* Standardmäßig alle Buttons versteckt */
}

.header .user-area button {
    padding: 0.375rem 0.75rem;
    border-radius: 15px;
    margin-left: 0.375rem;
    font-size: 0.75rem;
}

/* Spezifische Button Classes */
.login-btn {
    background: #1D8E93;
    color: #000;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.logout-btn {
    background: #89000d;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.inbox-btn,
.profile-btn {

    color: white;
    padding: 0.5rem 1rem;

    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.inbox-btn:hover,
.profile-btn:hover {
    background: #1D8E93 !important
}

#createTabButton {

    color: white;
    padding: 0.5rem 1rem;

    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

#createTabButton:hover {
    background: #1D8E93 !important
}

#UebersichtTabButton {

    color: white;
    padding: 0.5rem 1rem;

    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

#UebersichtTabButton:hover {
    background: #1D8E93 !important
}

.tab-btn.active {
    background: #1D8E93;
    color: #000;
}

/* KORRIGIERTE Tab Button Active States - HÖHERE SPEZIFITÄT */
.tab-btn.active,
#UebersichtTabButton.active,
#createTabButton.active {
    background: #1D8E93 !important;
    color: #000 !important;
}

/* ERWEITERTE Active States für alle Button-Typen */
.tab-btn.active,
#UebersichtTabButton.active,
#createTabButton.active,
.inbox-btn.active,
.profile-btn.active,
#inboxTab.active,
#profileTab.active {
    background: #1D8E93 !important;
    color: #000 !important;
}

/* Hover-Effekte für aktive Buttons überschreiben */
.tab-btn.active:hover,
#UebersichtTabButton.active:hover,
#createTabButton.active:hover,
.inbox-btn.active:hover,
.profile-btn.active:hover,
#inboxTab.active:hover,
#profileTab.active:hover {
    background: #1D8E93 !important;
    color: #000 !important;
    transform: translateY(-2px);
}

/* Spezifische Button Overrides - nur für nicht-aktive Buttons */
.inbox-btn:hover:not(.active),
.profile-btn:hover:not(.active),
#inboxTab:hover:not(.active),
#profileTab:hover:not(.active) {
    background: #585858;
}

/* Active Button States */
.tab-btn.active,
#UebersichtTabButton.active,
#createTabButton.active,
.inbox-btn.active,
.profile-btn.active,
#inboxTab.active,
#profileTab.active {
    background: #1D8E93 !important;
    color: #000 !important;
}

/* Offer Description Animation */
.offer-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
}

.offer-description.expanded {
    opacity: 1 !important;
    max-height: 500px !important;
    padding: 1rem !important;
}

/* Chat Modal Styling - ERWEITERT */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.chat-modal-content {
    background: #111;
    border: 1px solid #333;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    height: 80%;
    max-height: 700px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    /* KORRIGIERT für bessere Positionierung */
}

.chat-header {
    background: #222;
    padding: 1rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-partner-info h3 {
    color: #1D8E93;
    margin: 0;
    font-size: 1.2rem;
}

.chat-status {
    color: #4ade80;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* KORRIGIERTE Chat Button Styles */
.chat-block-btn,
.chat-close-btn {
    background: #89000d;
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.chat-close-btn {
    background: #666;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.chat-block-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.chat-block-btn.is-active-block {
    background: #c82333;
    color: #fff;
}

.chat-block-btn.is-active-block:hover {
    background: #e33849;
}

.chat-close-btn:hover {
    background: #888;
    transform: translateY(-1px);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* KORRIGIERTE Schnellantwort Button */
.quick-reply-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.quick-reply-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.quick-reply-btn:active {
    transform: translateY(0);
}

/* KORRIGIERTE Reply Button */
.reply-btn {
    background: #333;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reply-btn:hover {
    background: #585858;
    transform: translateY(-1px);
}

.reply-btn:active {
    transform: translateY(0);
}

/* Inbox Actions Styling verbessern */
.inbox-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.delete-chat-btn {

    color: #fff;
    min-width: 42px;
    padding: 0.5rem 0.7rem;
    border-radius: 12px;
}

.delete-chat-btn:hover {
    background: #c82333;
}

/* Block Modal Close Button */
.block-modal .close-modal {
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-modal .close-modal:hover {
    color: #89000d;
    transform: scale(1.1);
}

/* Modal Header verbessern */
.block-modal .modal-header h3 {
    margin: 0;
    color: #fec850;
    font-size: 1.3rem;
}

/* Cancel und Block Buttons verbessern */
.cancel-btn {
    background: #666;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.cancel-btn:hover {
    background: #888;
    transform: translateY(-1px);
}

.block-confirm-btn {
    background: #89000d;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: bold;
}

.block-confirm-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Chat Input Area verbessern */
.chat-input-area {
    background: #222;
    border-top: 1px solid #333;
    padding: 1rem;
    display: flex !important;
    /* Sicherstellen dass es angezeigt wird */
    gap: 0.5rem;
    align-items: flex-end;
    position: relative;
}

.chat-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.chat-action-btn {
    background: #444;
    color: #fff;
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-action-btn:hover {
    background: #666;
    transform: translateY(-1px);
}

#chatInput,
#chatMessageInput {
    flex: 1;
    background: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 0.8rem;
    resize: none;
    font-family: inherit;
    transition: border-color 0.3s ease;
    min-height: 50px;
    /* Mindesthöhe hinzufügen */
    display: block !important;
    /* Explizit sichtbar machen */
}

#chatInput:focus,
#chatMessageInput:focus {
    outline: none;
    border-color: #1D8E93;
    box-shadow: 0 0 0 2px rgba(29, 142, 147, 0.2);
}

#chatMessageInput {
    pointer-events: auto;
    opacity: 1;
    width: 100%;
}

.chat-send-btn {
    background: #1D8E93;
    color: #000;
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    min-width: 80px;
    /* Mindestbreite für Button */
}

.chat-send-btn:hover {
    background: #197a7e;
    transform: translateY(-1px);
}

/* Emoji Picker Position korrigieren */
.emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 50px;
    background: #222;
    border: 1px solid #555;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.emoji-grid span {
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.emoji-grid span:hover {
    background: #555;
    transform: scale(1.1);
}

/* Chat Message Styling verbessern */
.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    word-wrap: break-word;
    position: relative;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.own {
    background: #1D8E93;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-message.other {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message-meta {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-status {
    color: #4ade80;
}

/* Inbox Message Styling verbessern */
.inbox-message {
    background: #222;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    width: 50%;
}

.inbox-message:hover {
    border-color: #585858;
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.inbox-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.inbox-sender {
    font-weight: bold;
    color: #1D8E93;
    font-size: 1.1rem;
}

.inbox-date {
    color: #999;
    font-size: 0.9rem;
}

.inbox-message-body {
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Unread Badge verbessern */
.unread-badge {
    background: #89000d;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

/* Profil Listen Styling verbessern */
.ULElementsProfile {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.liElement {
    background: #222;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.liElement:hover {
    background: #3a3a3a;
    border-color: #585858;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.liElement.dark {
    background: linear-gradient(135deg, #2a2a2a, #222);
    border: 1px solid #555;
}

.liElement a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    flex: 1;
    transition: color 0.3s ease;
    padding-right: 1rem;
}

.liElement a:hover {
    color: #1D8E93;
}

/* Verbesserter Löschen-Button */
.li-delete-button {
    background: transparent;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;


}

.li-delete-button:hover {
    background-color: #89000d;
}

.li-delete-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.4);
}

.li-delete-button i {
    font-size: 0.85rem;
}

/* Angebot Details im Link */
.liElement a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.5rem;
    right: 120px;
    /* Platz für Button lassen */
    height: 2px;
    background: linear-gradient(90deg, transparent, #1D8E93, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.liElement:hover a::after {
    opacity: 1;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .liElement {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }

    .liElement a {
        padding-right: 0;
        width: 100%;
    }

    .li-delete-button {
        align-self: flex-end;
        min-width: auto;
        width: 100%;
        justify-content: center;
    }

    .liElement a::after {
        right: 1rem;
    }
}

/* Fade-out Animation für gelöschte Elemente */
.liElement.deleting {
    opacity: 0;
    transform: translateX(-20px) scale(0.95);
    transition: all 0.4s ease;
}

/* Hover-Effekt für bessere Interaktion */
.liElement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1D8E93, #197a7e);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.liElement:hover::before {
    opacity: 1;
}


/* Datum-Styling verbessern */
.liElement a {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.liElement a::after {
    content: none;
    /* Überschreibt die Linie */
}

/* Neues Datum-Element */
.offer-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: normal;
}

.offer-title-text {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.offer-title-text:hover {
    color: #1D8E93;
}

/* Dienstgrad Sterne Styling verbessern */
.detail-item:nth-child(3) span {
    font-weight: bold;

    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Optimale weiße Stern-Umrandung */
/* Optimale weiße Stern-Umrandung */
.fas.fa-star {
    -webkit-text-stroke: 0.1px white;



}


.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.8rem;
}

.checkbox-container:last-child {
    margin-bottom: 0;
}

.checkbox-label-register {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
}

.checkbox-label-register input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto !important;
    min-width: 16px;
    height: 16px;
    accent-color: #1D8E93;
}

.modal-link {
    color: #1D8E93;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-link:hover {
    color: #197a7e;
}


.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Small Text für Hinweise */
.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: #999;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Modal Content für kürzeren Inhalt anpassen */
.modal-content {
    position: relative;
    /* WICHTIG: Parent muss relative sein */

    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    overflow-y: auto;

    padding-top: 1.5rem;
    padding-bottom: 2vh;
    height: 100vh;
    width: 100%;
    max-width: 100%;
    z-index: 1002;


}

#registerLink {
    color: #1D8E93;

}

.modal-content div {
    width: 20vw;
}

.modal-content form {
    width: 20vw;
}



/* Checkbox Gruppe kompakter gestalten */
.checkbox-group {
    margin: 1rem 0;
    padding: 0.8rem;

    border-radius: 8px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}

/* PAGINATION STYLING */
.pagination-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #222;
    border: 1px solid #333;
    border-radius: 12px;
}

.pagination-info {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    background: #222;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pagination-btn:hover:not(:disabled) {
    background: #585858;
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-numbers {
    display: flex;
    gap: 0.3rem;
    margin: 0 0.5rem;
}

.page-number {
    background: #444;
    color: white;
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 35px;
}

.page-number:hover {
    background: #585858;
    transform: translateY(-1px);
}

.page-number.active {
    background: #1D8E93;
    color: #000;
    font-weight: bold;
}

.page-number.active:hover {
    background: #1D8E93;
    color: #000;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .page-numbers {
        margin: 0;
        order: -1;
    }

    .pagination-btn {
        min-width: 120px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pagination-controls {
        padding: 1rem;
    }

    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-number {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 30px;
    }

    .modal-content form {
        width: 80vw;
        
    }

    .modal-content div {
        width: 80vw;

    }
    
    .submit-btn {
        margin-top: 25vh;
    }
}

/* Offers List Anpassung */
#offersList {
    width: 100%;
    padding-left: 23%;
    padding-right: 23%;
    margin-top: 5vh;
    min-height: 60vh;
    /* Mindesthöhe für konsistente Layout */
}

.offers-list-container {
    width: 100%;
    position: relative;
}

#offers {
    position: relative;
}

#offers.locked .sidebar-content,
#offers.locked #offersList {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

.offers-lock-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 20;
    min-height: 100%;
}

#offers.locked .offers-lock-overlay {
    display: flex;
}

.offers-lock-overlay-content {
    width: min(100%, 480px);
    text-align: center;
    background: linear-gradient(165deg, #070707 0%, #111 100%);
    border: 1px solid #1D8E93;
    border-radius: 20px;
    box-shadow: 0 0 24px rgba(29, 142, 147, 0.28);
    color: #fff;
    padding: 2rem 1.5rem;
}

.offers-lock-overlay-content i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: #1D8E93;
    border-radius: 999px;
    padding: 0.5rem;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.offers-lock-overlay-content h3 {
    margin-bottom: 0.5rem;
}

.offers-lock-overlay-content p {
    color: #d6d6d6;
    margin-bottom: 1.25rem;
}

.offers-lock-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #1D8E93;
    color: #000;
    border: 1px solid #1D8E93;
    border-radius: 999px;
    padding: 0.65rem 1.1rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offers-lock-login-btn i {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-size: 1rem;
    color: #000;
}

.offers-lock-login-btn:hover {
    background: #24b1b7;
    border-color: #24b1b7;
}

.test-login-hint {
    margin: 0.2rem 0 1rem;
    color: #d8d8d8;
    font-size: 0.9rem;
    text-align: center;
}

.test-login-hint strong {
    color: #1D8E93;
}

/* Loading State für Pagination */
.pagination-loading {
    opacity: 0.6;
    pointer-events: none;
}

.pagination-controls.loading .pagination-btn {
    opacity: 0.5;
    cursor: wait;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Error Messages */
.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Offer Detail Modal */
.offer-detail-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.offer-detail-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    margin: 3% auto;
    padding: 0;
    border: 1px solid #333;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.offer-detail-header {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #1D8E93;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.offer-detail-header h2 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.offer-detail-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.offer-detail-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.offer-detail-body {
    padding: 2rem;
}

.offer-detail-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 12px;
}

.offer-detail-section h3 {
    color: #1D8E93;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-row {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.detail-label {
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
}

.detail-text {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.offer-detail-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #333;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-radius: 0 0 16px 16px;
}

.btn-secondary {
    background: #222;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #444;
}

@media (max-width: 768px) {
    .offer-detail-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }

    .offer-detail-grid {
        grid-template-columns: 1fr;
    }

    .offer-detail-header {
        padding: 1rem;
    }

    .offer-detail-body {
        padding: 1rem;
    }

    .offer-detail-footer {
        padding: 1rem;
        flex-direction: column;
    }
}