﻿/* Main Branding and UI Enhancements */
:root {
    --brand-color: #E84E29; /* CMYK (C: 0, M: 59, Y: 76, K: 2) converted to hex */
    --brand-color-dark: #A8371E; /* Adjusted darker shade for hover effects */
    --brand-color-light: #F06C4B; /* Adjusted lighter shade if needed */
    --light-color: #f5f5f5;
    --dark-color: #333;
    --background-dark: #121212;
    --accent-color: #00f5d4;
    --box-shadow: #00000040 0px 54px 55px, #0000001f 0px -12px 30px, #0000001f 0px 4px 6px, #0000002b 0px 12px 13px, #00000017 0px -3px 5px;
}

/* Apply the brand color to buttons and other key elements */
.Button, .user-message {
    background-color: var(--brand-color);
    color: white;
}

/* Enhance the input and button appearance */
.TextEdit, .Button {
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
}



/* Chat Messages Styling */

.message-bubble {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly more opaque for readability */
    color: white; /* Ensuring text is readable */
    padding: 1rem;
    border-radius: 10px;
    max-width: 75%;
    word-break: break-word;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
}

.user-message {
    align-self: flex-end;
}

.bot-message {
    align-self: flex-start;
    background-color: rgba(0, 0, 0, 0.2); /* Darker background for bot messages */
    color: #EEE; /* Light text color for contrast */
}



.chat-messages {
    overflow-y: auto;
    max-height: 60vh; /* Adjust the height as needed */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 8px;
}

.chat-messages,
.match-list,
.bubble-list,{
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

    
    .chat-messages::-webkit-scrollbar,
    .match-list::-webkit-scrollbar,
    .bubble-list::-webkit-scrollbar,{
        width: 20px;
        height: 20px;
    }

    
    .chat-messages::-webkit-scrollbar-track,
    .match-list::-webkit-scrollbar-track,
    .bubble-list::-webkit-scrollbar-track,{
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .chat-messages::-webkit-scrollbar-thumb,
    .match-list::-webkit-scrollbar-thumb,
    .bubble-list::-webkit-scrollbar-thumb,
    {
        background-color: rgba(255, 255, 255, 0.3);
        border: 4px solid transparent;
        border-radius: 8px;
        background-clip: padding-box;
    }

        .chat-messages::-webkit-scrollbar-thumb:hover,
        .match-list::-webkit-scrollbar-thumb:hover,
        .bubble-list::-webkit-scrollbar-thumb:hover,
        {
            background-color: rgba(255, 255, 255, 0.4);
        }

/* For Firefox */

.chat-messages,
.match-list,
.bubble-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

/* Input Area Styling */
.input-area {
    display: flex;
    align-items: center;
    padding-top: 16px;
    /*backdrop-filter: blur(10px); Consistent blur effect */
}

.input-field {
    flex-grow: 1;
    border-radius: 20px;
    padding: 8px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.5); /* Slightly opaque to highlight the input field */
    color: #FFF; /* White text color */
    margin-right: 5px;
}

.chat-container {
    background-color: rgba(255, 255, 255, 0.1); /* Light background with transparency */
    backdrop-filter: blur(10px); /* Blur effect for glass-like appearance */
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border to enhance the glass effect */
    max-height: 450px;
}

.bubble-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.no-data-bubble {
    background-color: #f0f0f0;
    color: #888;
    cursor: default;
}

.welcome-message {
    text-align: center;
    color: var(--brand-color);
}

.empty-chat-message {
    text-align: center;
    color: #888;
}

/* Use darker colors for backgrounds and lighter for text */
.side-section {
    background-color: var(--dark-color);
    position: sticky;
    color: #ffffff;
    padding: 1rem; /* Reduced padding */
    border-radius: 10px;
    top: 0;
    margin-bottom: 0.5rem; /* Adjusted margin */
    max-height: 450px;
}


.input-spinner {
    margin-right: 1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1 IDg0LjAxNjEgMjY1LjM4 IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5 IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2 IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5 IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2 IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2 IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3 IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.main-content {
    padding-bottom: 50px; /* Adjust this value as needed */
}

.marketing-banners {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.banner {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .banner img {
        width: 100%;
        height: auto;
    }

.footer-container {
    background-color: var(--light-color);
    padding: 1rem 0;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    transition-duration: 0.25s;
    color: #FFF; /* Ensures text is white or light colored */
}

:root {
    --box-shadow: #00000040 0px 54px 55px, #0000001f 0px -12px 30px, #0000001f 0px 4px 6px, #0000002b 0px 12px 13px, #00000017 0px -3px 5px;
    --background-dark: #121212; /* Dark background for elements */
    --accent-color: #00f5d4; /* Accent color for interactive elements */
}

body {
    height: 100vh;
    background: #5AB2E8;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    background-color: var(--background-dark);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.sideNav1, .sideNav2 {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
}

    .sideNav1 li, .sideNav2 .group {
        border-color: #333; /* Darker lines for separation */
    }

.searchInput, #MessageInput {
    background-color: #333;
    color: #FFF;
    border: 1px solid #444;
}

button.Send {
    background-color: var(--accent-color);
    color: #FFF;
}

.message-bubble.highlight {
    background-color: #6c63ff; /* Change the background color to your desired highlight color */
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5); /* Add a glowing effect */
    transition: background-color 0.3s, box-shadow 0.3s; /* Add transitions for smooth effect */
}

.search-bubble,
.offer-bubble,
.swap-bubble,
.community-bubble,
.no-data-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #444;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .search-bubble:hover,
    .offer-bubble:hover,
    .swap-bubble:hover,
    .community-bubble:hover {
        background-color: #555; /* Lighter color on hover */
    }

    .search-bubble i,
    .offer-bubble i,
    .swap-bubble i,
    .community-bubble i,
    .no-data-bubble i {
        margin-right: 0.5rem;
    }

.close-btn {
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    font-weight: bold;
    padding: 0 6px;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .close-btn:hover {
        background-color: rgba(255, 255, 255, 0.3); /* Slightly lighter color on hover */
    }

.header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Added to align logo and menu to the left */
}

.header-center{
    margin-top: 50px; /* Adjusted margin */
    margin-left: 5px;
    padding-left: 5px;
}

.header-center-mobile {
    margin-top: 160px; /* Adjusted margin */
    margin-left: 5px;
    padding-left: 5px;
}
   
.placeholder-menu {
    position: relative; /* Changed from absolute positioning */
    margin-right: 1rem; /* Added some spacing between menu and logo */
    padding: 0.5rem 1rem;
    background-color: var(--brand-color);
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.logo-container {
    align-items: center;
    display: flex;
}

.logo-container img {
    margin-top: 30px; /* Adjusted margin */
    /* width: 80%; */
    max-width: 280px; /* Adjusted max-width */
    display: inline-flex;
}


.header-profile {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-title {
    margin-top: 30px; /* Adjusted margin */
}


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

.match-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: var(--brand-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.match-bubble:hover {
    background-color: var(--brand-color-dark);
}

.match-bubble i {
    margin-right: 0.5rem;
}

.match-bubble.expanded {
    background-color: var(--brand-color-light);
    margin-bottom: 10px;
}

.match-title {
    flex-grow: 1;
    margin-left: 8px;
}

.match-count {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-right: 20px;
    padding-right: 10px;
}

.mini-chat {
    width: 100%;
    height: 300px; /* Reduced height */
    min-height: 300px;
    max-height: 400px; /* Reduced max-height */
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, .2);
    background: rgba(255, 140, 0, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 20px;
}

.chat-title {
    flex: 0 1 auto; /* Changed from fixed height to auto */
    position: relative;
    z-index: 2;
    background: rgba(255, 140, 0, 0.1);
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    padding: 15px 10px 15px 50px; /* Increased top and bottom padding */
    display: flex;
    align-items: center; /* Align items vertically */
}

.chat-title h1,
.chat-title h2 {
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 1.2; /* Improved line height for better spacing */
}

.chat-title h1 {
    font-size: 12px; /* Slightly increased font size */
    margin-bottom: 4px; /* Add some space between h1 and h2 */
}

.chat-title h2 {
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
    letter-spacing: 1px;
}

.chat-title .avatar {
    position: absolute;
    z-index: 1;
    top: 50%; /* Center vertically */
    left: 10px;
    transform: translateY(-50%); /* Adjust for perfect centering */
    border-radius: 50%;
    width: 35px; /* Slightly increased size */
    height: 35px; /* Slightly increased size */
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
}

.chat-title .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.messages {
    flex: 1 1 auto;
    color: rgba(255, 255, 255, .7);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.messages .messages-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
}

.message {
    clear: both;
    float: left;
    padding: 6px 10px 7px;
    border-radius: 10px 10px 10px 0;
    background: rgba(255, 255, 255, .27);
    margin: 8px 0;
    font-size: 11px;
    line-height: 1.4;
    margin-left: 35px;
    position: relative;
    max-width: 80%;
    word-wrap: break-word;
}

.message .timestamp {
    position: absolute;
    bottom: -15px;
    font-size: 9px;
    color: rgba(255, 255, 255, .5);
}

.message .avatar {
    position: absolute;
    z-index: 1;
    bottom: -15px;
    left: -35px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
}

.message .avatar img {
    width: 100%;
    height: auto;
}

.message.message-personal {
    float: right;
    color: #fff;
    text-align: right;
    background: var(--brand-color);
    border-radius: 10px 10px 0 10px;
}

.message-box {
    flex: 0 1 40px;
    width: 100%;
    background: rgba(255, 140, 0, 0.1);
    padding: 10px;
    position: relative;
}

    .message-box .message-input {
        background: none;
        border: none;
        outline: none !important;
        resize: none;
        color: #fff;
        font-size: 11px;
        height: 17px;
        margin: 0;
        padding-right: 20px;
        width: calc(100% - 40px);
    }

.message-box .message-submit {
    position: absolute;
    z-index: 1;
    top: 9px;
    right: 10px;
    color: #fff;
    border: none;
    background: var(--brand-color);
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
    outline: none !important;
    transition: background .2s ease;
}

.message-box .message-submit:hover {
    background: var(--brand-color-dark);
}

.original-message {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
}

    .original-message strong {
        display: block;
        margin-bottom: 5px;
        color: #fff;
    }

    .original-message p {
        margin: 0;
        color: #eee;
    }

.auth-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.25rem 0.5rem; /* Reduced padding */
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem; /* Adjusted margin */
    margin-left: 0;
    margin-right: 0;
}

.auth-form {
    display: flex;
    align-items: center;
}

    .auth-form label {
        margin-right: 1rem; /* Increased margin to create a wider gap */
    }

.auth-input {
    padding: 0.5rem;
    border: none;
    border-radius: 20px; /* Adjusted to match the roundness of the message input field */
    margin-right: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.auth-button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px; /* Adjusted to match the roundness of other buttons */
    background-color: var(--brand-color);
    color: #fff;
    cursor: pointer;
    margin-left: 1rem;
    height: 32px; /* Adjusted to reduce the height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-info {
    display: flex;
    align-items: center;
}

.auth-info p {
    margin-right: 1rem;
    margin-bottom: 0; /* Added to remove default bottom margin */
}

/* ... (keep the existing styles) */

.hamburger-menu {
    position: fixed;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1000;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--dark-color);
    padding: 2rem;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

    .side-menu.open {
        left: 0;
    }

    .side-menu .close-btn {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        color: white;
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

.auth-container {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 20px 20px 0.5rem; /* Top, horizontal, bottom margins */
}

.main-content {
    padding-top: 20px;
}



.scrollable-content {
    height: 100%;
    overflow-y: auto;
}

.chat-messages {
    height: calc(100% - 60px); /* Adjust based on your input area height */
    overflow-y: auto;
}


.row.align-items-start.h-100 {
    height: calc(100vh - 200px); /* Adjust this value based on your header and footer height */
}

.side-section, .chat-container, .matches-column {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-messages, .match-list {
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 300px);
}

.input-area {
    margin-top: 15px;
}

.searches-section, .offers-section, .swaps-section, .community-section {
    margin-bottom: 20px;
}

.match-bubble {
    margin-bottom: 10px;
}

.mini-chat {
    max-height: 300px; /* Adjust as needed */
    overflow-y: auto;
    color: #fff;
}

/* Wrapper for the entire page content */
.page-wrapper {
    min-height: 100vh; /* Ensure the page covers the full viewport height */
    display: flex;
    flex-direction: column;
}

/* Header adjustments */
.sticky-header-wrapper {
    position: sticky;
    top: 0; /* Ensure it sticks to the top without any offset */
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust background as needed */
    padding: 20px 0; /* Consistent padding for the sticky header */
}

/* Main content area adjustments */
.main-content-wrapper {
    flex: 1; /* Allow the main content to expand and fill the available space */
    margin-top: 10px; /* Space between header and main content */
    display: flex;
    flex-direction: column;
    padding: 0 20px; /* Side padding for main content */
    height: calc(100vh - 200px);
}

/* Full height sections adjustments */
.full-height-section {
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Enable vertical scrolling */
    background-color: #333; /* Dark background for sections */
    color: #fff; /* Light text color */
    border-radius: 10px; /* Rounded corners for sections */
    padding: 1rem; /* Internal padding for content spacing */
    margin-bottom: 20px; /* Bottom margin to provide space between sections */
    flex: 1; /* Allow sections to fill the available space */
}

/* Footer adjustments */
.footer-wrapper {
    margin-top: auto; /* Push footer to the bottom of the page */
}

/* Banner styling */
.banner {
    width: 100%;
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensure content doesn't overflow */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for banners */
    margin: 10px 0; /* Space between banners */
}

    .banner img {
        width: 100%;
        height: auto; /* Ensure the banner maintains aspect ratio */
    }

.menu-bar {
    background-color: var(--dark-color);
    padding: 10px;
    display: flex;
    justify-content: space-around;
}

    .menu-bar button {
        background-color: var(--brand-color);
        color: white;
        border: none;
        padding: 5px 10px;
        border-radius: 5px;
    }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--dark-color);
    z-index: 1000;
    display: none;
    overflow-y: auto;
}

    .overlay.show {
        display: block;
    }
/* Custom breakpoint for smoother transition */
@media (max-width: 1200px) and (min-width: 992px) {
    .impressum-page {
            margin-top: 20px;
            padding: 1.5rem;
        }
    .chat-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .side-column {
        display: none;
    }
}

/* Ensure full width below 992px */
@media (max-width: 991px) {
    .chat-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Show menu bar below 1200px */
@media (max-width: 1200px) {
    .menu-bar {
        display: flex !important;
    }
}


* {
    box-sizing: border-box;
}

.full-screen-nav, .mobile-nav {
    padding: 30px;
}

.nav-open {
    display: none;
}

.mobile-nav {
    display: none;
}

@media screen and (max-width: 1200px) {
    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        background: var(--brand-color);
        opacity: 0;
        transition: all .2s ease;
    }

    .nav-container ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

    .nav-container ul li {
        display: block;
        float: none;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }

    .nav-container ul li:not(:first-child) {
        margin-left: 0;
    }

    .nav-container ul li a {
        padding: 10px 25px;
        opacity: 0;
        color: white;
        font-size: 24px;
        font-weight: 600;
        transform: translateY(-20px);
        transition: all .2s ease;
        display: block;
        text-decoration: none;
    }

    .nav-open {
        position: fixed;
        left: 10px;
        top: 10px;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 9999;
        border-radius: 50%;
    }

    .nav-open i {
        display: block;
        width: 20px;
        height: 2px;
        background: white;  /* Changed to white */
        border-radius: 2px;
        margin-left: 14px;
    }

    .nav-open i:nth-child(1) {
        margin-top: 16px;
    }

    .nav-open i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }

    .nav-open i:nth-child(3) {
        margin-top: 4px;
    }

    #nav:checked + .nav-open, #mobile-nav:checked + .nav-open {
        transform: rotate(45deg);
    }

    #nav:checked + .nav-open i, #mobile-nav:checked + .nav-open i {
        background: white;
        transition: transform .2s ease;
    }

    #nav:checked + .nav-open i:nth-child(1), #mobile-nav:checked + .nav-open i:nth-child(1) {
        transform: translateY(6px) rotate(180deg);
    }

    #nav:checked + .nav-open i:nth-child(2), #mobile-nav:checked + .nav-open i:nth-child(2) {
        opacity: 0;
    }

    #nav:checked + .nav-open i:nth-child(3), #mobile-nav:checked + .nav-open i:nth-child(3) {
        transform: translateY(-6px) rotate(90deg);
    }

    #nav:checked ~ .nav-container, #mobile-nav:checked ~ .nav-container {
        z-index: 9990;
        opacity: 1;
    }

    #nav:checked ~ .nav-container ul li a, #mobile-nav:checked ~ .nav-container ul li a {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden {
    display: none;
}

/* Adjust your existing styles to hide the logo on small screens */
@media screen and (max-width: 1200px) {
    .header-logo .logo-container {
        display: none;
    }

    .full-screen-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }
}

/* Hide mobile nav when all columns are visible */
@media screen and (min-width: 1201px) {
    .mobile-nav {
        display: none;
    }
}

/* Consistent container sizing for header and main content */
.sticky-header .Container,
.main-content-wrapper .Container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .sticky-header .Container,
    .main-content-wrapper .Container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .sticky-header .Container,
    .main-content-wrapper .Container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .sticky-header .Container,
    .main-content-wrapper .Container {
        max-width: 540px;
    }
}

@media (max-width: 576px) {
    .sticky-header .Container,
    .main-content-wrapper .Container {
        max-width: 100%;
    }
}

/* Ensure full width for header center on smaller screens */
@media (max-width: 1200px) {
    .sticky-header .header-center {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: left;
        padding: 15px;
    }
}

/* Hide logo and banner on smaller screens */
@media (max-width: 1200px) {
    .sticky-header .d-none.d-xl-block {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .auth-container.logged-out {
        background-color: transparent;
        display: flex;
        justify-content: center;
        padding: 1rem 0;
    }

        .auth-container.logged-out .auth-button {
            font-size: 1.2rem;
            padding: 0.75rem 2rem;
        }

    .auth-container.logged-in {
        /* Keep the existing styles for logged-in state */
        background-color: rgba(255, 255, 255, 0.1);
    }
}

/* Existing styles for larger screens */
@media (min-width: 769px) {
    .auth-container {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        margin: 20px 20px 0.5rem;
        margin-top: 10px;
        padding: 0.5rem 1rem;
    }
}

/* General styles for the auth button */
.auth-button {
    border: none;
    border-radius: 20px;
    background-color: var(--brand-color);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .auth-button:hover {
        background-color: var(--brand-color-dark);
    }

@media (max-width: 1200px) {

    .treffer-column.show-mobile {
        display: flex !important;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .treffer-column .mini-chat {
        height: auto;
        min-height: 400px; /* Increased minimum height */
        max-height: none;
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

        .treffer-column .mini-chat .chat-title {
            flex: 0 0 auto;
        }

        .treffer-column .mini-chat .messages {
            flex: 1;
            min-height: 300px; /* Ensure a minimum height for messages area */
            display: flex;
            flex-direction: column;
        }

        .treffer-column .mini-chat .messages-content {
            flex: 1;
            overflow-y: auto;
            min-height: 250px; /* Minimum height for messages content */
            max-height: none;
            padding: 10px;
        }

        .treffer-column .mini-chat .message-box {
            flex: 0 0 auto;
            padding: 10px;
        }

        .treffer-column .mini-chat .message {
            max-width: 80%;
            margin-bottom: 10px;
        }

        .treffer-column .mini-chat .message-personal {
            align-self: flex-end;
        }
    .side-column.show-mobile {
        display: block !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        height: auto;
        overflow-y: visible;
    }

    .anfragen-column-wrapper,
    .treffer-column-wrapper {
        width: 100%;
        height: auto;
    }

    .side-section {
        height: auto;
        max-height: none;
        padding: 1rem;
    }

    .scrollable-content {
        height: auto;
        max-height: none;
        overflow-y: visible;
    }

    .bubble-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .match-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .mini-chat {
        height: auto;
        max-height: none;
        margin-left: 15px;
        width: calc(100% - 30px);
    }

    .matches-column {
        height: auto;
        margin-right: 15px;
        min-width: 300px;
    }

    .main-content-wrapper {
        min-height: calc(100vh - 200px); /* Adjust based on your header/footer height */
    }

    .side-column.show-mobile {
        min-height: calc(100vh - 250px); /* Slightly less than main-content-wrapper to account for padding */
    }

    .chat-column {
        display: none !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

        .chat-column.show-mobile {
            display: block !important;
            order: 2; /* This ensures the chat appears in the middle when visible */
        }

    .full-screen {
        display: none;
    }

    .mobile-header {
        margin-top: -50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .logo-container.mobile,
    .header-center.mobile {
        display: none;
    }

        .logo-container.mobile.show-mobile,
        .header-center.mobile.show-mobile {
            display: block;
        }

        .logo-container.mobile img {
            max-height: 200px;
            width: auto;
        }

    .logo-container img {
        margin-bottom: -55px;
        margin-top: 5px;/* Adjusted margivbh/
        /* width: 80%; */
        max-width: 280px; /* Adjusted max-width */
        display: inline-flex;
    }

    .header-center.mobile p {
        margin: 10px 0 0;
        text-align: center;
    }

    
.main-content-wrapper {
    padding-top: 0px;
    border: none;
    background: #5AB2E8; /* Match your page background color */
}

}


.row.align-items-center {
    margin-top: -50px; /* Adjust this value as needed */
    background-color: #5AB2E8; /* Match your page background color */
    padding-top: 50px; /* This should match the absolute value of margin-top */
    position: relative;
    z-index: 1;
}

@media (min-width: 990px) {
    .mobile-header {
        display: none;
    }
}

.main-content-wrapper {
    padding: 2px;
    border: none;
    background: #5AB2E8; /* Match your page background color */
}
.search-bubble,
.offer-bubble,
.swap-bubble,
.community-bubble {
    display: flex;
    align-items: center;
    padding: 5px 10px;
}

.bubble-content {
    flex-grow: 1;
    margin-right: 10px;
}

.file-upload {
    display: flex;
    align-items: center;
    margin-right: 0px;
}

.file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
}

.file-upload label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 5px;
}

.file-upload label:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.file-upload i {
    color: var(--brand-color);
    font-size: 20px;
    margin-right: 2px;
}

.file-upload.uploaded label {
    background-color: var(--brand-color);
}

.file-upload.uploaded i {
        color: white;
}

.preview-thumbnail {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    object-fit: cover;
    cursor: pointer;
    margin-right: 5px;
}

.close-btn {
    margin-left: 5px;
}

.file-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.file-preview {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
}

.file-preview img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.close-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.close-preview:hover {
    color: var(--brand-color);
}

.file-upload label:hover {
    background-color: #d0d0d0;
}

.preview-container {
    display: flex;
    align-items: center;
    margin-right: 5px;
    background-color: #e0e0e0;
    padding: 5px;
    border-radius: 10px;
}


.remove-file {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: bold;
}

.remove-file:hover {
    color: #333;
}

.send-button {
    width: 2.5rem;
    height: 2.5rem;
    border-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--brand-color);
}

.message-attachment {
    margin-top: 10px;
}

.message-attachment-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.message-attachment-image:hover {
    transform: scale(1.05);
}

.image-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px; /* Increased padding for more space around the edges */
    min-height: 100vh;
    background-color: #5AB2E8; /* Match the app's background color */
    box-sizing: border-box; /* Ensure padding is included in the height calculation */
}

.full-size-image-container {
    max-width: 80%; /* Reduced from 90% to create more margin */
    max-height: 70vh; /* Reduced from 80vh to create more vertical space */
    width: 100%; /* Ensure the container takes full width up to max-width */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Increased margin below the image */
    background-color: transparent;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.full-size-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
}

.download-button {
    padding: 12px 24px; /* Slightly larger button */
    background-color: var(--brand-color);
    color: white;
    border: none;
    border-radius: 25px; /* Slightly more rounded */
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 20px; /* Add some space above the button */
}

    .download-button:hover {
        background-color: var(--brand-color-dark);
        transform: scale(1.05); /* Slight grow effect on hover */
    }

/* Media query for very large screens */
@media (min-width: 1600px) {
    .full-size-image-container {
        max-width: 70%; /* Even smaller on very large screens */
        max-height: 60vh;
    }
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .image-viewer {
        padding: 20px; /* Less padding on smaller screens */
    }

    .full-size-image-container {
        max-width: 95%; /* Allow image to be wider on small screens */
        max-height: 75vh; /* Allow image to be taller on small screens */
    }
}

.profile-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    max-height: 450px;
}

.profile-overview {
    background-color: var(--dark-color);
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.profile-overview h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.profile-content {
    overflow-y: auto;
    flex-grow: 1;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 5px;
}

.profile-label {
    font-weight: bold;
    flex: 1;
}

.profile-value {
    flex: 2;
    text-align: left;
    padding-left: 2rem;
}

.back-button {
    background-color: var(--brand-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 50px;
    margin: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    align-self: center;
}

.back-button:hover {
    background-color: var(--brand-color-dark);
}

.back-button i {
    margin-right: 0.5rem;
}

.profile-prompt {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
    max-height: 100px;
    margin-bottom: 1rem;
}

@media (max-width: 1200px) {
    .profile-column {
        padding-top: 20px;
        max-height: 450px;
    }

    .profile-column .logo-container {
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }

    .profile-column .logo-container img {
        max-width: 200px;
    }
}

@media (max-width: 1023px) {
    .auth-button.account-icon {
        display: none;
    }
}

@media (max-width: 1200px) {
    .profile-column {
        height: auto;
        max-height: none;
        padding-top: 20px;
    }

    .profile-overview {
        height: auto;
        max-height: none;
    }

    .profile-content {
        overflow-y: visible;
        max-height: none;
    }

    .profile-info {
        padding-bottom: 20px;
    }
}


@media (max-width: 900px) {
    .profile-column {
        height: auto;
        max-height: none;
        padding-top: 20px;
    }

    .profile-overview {
        height: auto;
        max-height: none;
    }

    .profile-content {
        overflow-y: visible;
        max-height: none;

    }

    .profile-info {
        padding-bottom: 20px;
    }
}


.simple-footer {
    flex-shrink: 0;
    background-color: transparent;
    color: #fff;
    padding: 10px 0;
    margin-top: -5px; /* This pushes the footer to the bottom */
}

    .simple-footer a {
        color: #fff;
        text-decoration: none;
        font-size: 0.8rem;
    }

        .simple-footer a:hover {
            color: var(--brand-color);
        }

/* Ensure content doesn't overlap with footer on smaller screens */
@media (max-width: 1200px) {
    .main-content-wrapper {
        padding-bottom: 60px; /* Adjust based on your footer height */
    }
}

@media (max-width: 900px) {
    .simple-footer {
        display: none;
    }
}

 .impressum-page {
        background-color: transparent;
        color: #fff;
        padding: 2rem;
        border-radius: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
        min-height: calc(100vh - 200px);
    }

    .impressum-page h1 {
        margin-bottom: 1.5rem;
    }

    .impressum-content {
        max-width: 800px;
        margin: 0 auto;
    }


    
.faq-page {
    background-color: transparent;
    color: #fff;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 60px;
    flex: 1;
}

.faq-page h1 {
    margin-bottom: 1rem;
    text-align: center;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item h2 {
    margin-bottom: 0.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.faq-item h2::after {
    content: '\25BC';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.faq-item.active h2::after {
    transform: rotate(180deg);
}

.faq-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item-content {
    max-height: 3000px;
}

.faq-item-content ul, .faq-item-content ol {
    padding-left: 20px;
}

.faq-item-content {
    line-height: 1.6;
    font-size: 0.9rem;
}

.faq-item-content p {
    margin-bottom: 1em;
}

.faq-item-content ul, .faq-item-content ol {
    padding-left: 20px;
    margin-bottom: 1em;
}

.faq-item-content li {
    margin-bottom: 0.5em;
}

.faq-item-content a {
    color: var(--brand-color);
    text-decoration: underline;
}

.faq-item-content a:hover {
    color: var(--brand-color-dark);
}

.faq-item-content {
    word-wrap: break-word;
}

    .faq-item-content pre {
        white-space: pre-wrap; /* Break lines as needed to fit the container */
        overflow-x: auto; /* Add horizontal scrollbar only if the content overflows 
        color: #ffffff; /* Optional: keep text visible */
        padding: 10px; /* Add padding to the content for better readability */
        border-radius: 5px; /* Optional: rounded corners */
        text-align: left;
    }

    .faq-item-content code {
        word-wrap: break-word; /* Break long words to prevent overflow */
        display: block; /* Makes code behave well within the pre tag */
        max-width: 100%; /* Keep the content within bounds */
    }

.datenschutz-page {
    background-color: transparent;
    color: #fff;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 60px;
    flex: 1;
}

.datenschutz-page h1 {
    margin-bottom: 1.5rem;
}

.datenschutz-content {
    max-width: 800px;
    margin: 0 auto;
}

.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #5AB2E8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.landing-page.logged-in {
    opacity: 0;
    pointer-events: none;
}

#bgVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

.content {
    text-align: center;
    color: #333;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    max-width: 80%;
    width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo-container-landing img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}


.auth-button-landing {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    background-color: var(--brand-color);
    color: #fff;
    cursor: pointer;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

    .auth-button-landing:hover {
        background-color: var(--brand-color-dark);
    }

.video-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
@media (max-width: 768px) {
    .impressum-page {
        padding: 15px;
        margin-top: 50px; /* Adjust based on your mobile header height */
    }
    .content-wrapper.faq-page {
        max-width: 380px; /* Set max-width for mobile */
        padding: 1.5rem;
        margin: 10px auto;
    }

    .datenschutz-page {
        padding: 15px;
        margin-top: 50px; /* Adjust based on your mobile header height */
    }

    .landing-page {
        padding: 15px;
        margin-top: 50px; /* Adjust based on your mobile header height */
    }

    .landing-page {
        align-items: flex-start;
        padding-top: 10vh;
    }

    .content {
        width: 90%;
        padding: 1.5rem;
    }

    .video-container {
        height: 150px;
    }
}

.content-wrapper faq-page, .content-wrapper datenschutz-page, .content-wrapper impressum-page {
    justify-content: center;
    position: center;
    align-items: center;
}



.info-page .back-button-container {
    display: flex;
    justify-content: center;
}


.info-page .back-button {
    background-color: var(--brand-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

    .info-page .back-button:hover {
        background-color: var(--brand-color-dark);
    }

    .info-page .back-button i {
        margin-right: 0.5rem;
    }

@media (max-width: 768px) {
    .info-page .back-button-container {
        margin-bottom: 15px;
    }
}

@media (min-width: 769px) {

    .info-page .header-logo.full-screen {
        margin-top: 122px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%; /* Make it full height of its container */
    }

    .info-page .logo-container-landing {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%; /* Make it full height of its container */
    }

    .info-page .logo-container-landing img {
        max-width: 280px;
        height: auto;
           }
}


.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

.image-placeholder i {
    font-size: 2rem;
    color: #999;
}

.image-placeholder p {
    margin-top: 5px;
    font-size: 0.8rem;
    color: #666;
}

@media screen and (max-width: 1200px) {
    .nav-open {
        position: fixed;
        left: 10px;
        top: 10px;
        display: flex;
        align-items: center;
        justify-content: center; /* Center the content horizontally */
        background-color: var(--brand-color);
        padding: 20px 30px; /* Increase padding to enlarge the background */
        border-radius: 10px; /* Slightly increase border-radius for better appearance */
        cursor: pointer;
        z-index: 9999;
        min-width: 70px; /* Set a minimum width to ensure the field is larger */
        min-height: 70px; /* Set a minimum height to make the background taller */
    }

    .nav-open-icon {
        width: 30px;
        height: 20px;
        position: relative;
        margin-right: 10px;
    }

        .nav-open-icon span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: white;
            border-radius: 3px;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }

            .nav-open-icon span:nth-child(1) {
                top: 0px;
            }

            .nav-open-icon span:nth-child(2) {
                top: 8px;
            }

            .nav-open-icon span:nth-child(3) {
                top: 16px;
            }

    .nav-open-text {
        color: white;
        font-size: 16px;
    }

    #mobile-nav:checked + .nav-open .nav-open-icon span:nth-child(1) {
        top: 8px;
        transform: rotate(135deg);
    }

    #mobile-nav:checked + .nav-open .nav-open-icon span:nth-child(2) {
        opacity: 0;
        left: -60px;
        left: -60px;
    }

    #mobile-nav:checked + .nav-open .nav-open-icon span:nth-child(3) {
        top: 8px;
        transform: rotate(-135deg);
    }

    .nav-container {
        /* Add styles for your menu container */
    }

        .nav-container ul li a {
            background-color: var(--brand-color);
            border-radius: 25px;
            padding: 10px 20px;
            margin: 5px 0;
            transition: background-color 0.3s ease;
            display: block;
            color: white;
            text-decoration: none;
        }

            .nav-container ul li a:hover {
                background-color: var(--brand-color-dark);
            }

    #mobile-nav:checked + .nav-open .nav-open-text {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
}

.error-message {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFF;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.header-center.full-screen {
    display: block;
}

.header-center-mobile {
    display: none;
}

    .header-center p, .header-center-mobile p {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.4;
    }

@media (max-width: 1200px) {
    .header-center.full-screen {
        display: none;
    }

    .header-center-mobile {
        display: block;
        padding: 10px 15px;
        margin-top: 170px;
    }

        .header-center-mobile p {
            font-size: 16px;
        }
}

.header-center-mobile {
    margin-top: 150px; /* Adjust spacing between the logo and text */
    padding: 10px; /* Add padding to make it visually appealing */
}

.logo-container {
    text-align: center; /* Center the logo on mobile */
    margin-bottom: 10px; /* Adjust to ensure space below the logo */
}

/* Preview Mode Styles - Chat Blur & Signup Overlay */
.preview-chat-container {
    position: relative;
    overflow: hidden;
}

.preview-chat-container::after {
    content: '';
    position: absolute;
    bottom: 70px; /* Account for input area height */
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 30%,
        rgba(255, 255, 255, 0.4) 60%, 
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%);
    backdrop-filter: blur(6px);
    z-index: 50;
    pointer-events: none;
    border-radius: 0 0 10px 10px;
}

.chat-signup-overlay {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(232, 78, 41, 0.3);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInScale 0.8s ease-out;
    max-width: 90%;
    width: auto;
}

/* Glow effect for buttons */
.glow-button {
    animation: glow 2s ease-in-out infinite alternate;
    box-shadow: 0 0 10px rgba(232, 78, 41, 0.5);
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(232, 78, 41, 0.5), 0 0 20px rgba(232, 78, 41, 0.3), 0 0 30px rgba(232, 78, 41, 0.2);
    }
    to {
        box-shadow: 0 0 15px rgba(232, 78, 41, 0.8), 0 0 25px rgba(232, 78, 41, 0.5), 0 0 35px rgba(232, 78, 41, 0.3);
    }
}

/* Message image styling */
.message-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-image:hover {
    transform: scale(1.05);
}

.image-caption {
    font-size: 0.8rem;
    color: #666;
    margin: 5px 0 0 0;
    font-weight: 600;
}

.chat-signup-overlay:hover {
    transform: translateX(-50%) scale(1.03);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    border-color: rgba(232, 78, 41, 0.5);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

.signup-prompt {
    color: #333;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.signup-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.signup-text {
    flex-grow: 1;
    text-align: left;
}

.signup-prompt h3 {
    color: var(--brand-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.signup-prompt p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.3;
    margin: 0;
}

.unlock-chat-btn {
    background: linear-gradient(45deg, var(--brand-color), #F06C4B);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(232, 78, 41, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.unlock-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 78, 41, 0.4);
}

/* Preview Badge */
.preview-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, #FF6B35, #F7931E);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 100px;
    background-color: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background-color: #e0e0e0;
    border-color: var(--brand-color);
    transform: scale(1.05);
}

.image-placeholder i {
    font-size: 2rem;
    color: #999;
    margin-bottom: 5px;
}

.image-placeholder p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .chat-signup-overlay {
        padding: 1rem;
        margin: 1rem;
        left: 1rem;
        right: 1rem;
        width: calc(100% - 2rem);
        transform: none;
    }
    
    .signup-prompt {
        gap: 0.8rem;
    }
    
    .signup-prompt h3 {
        font-size: 1rem;
    }
    
    .signup-prompt p {
        font-size: 0.8rem;
    }
    
    .unlock-chat-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .chat-signup-overlay:hover {
        transform: scale(1.02);
    }

    @keyframes fadeInScale {
        from {
            opacity: 0;
            transform: scale(0.9);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
}

.logo-container {
    position: relative;
}

/* Preview Mode Header */
.site-header.preview-mode {
    position: relative;
}

.preview-chat-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 70px; /* still accounts for input area */
    height: 55%; /* a bit taller so the fade has room */
    background: rgba(255,255,255,0.75); /* constant fill under the blur */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */
    /* Feather the top edge smoothly instead of cutting off */
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
    z-index: 50;
    pointer-events: none;
    border-radius: 0 0 10px 10px;
}


/* Demo Chat Overlay */
.demo-chat-overlay {
    position: absolute;
    top: 60px; /* Account for the h5 title */
    left: 0;
    right: 0;
    bottom: 70px; /* Account for input area */
    background: linear-gradient(135deg, rgba(232, 78, 41, 0.9), rgba(91, 178, 232, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.demo-chat-overlay:hover {
    background: linear-gradient(135deg, rgba(232, 78, 41, 0.95), rgba(91, 178, 232, 0.95));
    transform: scale(1.02);
}

.demo-message {
    text-align: center;
    color: white;
    padding: 2rem;
}

.demo-message h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.demo-message p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.demo-cta-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-cta-btn:hover {
    background: white;
    color: var(--brand-color);
}

/* Preview Items with Hover Effects */
.preview-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: visible;
}

.preview-item::before {
    content: '🔒 Klicken zum Freischalten';
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-item:hover::before {
    opacity: 1;
    top: -40px;
}

.preview-item:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Demo Matches Overlay */
.demo-matches-overlay {
    position: relative;
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(232, 78, 41, 0.15), rgba(91, 178, 232, 0.15));
    border-radius: 15px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.matches-preview h4 {
    color: white;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.matches-preview p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.demo-match-example {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.match-preview-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.match-info strong {
    display: block;
    margin-bottom: 0.3rem;
    color: white;
}

.match-info p {
    margin: 0.2rem 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-btn {
    background: var(--brand-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--brand-color-dark);
    transform: scale(1.05);
}

/* Chat container relative positioning for overlay */
.chat-container {
    position: relative;
    overflow: hidden;
}

/* Demo prompt in auth container */
.demo-prompt {
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, rgba(232, 78, 41, 0.2), rgba(91, 178, 232, 0.2));
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background: linear-gradient(45deg, rgba(232, 78, 41, 0.2), rgba(91, 178, 232, 0.2));
    }
    50% {
        background: linear-gradient(45deg, rgba(91, 178, 232, 0.2), rgba(232, 78, 41, 0.2));
    }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .preview-banner {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .preview-content h2 {
        font-size: 1.8rem;
    }
    
    .preview-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .demo-message h3 {
        font-size: 1.4rem;
    }
    
    .demo-message p {
        font-size: 1rem;
    }
}

/* Force the send button in the PREVIEW chat to be a perfect circle */
.preview-chat-container .send-button {
    all: unset; /* nuke any Bootstrap/Blazorise defaults */
    display: inline-flex;
    width: 40px !important; /* fixed box */
    height: 40px !important;
    flex: 0 0 40px !important; /* do not stretch in flex row */
    align-items: center;
    justify-content: center;
    background: var(--brand-color);
    color: #fff;
    border-radius: 50% !important; /* circle */
    box-sizing: border-box;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    padding: 0 !important; /* kill any pill padding */
    margin: 0;
}

    .preview-chat-container .send-button i {
        font-size: 18px;
        line-height: 1;
    }

