/*
Theme Name: Kommunalnet
Theme URI:  https://www.kommunalnet.at
Author:     Kommunalnet
Author URI: https://www.kommunalnet.at
Description: Dieses WordPress-Theme wurde speziell für Kommunalnet entwickelt. Es bietet eine moderne, übersichtliche und barrierearme Darstellung von Inhalten. Ideal für News, Termine, Services und Kontaktbereiche im kommunalen Umfeld.
Version:    1.0
Tags: municipality, government, lightweight, accessibility-ready, responsive-layout
License:    GNU General Public License v2 or later
*/

/* ========================================
   FONT FACE DECLARATIONS
   ======================================== */

/* Lato Font Family */
@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato-local';
    src: url('fonts/Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Cantata Font Family */
@font-face {
    font-family: 'Cantata-local';
    src: url('fonts/CantataOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS VARIABLES FOR FONTS
   ======================================== */
:root {
    --font-lato: 'Lato-local', sans-serif;
    --font-cantata: 'Cantata-local', serif;
}

/* ========================================
   GLOBAL TYPOGRAPHY STYLES
   ======================================== */

/* Body and Base Styles */
body {
    font-family: 'Lato-local', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 22pt;
    color: #000;
}

/* Headings */
h1 {
    font-family: 'Lato-local', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.02em;
    color: #1F2043;
    text-transform: uppercase;
    margin: 0;
}

h2 {
    font-family: 'Lato-local', sans-serif;
    font-size: 26.7px;
    font-weight: 900;
    line-height: 33.3px;
    letter-spacing: 0.02em;
    color: #1F2043;
    text-transform: uppercase;
    margin: 0;
}

h3 {
    font-family: 'Lato-local', sans-serif;
    font-size: 26.7px;
    font-weight: 500;
    line-height: 33.3px;
    letter-spacing: 0.02em;
    color: #1F2043;
    text-transform: uppercase;
    margin: 0;
}

h4 {
    font-family: 'Lato-local', sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 29.3px;
    letter-spacing: 0.02em;
    color: #1F2043;
    text-transform: uppercase;
    margin: 0;
}

h5 {
    font-family: 'Lato-local', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 22pt;
    color: #1F2043;
    text-transform: uppercase;
    margin: 0;
}

h6 {
    font-family: 'Lato-local', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 22pt;
    color: #1F2043;
    text-transform: uppercase;
    margin: 0;
}

/* Paragraphs */
p {
    font-family: 'Lato-local', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 22pt;
    color: #000;
    margin: 0;
}

/* Links */
a {
    font-family: 'Lato-local', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 22pt;
    color: #27ad7a;
    text-decoration: none;
}

a:hover {
    color: #27ad7a;
    text-decoration: underline;
}

/* ========================================
   HEADER VISIBILITY FIXES
   ======================================== */

/* Step 1: Force header above everything */
#masthead.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
    background: #fff;
    width: 100%;
}

/* Step 2: Remove clipping from theme wrappers */
body.single-post,
body.single-post #page,
body.single-post .site,
body.single-post main,
body.single-post .content-area,
body.single-post #content,
body.single-post .site-content {
    overflow: visible !important;
}

/* Step 3: Disable transform on parents (sticky killer) - more targeted */
body.single-post #page,
body.single-post .site,
body.single-post #content,
body.single-post .site-content,
body.single-post main,
body.single-post .content-area {
    transform: none !important;
}

/* Ensure header is always visible */
#masthead {
    position: relative;
    z-index: 99999;
}

/* Fix for Elementor pages */
body.elementor-page #masthead,
body.elementor-page .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

/* Fix overflow on site container */
.site,
#page {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* Ensure header is not clipped */
.site-header,
#masthead {
    overflow: visible !important;
}

/* Main werkzeuge container */
.werkzeuge {
    padding: 0px !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.werkzeuge-content {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
}

/* Grid container for the 3x3 layout */
#mytools-fav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: 300px;
}

/* Individual werkzeug blocks */
.werkzeug-single-block,
.werkzeug-single-bloce {
    background-color: #0e6354;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    max-height: 120px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /* Add initial shadow */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Hover effects - better version */
.werkzeug-single-block:hover,
.werkzeug-single-bloce:hover {
    /* Remove transform to prevent movement */
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #0a4f43;
    /* Slightly darker on hover */
}

/* Text styling for WERKZEUG */
.werkzeug-text-block p {
    color: white;
    font-family: 'Lato-local', sans-serif;
    font-weight: 500;
    font-size: 12pt;
    line-height: 16pt;
    letter-spacing: 30;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Close button styling */
.btn-werkzeuge-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 12px;
    transition: background 0.3s ease;
    z-index: 10;
}

.btn-werkzeuge-close::before,
.btn-werkzeuge-close::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: white;
    top: 50%;
    left: 50%;
}

.btn-werkzeuge-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn-werkzeuge-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.btn-werkzeuge-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Icon styling */
.flag {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.icon-werkzeug {
    color: white;
    font-size: 16px;
}

/* Loading state */
#loadingWerkzeug {
    font-family: 'Lato-local', sans-serif;
    font-size: 20pt;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    #mytools-fav {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile */
        grid-template-rows: auto;
        height: auto;
        gap: 15px;
    }

    .werkzeug-text-block p {
        font-size: 12pt;
        line-height: 16pt;
    }

    /* Adjust card height for mobile */
    .werkzeug-single-block,
    .werkzeug-single-bloce {
        min-height: 100px;
        /* Slightly smaller on mobile */
    }
}

@media (max-width: 480px) {
    #mytools-fav {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 columns even on small mobile */
        gap: 10px;
        /* Smaller gap on very small screens */
    }

    .werkzeug-text-block p {
        font-size: 10pt;
        /* Even smaller font on very small screens */
        line-height: 14pt;
    }

    /* Further reduce card height for very small screens */
    .werkzeug-single-block,
    .werkzeug-single-bloce {
        min-height: 80px;
        padding: 10px;
        /* Smaller padding */
    }
}
















/* OLD BEREICH3 STYLES REMOVED - Now using new styles below */










/* Google Fonts import removed - using local fonts instead */

/* Login Button with Icons Container */
.kn-login-button-with-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Login Text with Icon Link */
.kn-login-text-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Lato-local', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.kn-login-text-with-icon:hover {
    color: #0f5132;
    text-decoration: none;
}

/* Login Text */
.kn-login-text {
    font-size: 20px !important;
    color: #1f2043 !important;
    font-weight: 500 !important;
    font-family: 'Lato', sans-serif !important;
    order: 1;
}

/* More specific selectors to ensure font size is applied */
#userNameLink .kn-login-text {
    font-size: 20px !important;
}

.kn-login-text-with-icon .kn-login-text {
    font-size: 20px !important;
}

/* Maximum specificity to override any conflicting styles */
.kn-header-login .kn-login-button-with-icons .kn-login-text-with-icon .kn-login-text {
    font-size: 20px !important;
}

/* User Name Link */
#userNameLink {
    position: relative;
    cursor: pointer;
    font-size: 20px !important;
}

/* Direct font-size override for the userNameLink */
#userNameLink,
#userNameLink * {
    font-size: 20px !important;
    color: #1f2043;
    font-family: "Lato-local", Sans-serif;
    font-weight: 400;
    line-height: 22pt;
}

/* Maximum specificity override */
#userNameLink.kn-login-text-with-icon.login_popup .kn-login-text {
    font-size: 20px !important;
}

/* Additional maximum specificity rules */
.kn-login-container .kn-header-login .kn-login-button-with-icons #userNameLink.kn-login-text-with-icon.login_popup .kn-login-text {
    font-size: 20px !important;
}

/* Target the exact HTML structure */
.kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon.login_popup span.kn-login-text {
    font-size: 20px !important;
}

/* Force override with maximum specificity */
body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon.login_popup span.kn-login-text {
    font-size: 20px !important;
}

/* Override any possible conflicting styles */
.kn-login-text,
.kn-login-text-with-icon .kn-login-text,
#userNameLink .kn-login-text,
#userNameLink.kn-login-text-with-icon .kn-login-text,
#userNameLink.kn-login-text-with-icon.login_popup .kn-login-text {
    font-size: 20px !important;
    font-size: 20px !important;
    font-size: 20px !important;
    font-size: 20px !important;
    font-size: 20px !important;
}

/* Final override with absolute maximum specificity */
html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon.login_popup span.kn-login-text {
    font-size: 20px !important;
}

/* Login Icon */
.kn-login-icon {
    width: 13px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    order: 2;
}

/* Optional: Add hover effect for the icon */
.kn-login-text-with-icon:hover .kn-login-icon {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Ensure proper order on mobile */
.kn-login-text-with-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile styles for anmelden text */
@media (max-width: 768px) {
    /* Maximum specificity overrides for mobile - target all possible structures */
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon.login_popup span.kn-login-text,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon.login_popup span.kn-login-text,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.login_popup span.kn-login-text,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.login_popup span.kn-login-text,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink span.kn-login-text,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile span.kn-login-text,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon.login_popup span.kn-login-text,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon.login_popup span.kn-login-text,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.login_popup span.kn-login-text,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.login_popup span.kn-login-text,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink span.kn-login-text,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile span.kn-login-text,
    .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon.login_popup span.kn-login-text,
    .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon.login_popup span.kn-login-text,
    .kn-login-container .kn-header-login .kn-login-button-with-icons #userNameLink.kn-login-text-with-icon.login_popup .kn-login-text,
    .kn-login-container .kn-header-login .kn-login-button-with-icons #userNameLinkMobile.kn-login-text-with-icon.login_popup .kn-login-text,
    #userNameLink.kn-login-text-with-icon.login_popup .kn-login-text,
    #userNameLinkMobile.kn-login-text-with-icon.login_popup .kn-login-text,
    #userNameLink.login_popup .kn-login-text,
    #userNameLinkMobile.login_popup .kn-login-text,
    #userNameLink .kn-login-text,
    #userNameLinkMobile .kn-login-text,
    .kn-login-text,
    .kn-login-text-with-icon .kn-login-text,
    #userNameLink.kn-login-text-with-icon .kn-login-text,
    #userNameLinkMobile.kn-login-text-with-icon .kn-login-text {
        color: #1f2043 !important;
        font-family: "Lato-local", Sans-serif !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
    }
    
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon,
    #userNameLink,
    #userNameLinkMobile,
    #userNameLink.kn-login-text-with-icon,
    #userNameLinkMobile.kn-login-text-with-icon {
        color: #1f2043 !important;
        font-family: "Lato-local", Sans-serif !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
    }
    
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon *,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon *,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink *,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile *,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink *,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile *,
    #userNameLink *,
    #userNameLinkMobile * {
        color: #1f2043 !important;
        font-family: "Lato-local", Sans-serif !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
    }
    
    /* Override hover state on mobile to prevent green color */
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon:hover,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon:hover,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon:hover,
    body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon:hover,
    #userNameLink.kn-login-text-with-icon:hover,
    #userNameLinkMobile.kn-login-text-with-icon:hover,
    .kn-login-text-with-icon:hover {
        color: #1f2043 !important;
    }
    
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLink.kn-login-text-with-icon:hover span.kn-login-text,
    html body .kn-login-container .kn-header-login .kn-login-button-with-icons a#userNameLinkMobile.kn-login-text-with-icon:hover span.kn-login-text,
    #userNameLink.kn-login-text-with-icon:hover .kn-login-text,
    #userNameLinkMobile.kn-login-text-with-icon:hover .kn-login-text,
    .kn-login-text-with-icon:hover .kn-login-text {
        color: #1f2043 !important;
        font-size: 17px !important;
    }
}

/* Divider Line */
.kn-divider-line {
    width: 1px;
    height: 20px;
    background: #e0e0e0;
}

/* Search Icon */
.kn-search-icon {
    background-image: url('https://test04.kommunalnet.at/wp-content/uploads/2025/07/Suche.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: inline-block;
    min-width: 24px;
    min-height: 24px;
}

/* Search Container */
.kn-search-container {
    display: inline-block;
    margin-left: 0;
}

/* Mobile Search Container */
.kn-mobile-search {
    margin: 0;
    padding: 0;
}

/* Mobile Layout Structure */
.kn-mobile-shortcodes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.kn-mobile-left {
    display: flex;
    align-items: center;
}

.kn-mobile-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Divider */
.kn-mobile-divider {
    width: 2px;
    height: 20px;
    background: #1f2043;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    opacity: 0.6;
}

/* Force mobile divider visibility */
.kn-mobile-right .kn-mobile-divider {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure no extra spacing in mobile elements */
.kn-mobile-shortcodes .kn-shortcode-mobile {
    margin: 0;
    padding: 0;
}

/* Force tight spacing */
.kn-mobile-right>* {
    margin: 0;
    padding: 0;
}

/* Desktop spacing for separate elements */
.kn-shortcode-desktop .kn-login-container+.kn-shortcode-desktop .kn-search-container {
    margin-left: 0;
}

/* Ensure proper alignment */
.kn-header-col.right {
    display: flex;
    align-items: center;
    gap: 15px;
}


/* Search Box */
.kn-search-box {
    position: absolute;
    top: 100%;
    right: -15px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    margin-top: 10px;
    min-width: 600px;
    z-index: 10000;
    display: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.kn-search-box::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.kn-search-box::after {
    content: '';
    position: absolute;
    top: -9px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #e0e0e0;
}

.kn-search-input {
    width: calc(100% - 100px) !important;
    padding: 10px 12px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    background: white !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    margin-right: 10px !important;
    -webkit-appearance: none !important;
    outline: 0 !important;
    color: #333 !important;
    display: inline-block !important;
    vertical-align: top !important;
}

/* Force override parent theme styles for search input */
#top .kn-search-input,
.kn-search-box .kn-search-input {
    width: calc(100% - 100px) !important;
    padding: 10px 12px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    background: white !important;
    transition: border-color 0.3s ease !important;
    box-sizing: border-box !important;
    margin-bottom: 0 !important;
    margin-right: 10px !important;
    -webkit-appearance: none !important;
    outline: 0 !important;
    color: #333 !important;
    display: inline-block !important;
    vertical-align: top !important;
}

.kn-search-input:focus {
    outline: none !important;
    border-color: #0f5132 !important;
    box-shadow: 0 0 0 2px rgba(15, 81, 50, 0.1) !important;
}

.kn-search-submit {
    background: #27ad7a;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px 12px;
    font-family: 'Lato-local', sans-serif;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80px;
    height: auto;
    display: inline-block;
    vertical-align: top;
    line-height: 1;
}

.kn-search-submit:hover {
    background: #1e8a63;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(39, 173, 122, 0.3);
}

/* Mobile and tablet responsive for search icon */
@media (max-width: 1024px) {
    /* Add margin-top to search icon in mobile/tablet only */
    .kn-search-icon {
        margin-top: 5px !important;
    }
}

/* Mobile responsive for search box */
@media (max-width: 768px) {
    .kn-search-box {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 400px;
        max-width: 90vw;
        margin-top: 0;
    }

    .kn-search-box::before,
    .kn-search-box::after {
        display: none;
    }
}

/* Modal Container */
.kn-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Content */
.kn-modal-content {
    background: #faf9f6;
    margin: 0;
    padding: 0;
    width: 90%;
    max-width: 800px;
    min-height: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

/* Modal Header */
.kn-modal-exact-header {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
    color: white;
    padding: 20px 30px;
    text-align: center;
    position: relative;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #0f5132;
}

.kn-modal-exact-header h3 {
    margin: 0;
    font-family: 'Lato-local', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

/* Modal Close Button */
.kn-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    background: none;
    border: none;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.kn-modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #000;
}

/* Modal Body */
.kn-modal-exact-body {
    padding: 0;
}

.kn-modal-exact-columns {
    display: flex;
    min-height: 400px;
}

/* Left Column - ID Austria */
.kn-modal-exact-id {
    flex: 1;
    padding: 40px 30px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.kn-modal-exact-id-title {
    font-family: 'Lato-local', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* Divider */
.kn-modal-exact-divider {
    width: 1px;
    background: #e0e0e0;
    margin: 0;
}

/* Right Column - Login Form */
.kn-modal-exact-login {
    flex: 1;
    padding: 40px 30px;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.kn-modal-exact-login-title {
    font-family: 'Lato-local', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* ID Austria sample image and text */
.kn-id-sample-image {
    width: 150px;
    height: auto;
    margin-bottom: 14px;
}

.kn-id-description {
    font-family: 'Lato-local', sans-serif;
    font-size: 14px;
    color: #3b3f48;
    margin: 0 0 16px 0;
    text-align: left;
}

/* Form Styles */
.kn-exact-login-form {
    width: 100%;
}

.kn-exact-form-group {
    margin-bottom: 20px;
}

.kn-exact-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.kn-exact-label-row label {
    font-family: 'Lato-local', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.kn-forgot-link {
    font-family: 'Lato-local', sans-serif;
    font-size: 12px;
    color: #1f2043 !important;
    text-decoration: none;
}

.kn-forgot-link:hover {
    text-decoration: underline;
}

.kn-forgot-link-sliding {
    color: #1f2043 !important;
}

.kn-forgot-link-sliding span {
    color: #1f2043 !important;
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    line-height: 30px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    font-size: 13px;
    text-decoration: underline !important;
}

.kn-forgot-link-sliding span:first-child {
    color: #1f2043 !important;
}

/* Input Styles */
.kn-exact-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Lato-local', sans-serif;
    font-size: 16px;
    background: white;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.kn-exact-input:focus {
    outline: none;
    border-color: #0f5132;
    box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.1);
}

.kn-exact-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Password Input Row */
.kn-exact-password-row {
    position: relative;
}

.kn-exact-password-input {
    padding-right: 50px;
}

.kn-exact-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kn-exact-password-toggle img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.kn-exact-password-toggle:hover img {
    opacity: 1;
}

/* Button Styles */
.kn-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Lato-local', sans-serif;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.kn-modern-login-btn {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    margin-top: 10px;
}

.kn-modern-login-btn:hover {
    background: linear-gradient(135deg, #0a3d25 0%, #146c43 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 81, 50, 0.3);
}

/* ID Austria Buttons */
.kn-id-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #ffffff !important;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Lato-local', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    width: 100%;
    cursor: pointer;
}

.kn-id-btn * {
    color: #ffffff !important;
}

.kn-id-btn:hover {
    border-color: #0f5132;
    background-color: #f8f9fa;
    text-decoration: none;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kn-id-btn:hover * {
    color: #ffffff !important;
}

.kn-id-btn-primary {
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
    color: #ffffff !important;
    border-color: #0f5132;
}

.kn-id-btn-primary * {
    color: #ffffff !important;
}

.kn-id-btn-primary:hover {
    background: linear-gradient(135deg, #0a3d25 0%, #146c43 100%);
    color: #ffffff !important;
    border-color: #0a3d25;
}

.kn-id-btn-primary:hover * {
    color: #ffffff !important;
}

.kn-id-btn img {
    width: 30px;
}

/* Error Messages */
.kn-error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    border: 1px solid #f5c6cb;
}

/* Modal Footer */
.kn-modal-exact-footer {
    background: #f8f9fa;
    border-top: 1px solid #0f5132;
    padding: 30px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 0px 0px 25px 25px;
}

.kn-modal-exact-footer-title {
    color: #0f5132;
    font-family: 'Lato-local', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.kn-exact-register-btn {
    background: #faf9f6;
    color: #ffffff !important;
    border: 1px solid #0f5132;
    border-radius: 6px;
    padding: 12px 24px;
    font-family: 'Lato-local', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 140px;
}

.kn-exact-register-btn * {
    color: #ffffff !important;
}

.kn-exact-register-btn:hover {
    background: #0f5132;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 81, 50, 0.2);
}

.kn-exact-register-btn:hover * {
    color: #ffffff !important;
}

.container_errMsg h6 {
    color: red !important;
}



/****
/* update login stryle 
/****




/* ===== */
:root {
    --kn-dark: #1f2043;
    --kn-green: #2BB673;
    --kn-green-dark: #239461;
    --kn-line: #cfd4dc;
}

/* Modal container */
.kn-modal-content {
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
    width: 750px;
    max-width: 95vw;
    min-height: 460px;
    max-height: 90vh;
    margin: 0;
    overflow-y: auto;
}

/* Columns as 1fr | divider | 1fr */
.kn-modal-exact-columns {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 28px;
    padding: 28px 32px;
    min-height: 360px;
}

/* Titles above each column */
.kn-modal-exact-id-title,
.kn-modal-exact-login-title {
    font-weight: 700;
    color: var(--kn-dark);
    font-size: 18px;
    margin-bottom: 18px;
    text-align: center;
}

/* Vertical divider */
.kn-modal-exact-divider {
    width: 2px;
    background: #1f2043;
    opacity: 1;
    margin: 0;
}

/* Left column spacing */
.kn-modal-exact-id {
    padding: 0;
    background: transparent;
    align-items: center;
    text-align: center;
}

/* Right column (form) */
.kn-modal-exact-login {
    padding: 0;
    background: transparent;
    justify-content: flex-start;
}

/* Labels + forgot link under input */
.kn-exact-label-row {
    display: block;
    margin-bottom: 6px;
}

.kn-exact-label-row label {
    display: block;
    margin-bottom: 6px;
    color: var(--kn-dark);
    font-weight: 700;
    font-size: 13px;
}

.kn-forgot-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--kn-dark);
    text-decoration: underline;
}

/* Inputs: compact, clear borders */
.kn-exact-input {
    width: 100%;
    height: 38px;
    padding: 8px 12px;
    border: 1.5px solid var(--kn-dark);
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
}

.kn-exact-input:focus {
    border-color: var(--kn-dark);
    box-shadow: 0 0 0 3px rgba(31, 32, 67, .08);
}

/* Password eye inside the field */
.kn-exact-password-row {
    position: relative;
}

.kn-exact-password-input {
    padding-right: 44px;
}

.kn-exact-password-toggle {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Buttons: flat green, compact */
.kn-id-btn,
.kn-modern-login-btn {
    background: var(--kn-green);
    border: 1px solid var(--kn-green);
    color: #fff;
    border-radius: 6px;
    padding: 7px 18px;
    font-weight: 700;
    font-size: 14px;
    width: auto;
    min-width: 180px;
}

.kn-id-btn:hover,
.kn-modern-login-btn:hover {
    background: var(--kn-green-dark);
    border-color: var(--kn-green-dark);
    transform: none;
    box-shadow: none;
}

.kn-id-btn-primary {
    background: var(--kn-green);
    border-color: var(--kn-green);
}

.kn-id-btn-primary:hover {
    background: var(--kn-green-dark);
    border-color: var(--kn-green-dark);
}

/* Left column helper link (ID Austria info) */
.kn-modal-exact-id a.kn-info-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 14px;
    color: var(--kn-dark);
    text-decoration: underline;
}

/* Horizontal divider + register area */
.kn-modal-exact-footer {
    background: transparent;
    border-top: 2px solid #1f2043;
    margin: 8px 32px 0 32px;
    padding: 18px 0 26px;
    border-radius: 0 0 10px 10px;
    gap: 14px;
}

.kn-modal-exact-footer-title {
    color: var(--kn-dark);
    font-weight: 700;
    font-size: 16px;
}

.kn-exact-register-btn {
    background: var(--kn-green);
    color: #fff;
    border: 1px solid var(--kn-green);
    padding: 7px 20px;
    border-radius: 6px;
    font-weight: 700;
}

.kn-exact-register-btn:hover {
    background: var(--kn-green-dark);
    border-color: var(--kn-green-dark);
    box-shadow: none;
}

/* Header: keep minimal */
.kn-modal-exact-header {
    background: #fff;
    color: var(--kn-dark);
    border-bottom: 1px solid var(--kn-line);
    padding: 16px 24px;
}

.kn-modal-exact-header h3 {
    font-size: 18px;
    color: var(--kn-dark);
}

/* Responsive tweaks */
@media (max-width: 820px) {
    .kn-modal-exact-columns {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 20px;
    }

    .kn-modal-exact-divider {
        display: none;
    }

    .kn-id-btn,
    .kn-modern-login-btn {
        width: 100%;
    }
}



/* Login Modal Text Color */
.kn-modal-content,
.kn-modal-exact-body,
.kn-modal-exact-id,
.kn-modal-exact-login {
    color: #1f2043;
}

.kn-modal-exact-id-title,
.kn-modal-exact-login-title,
.kn-id-description,
.kn-exact-label-row label,
.kn-forgot-link,
.kn-modal-exact-footer-title,
.kn-modal-exact-id a.kn-info-link {
    color: #1f2043;
}

/* Inputs should also render text in the same color */
.kn-exact-input {
    color: #1f2043;
}

/* Preserve button text colors - force white to override Elementor defaults */
.kn-id-btn,
.kn-id-btn *,
.kn-id-btn-primary,
.kn-id-btn-primary *,
.kn-exact-register-btn,
.kn-exact-register-btn * {
    color: #ffffff !important;
}

/* Make forgot links closer to input fields */
.kn-exact-form-group .kn-forgot-link {
    display: block;
    margin-top: -15px;
    margin-bottom: 0;
}

/* Ensure all links have underlines with !important */
.kn-forgot-link,
.kn-modal-exact-id a.kn-info-link {
    text-decoration: underline !important;
}

/* Top Form Centering*/
#top form {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}



/* Active Users Counter */
.kn-active-users {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: #1f2043;
    font-family: 'Lato-local', sans-serif;
}

.kn-active-user-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: #1f2043;
    font-family: 'Lato-local', sans-serif;
}

.kn-active-user-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.kn-active-user-number {
    font-weight: 900;
    color: #1f2043 !important;
}

.kn-active-user-label {
    color: #1f2043;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .kn-modal-content {
        width: 95%;
        margin: 5% auto;
        max-width: none;
        max-height: 90vh;
        overflow-y: auto;
        min-height: auto;
        padding: 0;
    }

    .kn-modal-exact-columns {
        flex-direction: column;
        gap: 15px;
    }

    .kn-modal-exact-divider {
        width: 100%;
        height: 1px;
    }
    
    /* Make modal content scrollable on mobile */
    .kn-modal-exact-login {
        max-height: 70vh;
        overflow-y: auto;
        padding: 15px;
    }
    
    /* Reduce padding and margins for mobile */
    .kn-modal-exact-header {
        padding: 15px 20px;
    }
    
    .kn-modal-exact-footer {
        padding: 15px 20px;
    }
    
    /* Make form elements smaller on mobile */
    .kn-form-group {
        margin-bottom: 12px;
    }
    
    .kn-exact-input {
        height: 40px;
        font-size: 14px;
        padding: 0 15px;
    }
    
    .kn-btn {
        height: 40px;
        font-size: 14px;
        padding: 0 20px;
    }
}

/* Tablet screens (481px to 900px) */
@media (min-width: 481px) and (max-width: 900px) {
    /* Tablet dropdown positioning and styling - open to the left and keep inside screen */
    .bereich3 {
        width: 60% !important;
        max-width: 250px !important;
        min-width: 220px !important;
        left: 15px !important;
        right: auto !important;
        transform: none !important;
        top: 90px !important;
        position: fixed !important;
        z-index: 10000 !important;
        border-radius: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure dropdown is always positioned to the left on tablet regardless of other styles */
    .bereich3.show {
        left: 15px !important;
        right: auto !important;
        transform: none !important;
        position: fixed !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Override any inline styles that might be set by JavaScript */
    .bereich3[style*="left"] {
        left: 15px !important;
        transform: none !important;
    }
    
    /* Tablet arrow positioning - move to left side */
    .bereich3::before {
        left: 20px !important;
        right: auto !important;
    }
}


/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    .kn-modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .kn-modal-exact-login {
        max-height: 75vh;
        padding: 10px;
    }
    
    .kn-modal-exact-header {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .kn-modal-exact-footer {
        padding: 10px 15px;
    }
    
    .kn-form-group {
        margin-bottom: 10px;
    }
    
    .kn-exact-input {
        height: 38px;
        font-size: 13px;
        padding: 0 12px;
    }
    
    .kn-btn {
        height: 38px;
        font-size: 13px;
        padding: 0 15px;
    }
    
    /* Make sliding animation elements smaller */
    .kn-sliding-title {
        height: 25px;
        font-size: 14px;
        line-height: 25px;
    }
    
    .kn-forgot-link-sliding {
        height: 25px;
        line-height: 25px;
        font-size: 12px;
    }
    
    .kn-email-container-sliding input.kn-email-sliding {
        height: 38px;
        font-size: 13px;
        padding: 0 40px 0 12px;
    }
    
    /* Mobile dropdown positioning and styling - open to the left and keep inside screen */
    .bereich3 {
        width: 70% !important;
        max-width: 200px !important;
        min-width: 180px !important;
        left: 10px !important;
        right: auto !important;
        transform: none !important;
        top: 80px !important;
        position: fixed !important;
        z-index: 10000 !important;
        border-radius: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        margin: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure dropdown is always positioned to the left on mobile regardless of other styles */
    .bereich3.show {
        left: 10px !important;
        right: auto !important;
        transform: none !important;
        position: fixed !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Override any inline styles that might be set by JavaScript */
    .bereich3[style*="left"] {
        left: 10px !important;
        transform: none !important;
    }
    
    /* Mobile arrow positioning - move to left side */
    .bereich3::before {
        left: 20px !important;
        right: auto !important;
    }
}































/* ========================================
   BEREICH3 SUBMENU STYLES - User Dropdown
   ======================================== */

/* Dropdown arrow for username link */
.kn-username-dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Rotate arrow when dropdown is open */
.bereich3[style*="display: block"]~.kn-header-login .kn-username-dropdown-arrow,
.bereich3[style*="display: block"]~.kn-login-container .kn-username-dropdown-arrow {
    transform: rotate(180deg);
}

.bereich3 {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    border: 1px solid #1f2043;
    border-radius: 0;
    box-shadow: none;
    width: auto;
    min-width: 180px;
    max-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9999;
    display: none;
    flex-direction: column;
    gap: 0px;
    padding: 0;
}

.bereich3[style*="display: block"],
.bereich3.show {
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex !important;
}

.bereich3::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

/* User submenu container */
.bereich3 .user_submenu {
    padding: 15px 0px 15px 0px;
}

.bereich3 .user_submenu p,
.bereich3 .user_submenu a {
    color: #000000;
    padding: 6px 20px;
    display: block;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
}

.bereich3 .user_submenu p:hover,
.bereich3 .user_submenu a:hover {
    color: #27ad7a;
    background-color: transparent;
}

.bereich3 .user_submenu #btn_benutzerdaten_edit {
    font-weight: 400;
    border-bottom: none;
    margin-bottom: 0;
}

.bereich3 .user_submenu .hilfe-kontakt {
    cursor: pointer;
    font-weight: 400;
    border-bottom: none;
    margin-bottom: 0;
}

.bereich3 .user_submenu .btn_bk {
    background-color: transparent;
    color: #000000 !important;
    padding: 8px 20px !important;
    border-radius: 0;
    margin: 0;
    text-align: left;
    box-shadow: none;
    transition: color 0.3s ease;
    transform: none;
}

.bereich3 .user_submenu .btn_bk:hover {
    background-color: transparent;
    box-shadow: none;
    transform: none;
    color: #27ad7a !important;
}

.bereich3 .user_content #btn_abmelden {
    cursor: pointer;
    font-weight: 400;
    border-bottom: none;
    margin-bottom: 0;
    background-color: transparent;
    color: #000000;
    border: none;
    padding: 6px 20px;
    border-radius: 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    text-align: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.bereich3 .user_content #btn_abmelden:hover {
    background-color: transparent;
    box-shadow: none;
    transform: none;
    color: #e60000;
}


/* User content area */
.bereich3 .user_content {
    padding: 15px 15px;
    border-top: 1px solid #f0e0e0;
    text-align: center;
    box-sizing: border-box;
}

.kn-login-container {
    position: relative;
}

.kn-header-login {
    position: relative;
}

.kn-login-button-with-icons {
    position: relative;
}

.bereich3[style*="display: block"],
.bereich3.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* ========================================
   RESPONSIVE STYLES FOR BEREICH3
   ======================================== */

@media (max-width: 768px) {
    .bereich3 {
        min-width: 160px;
        max-width: 180px;
        right: -50px;
    }

    .bereich3::before {
        right: 70px;
    }
}

@media (max-width: 480px) {
    .bereich3 {
        min-width: 140px;
        max-width: 160px;
        right: -60px;
    }

    .bereich3::before {
        right: 80px;
    }

    .bereich3 .user_submenu p,
    .bereich3 .user_submenu a {
        padding: 6px 15px;
        font-size: 12px;
    }
}


/* Benutzerdaten Block Container */
.benutzerdaten-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

/* Benutzerdaten Edit Container */
.benutzerdaten_edit {
    background: white;
    margin: 2% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Labels inside benutzerdaten_edit popup */
.benutzerdaten_edit label {
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Radio buttons in benutzerdaten_edit popup - same style as registration */
.benutzerdaten_edit .radio-option input[type="radio"] {
    display: none !important;
}

.benutzerdaten_edit .radio-option {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    position: relative !important;
}

/* Title fields side by side in benutzerdaten_edit */
.benutzerdaten_edit .benutzerdaten_titel {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

.benutzerdaten_edit .benutzerdaten_titel label {
    margin-bottom: 8px !important;
}

.benutzerdaten_edit .benutzerdaten_titel .title-inputs {
    display: flex !important;
    gap: 10px !important;
    width: 100% !important;
}

.benutzerdaten_edit .benutzerdaten_titel input#titel,
.benutzerdaten_edit .benutzerdaten_titel input#titel_nach {
    flex: 1 !important;
    max-width: none !important;
    width: 100% !important;
}

.benutzerdaten_edit .radio-option p {
    color: #333 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    margin-left: 8px !important;
    margin: 0 !important;
}

/* Custom Radio Button - Same as Registration */
.benutzerdaten_edit .radio-option .custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #1f2043;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

/* Selected State */
.benutzerdaten_edit .radio-option input[type="radio"]:checked + .custom-radio {
    background: #0e6354;
    border-color: #0e6354;
}

/* Hover Effect */

.benutzerdaten_edit .radio-option input[type="radio"]:checked + .custom-radio:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #ffffff00 !important;
    border-radius: 50% !important;
}
.benutzerdaten_edit .radio-option:hover .custom-radio {
    border-color: #0e6354;
    transform: scale(1.1);
}

.benutzerdaten_edit .radio-option input[type="radio"]:checked + .custom-radio:hover {
    transform: scale(1.1);
}

/* Fix spacing for all form fields */
.benutzerdaten_anrede, .benutzerdaten_titel, .benutzerdaten_vorname, .benutzerdaten_familienname, .benutzerdaten_geburtsdatum, .benutzerdaten_email, .benutzerdaten_telefon, .benutzerdaten_strasse, .benutzerdaten_PLZ, .benutzerdaten_ort {
    margin-bottom: 0px !important;
}


/* Radio options container in benutzerdaten_edit */
.benutzerdaten_edit .radio-options {
    display: flex !important;
    gap: 20px !important;
    margin-top: 0px !important;
}

/* Close Button for Benutzerdaten Edit */
.benutzerdaten-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
}

.benutzerdaten-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #000;
}

/* ID Austria Block Container */
.id-austria-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    overflow-y: auto;
}

/* ID Austria Edit Container */
.id_austria_edit {
    background: white;
    margin: 2% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Close Button for ID Austria Edit */
.id-austria-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    background: none;
    border: none;
    color: #333;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    transition: all 0.3s ease;
}

.id-austria-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    color: #000;
}

/* Breadcrumb Styles */
.breadcrumbHome {
    color: #0f5132;
    text-decoration: none;
    cursor: pointer;
}

.breadcrumbHome:hover {
    text-decoration: underline;
}

.breadcrumbBenutzerdaten {
    color: #0f5132;
    text-decoration: none;
    cursor: pointer;
}

.breadcrumbBenutzerdaten:hover {
    text-decoration: underline;
}

/* Logo Blocks */
.logo_blocks {
    display: flex;
    gap: 5px;
    margin-bottom: 0px !important;
    justify-content: center;
}

.logo_block1,
.logo_block2,
.logo_block3 {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

/* Form Sections */
.benutzerdaten_name,
.benutzerdaten_pw {
    margin-bottom: 20px;
}

.benutzerdaten_name label,
.benutzerdaten_pw label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.benutzerdaten_name input,
.benutzerdaten_pw input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.benutzerdaten_pw input[type="password"] {
    padding-right: 5px;
}

.benutzerdaten_name input:disabled,
.benutzerdaten_pw input:disabled {
    background-color: #f5f5f5;
    color: #999;
}

.benutzerdaten_name .kn-button-wrapper,
.benutzerdaten_pw .kn-button-wrapper {
    margin-top: 15px;
}

/* Buttons */
.btnBenutzerdaten_edit {
    background: #0f5132;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.btnBenutzerdaten_edit:hover {
    background: #0a3d25;
}

/* KN Button Style */
.kn-button-wrapper {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
}

.kn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px 13px 28px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    
    /* Typography */
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 11px;
    text-transform: uppercase;
    
    /* Colors */
    color: #FFFFFF;
    background-color: #27AD7A;
    
    /* Border */
    border-radius: 6px;
}

.kn-button__text {
    /* Text wrapper - no specific styles */
}

.kn-button svg {
    fill: #FFFFFF;
}

.kn-button:hover {
    filter: brightness(0.92);
}

.kn-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(39, 173, 122, 0.25);
}

.kn-button:disabled {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

/* For shortcode buttons */
.kn-button-shortcode {
    /* Same as .kn-button */
}

.kn-button-loading {
    /* Applied when shortcode is executing */
    opacity: 0.7;
    pointer-events: none;
}

/* Contact Data Section */
.benutzerdaten_kontakt {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.benutzerdaten_kontakt_left_col_edit,
.benutzerdaten_kontakt_right_col_edit {
    flex: 1;
}

.benutzerdaten_anrede,
.benutzerdaten_titel,
.benutzerdaten_vorname,
.benutzerdaten_familienname,
.benutzerdaten_geburtsdatum,
.benutzerdaten_email,
.benutzerdaten_telefon,
.benutzerdaten_strasse,
.benutzerdaten_PLZ,
.benutzerdaten_ort {
    margin-bottom: 20px;
}

.benutzerdaten_anrede label,
.benutzerdaten_titel label,
.benutzerdaten_vorname label,
.benutzerdaten_familienname label,
.benutzerdaten_geburtsdatum label,
.benutzerdaten_email label,
.benutzerdaten_telefon label,
.benutzerdaten_strasse label,
.benutzerdaten_PLZ label,
.benutzerdaten_ort label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.benutzerdaten_anrede input[type="radio"],
.benutzerdaten_anrede p {
    display: inline-block;
    margin-right: 15px;
}

.benutzerdaten_titel input {
    width: calc(50% - 5px);
    margin-right: 10px;
}

.benutzerdaten_anrede input,
.benutzerdaten_titel input,
.benutzerdaten_vorname input,
.benutzerdaten_familienname input,
.benutzerdaten_geburtsdatum input,
.benutzerdaten_email input,
.benutzerdaten_telefon input,
.benutzerdaten_strasse input,
.benutzerdaten_PLZ input,
.benutzerdaten_ort input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.benutzerdaten_email input:read-only {
    background-color: #f5f5f5;
    color: #999;
}

.benutzerdaten_email label {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* horizontal radio buttons */
.benutzerdaten_anrede {
    display: flex;
    flex-direction: column;
}

.benutzerdaten_anrede .radio-group {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.benutzerdaten_anrede .radio-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.benutzerdaten_anrede .radio-option span {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.benutzerdaten_anrede input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.benutzerdaten_anrede p {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}



/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.tooltip .fas {
    color: #27AD7A;
    cursor: help;
}

.tooltiptext {
    visibility: hidden;
    width: 250px;
    background-color: #333;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 0;
    margin-left: 0;
    font-size: 12px;
    line-height: 1.4;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Professional Section */
.benutzerdaten_berufliches {
    margin-top: 30px;
    clear: both;
    padding-top: 20px;
}

.benutzerdaten_funktion {
    margin-bottom: 20px;
}

.benutzerdaten_funktion label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.benutzerdaten_funktion select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.benutzerdaten_zustaendigkeit {
    margin-top: 20px;
}

.benutzerdaten_zustaendigkeit label {
    display: block;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.benutzerdaten_zustaendigkeit_first_col,
.benutzerdaten_zustaendigkeit_second_col,
.benutzerdaten_zustaendigkeit_third_col {
    display: inline-block;
    vertical-align: top;
    width: 30%;
    margin-right: 3%;
}

.checkbox_user_edit {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.checkbox_user_edit input[type="checkbox"] {
    margin-right: 8px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: #27ad7a;
}

.checkbox_user_edit label {
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.3;
    color: #555;
    flex: 1;
}

/* Error Messages */
.error_msg {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 14px;
    border: 1px solid #f5c6cb;
    display: none;
}

.error_msg span {
    margin-right: 8px;
}

/* Success Messages */
.error_msg span[style*="color:green"] {
    color: green !important;
}

/* Benutzername Edit */
.benutzername_edit {
    background: white;
    margin: 2% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

/* Benutzerpasswort Edit */
.benutzerpasswort_edit {
    background: white;
    margin: 2% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.benutzerpasswort_edit .benutzerdaten_kontakt_left_col {
    width: 60%;
    float: left;
}

.benutzerpasswort_edit .benutzerdaten_kontakt_right_col {
    width: 35%;
    float: right;
}

/* Password Toggle */
.benutzerdaten_pw {
    position: relative;
}

.benutzerdaten_pw .toggle-password {
    position: absolute;
    right: 12px;
    top: 55px;
    cursor: pointer;
    color: #27AD7A;
    font-size: 16px;
    z-index: 10;
    transition: color 0.3s ease;
}

.benutzerdaten_pw .toggle-password:hover {
    color: #27ad7a;
}

/* Password Guidelines */
.richtlinien-infobox {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-top: 20px;
}

.richtlinien-infobox h5 {
    color: #333;
    margin-bottom: 15px;
}

.eine-zeile {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.eine-zeile span {
    margin-right: 10px;
    font-size: 16px;
}

.eine-zeile p {
    margin: 0;
    font-size: 14px;
}

/* Password Check Icons */
.altneu-pwcheck.fa-times-circle,
.laenge-pwcheck.fa-times-circle,
.kb-pwcheck.fa-times-circle,
.gb-pwcheck.fa-times-circle,
.ziffer-pwcheck.fa-times-circle {
    color: #dc3545;
}

.altneu-pwcheck.fa-check-circle,
.laenge-pwcheck.fa-check-circle,
.kb-pwcheck.fa-check-circle,
.gb-pwcheck.fa-check-circle,
.ziffer-pwcheck.fa-check-circle {
    color: #28a745;
}

/* Links */
.btnLink {
    background: #0f5132;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btnLink:hover {
    background: #0a3d25;
    color: white;
    text-decoration: none;
}

/* Verknüpfen button in user dropdown - ID Austria section */
#idaAdd_content .btnLink,
#idaAdd_content a.btnLink[href*="idaustria"] {
    background-color: #0e6354 !important;
    color: white !important;
}

#idaAdd_content .btnLink:hover,
#idaAdd_content a.btnLink[href*="idaustria"]:hover {
    background-color: #0b5448 !important;
    color: white !important;
}

/* Neues Passwort anfordern button - ensure white text */
.benutzerdaten_pw .btnLink {
    color: white !important;
}

.benutzerdaten_pw .btnLink:hover {
    color: white !important;
}

/* Divider Lines */
.hr-line_full {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

.hr-line_benutzerdaten_edit {
    border: none;
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

/* Message Box */
.msgDivbox {
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .benutzerdaten_kontakt {
        flex-direction: column;
        gap: 20px;
    }

    .benutzerdaten_zustaendigkeit_first_col,
    .benutzerdaten_zustaendigkeit_second_col,
    .benutzerdaten_zustaendigkeit_third_col {
        width: 100%;
        margin-right: 0;
    }

    .benutzerpasswort_edit .benutzerdaten_kontakt_left_col,
    .benutzerpasswort_edit .benutzerdaten_kontakt_right_col {
        width: 100%;
        float: none;
    }

    .benutzerdaten_edit,
    .benutzername_edit,
    .benutzerpasswort_edit {
        margin: 5% auto;
        width: 95%;
        padding: 20px;
    }
}





















/* Registrieren Styles
/*######################################################*/
e .register_light_user {
    display: block;
    margin: 0px 50px;
    margin-right: 0px !important;
    padding-right: 45px;
}

.benutzerdaten_kontakt_left_col_fullw {
    display: block;
    float: left;
    width: 100%;
}

.register_light_user input {
    max-width: 340px;
    margin-bottom: 5px !important;
    display: inline-block !important;
    border-color: #8f8f8f !important;
    background-color: #f3f3f3 !important;
    color: #121212 !important;
}

.register_light_user input[type="radio"] {
    margin-top: -1px;
    vertical-align: middle;
}

.register_light_user p {
    display: inline-block;
}

.register_light_user label {
    display: inline-block;
    width: 190px;
    /*min-width: 225px;*/
    font-size: 1.1em !important;
    font-weight: normal !important;
    text-align: left;
}

.page-id-2061 .register_light_user label {
    min-width: 150px;
}

.benutzerdaten_kontakt_right_col_fullw {
    display: flex;
    margin-top: 70px;
    text-align: left;
    position: relative;
    width: 50%;
    float: right;
}

.benutzerdaten_anrede {
    height: 34px;
}





/* Fix for select dropdown labels - force label above select */
.group select + label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 8px !important;
    display: block !important;
    pointer-events: auto !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

/* Override focus/valid states for select labels */
.group select:focus + label,
.group select:valid + label {
    position: static !important;
    top: auto !important;
    font-size: 16px !important;
    color: #666 !important;
    transform: none !important;
}

/* Ensure select dropdown has proper spacing */
.group select {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Make sure the group container handles the label properly */
.group:has(select) label {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    font-size: 16px !important;
    color: #666 !important;
    margin-bottom: 8px !important;
    display: block !important;
    pointer-events: auto !important;
    margin-top: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}



/* Password toggle icons for registration form */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
    font-size: 16px;
    z-index: 10;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #27ad7a;
}

/* Ensure password fields have enough padding for the toggle icon */
.group input[type="password"] {
    padding-right: 40px !important;
}



/*Richtlinie info-box*/
.richtlinien-infobox {
    display: block;
    top: 125px;
    left: 715px;
}

.richtlinien-infobox b {
    color: black;
}

.benutzerdaten_Gemeinde select {
    max-width: 340px;
    margin-bottom: 5px !important;
    display: inline-block !important;
    border-color: #8f8f8f !important;
    background-color: #f3f3f3 !important;
    color: #121212 !important;

}



@media screen and (max-width: 1247px) {
    .responsive .benutzerdaten_kontakt_right_col_fullw {
        margin-top: 282px;
        width: 60%;
    }
}

@media screen and (max-width: 1098px) {
    .responsive .benutzerdaten_kontakt_right_col_fullw {
        margin-top: 20px;
        width: 40%;
    }
}

@media screen and (max-width: 650px) {
    .responsive .benutzerdaten_kontakt_right_col_fullw {
        margin-top: 0px;
        width: 100%;
        display: flex;
    }

    .responsive .benutzerdaten_anrede {
        height: 34px;
        display: inline-block;
    }
}

@media screen and (max-width: 500px) {

    /*inline-block auf block bei lable und inputfeld*/
    .responsive .register_light_user input {
        display: block;
        max-width: calc(100% - 20px);
    }

    .responsive .register_light_user label {
        display: block;
    }

    .responsive .register_light_user {
        margin: 0px;
    }

    .responsive .richtlinien-infobox>h5 {
        margin-top: 0px;
    }
}

/* Registration Form Container - Single Column Full Width */
.register_light_user {
    display: block;
    width: 1020px;
    max-width: 1020px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Lato-local', sans-serif;
    box-sizing: border-box;
    position: relative;
    clear: both;
    overflow: visible;
    z-index: 1;
    float: none;
    text-align: left;
}

/* Left Column - Now takes full width */
.register_light_user .left-column {
    width: 100%;
    max-width: 100%;
}

/* Remove right column styles since it no longer exists */
/* .register_light_user .right-column {
    display: none;
} */

/* Responsive Design */
@media (max-width: 1080px) {
    .register_light_user {
        width: 95%;
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .register_light_user {
        padding: 20px;
        width: 95%;
        max-width: 95%;
    }
}

/* Force proper layout - use this if the above doesn't work */
.register_light_user {
    display: flex !important;
    gap: 40px !important;
    width: 1020px !important;
    max-width: 1020px !important;
    margin: 0 auto !important;
    padding: 30px !important;
    font-family: 'Lato-local', sans-serif;
    box-sizing: border-box !important;
    position: relative !important;
    clear: both !important;
    overflow: visible !important;
    z-index: 1 !important;
    float: none !important;
    text-align: left !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* Fix parent container layout */
.benutzerdaten_kontakt_left_col_fullw {
    position: relative;
    clear: both;
    overflow: visible;
    margin-bottom: 50px;
    /* Add space before footer */
}

/* Ensure the form widget container is properly positioned */
.widget_light_user_register {
    position: relative;
    clear: both;
    margin-bottom: 50px;
}

/* Password Guidelines Container - Now under password fields */
.password-guidelines-container {
    margin-top: 20px;
    margin-bottom: 20px;
    display: none;
    /* Hidden by default */
}

.password-guidelines-container.show {
    display: block;
}

.password-guidelines-container .background_pw_info {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
    animation: fadeIn 0.3s ease-in;
}

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

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

.password-guidelines-container .richtlinien-infobox h5 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1AB684;
}

/* Ensure proper spacing between password fields */
.benutzerdaten_pw {
    margin-bottom: 20px;
}

.benutzerdaten_pw:last-of-type {
    margin-bottom: 0;
    /* Remove bottom margin from last password field */
}

/* Input Fields with Strong Focus Shadow */
.register_light_user input[type="text"]:focus,
.register_light_user input[type="email"]:focus,
.register_light_user input[type="password"]:focus,
.register_light_user select:focus {
    outline: none;
    border-color: #27ad7a;
    border-width: 2px;
    box-shadow: 0 0 0 6px rgba(39, 173, 122, 0.3), 0 4px 12px rgba(39, 173, 122, 0.2);
    transition: all 0.3s ease;
}

/* Hover effect */
.register_light_user input[type="text"]:hover,
.register_light_user input[type="email"]:hover,
.register_light_user input[type="password"]:hover,
.register_light_user select:hover {
    border-color: #27ad7a;
    transition: border-color 0.3s ease;
}

/* Material Design Input Styles - Override all existing styles */
.register_light_user {
    width: 1020px;
    max-width: 1020px;
    margin: 0 auto;
    padding: 30px;
    font-family: 'Lato-local', sans-serif;
    box-sizing: border-box;
    position: relative;
    clear: both;
    overflow: visible;
    z-index: 1;
    float: none;
    text-align: left;
}

/* Form Header */
.register_light_user form h1 {
    font-size: 2.5em;
    font-weight: 300;
    text-align: center;
    color: #27ad7a;
    margin-bottom: 10px;
}

.register_light_user form h5 {
    text-align: center;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.register_light_user form hr.sep {
    background: #27ad7a;
    box-shadow: none;
    border: none;
    height: 2px;
    width: 25%;
    margin: 0px auto 45px auto;
}

/* Input Groups - Full Width */
.group {
    position: relative;
    margin: 35px 0;
    width: 100%;
}

/* Input Fields - Full Width */
.group input,
.group select {
    background: none !important;
    color: #333 !important;
    font-size: 16px !important;
    padding: 10px 10px 10px 5px !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid #ccc !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    height: auto !important;
    line-height: normal !important;
    box-sizing: border-box !important;
}

.group input:focus,
.group select:focus {
    outline: none !important;
    border-bottom-color: #27ad7a !important;
    box-shadow: none !important;
}

.group input:focus~label,
.group input:valid~label,
.group select:focus~label,
.group select:valid~label {
    top: -20px !important;
    font-size: 12px !important;
    color: #27ad7a !important;
}

.group input:focus~.bar:before,
.group select:focus~.bar:before {
    width: 100% !important;
}

/* Labels */
.group label {
    color: #666 !important;
    font-size: 16px !important;
    font-weight: normal !important;
    position: absolute !important;
    pointer-events: none !important;
    left: 5px !important;
    top: 10px !important;
    transition: 0.3s ease all !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    display: block !important;
}

/* Bar Animation - Full Width */
.group .bar {
    position: relative;
    display: block;
    width: 100%;
}

.group .bar:before {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #27ad7a;
    transition: 0.3s ease all;
    left: 0%;
}

/* Checkbox Styling - Same as Anrede Radio Style */
.checkbox-group {
    margin: 20px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #333 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.checkbox-label input[type="checkbox"] {
    display: none !important;
    /* Hide the default checkbox */
}

.checkbox-label .checkbox-text {
    margin-left: 8px !important;
    flex: 1 !important;
}

/* Custom Checkbox - Same as Radio Button Style */
.checkbox-label .custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #1f2043;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    flex-shrink: 0;
}

/* Selected State - Filled Square */
.checkbox-label input[type="checkbox"]:checked+.custom-checkbox {
    background: #0e6354;
    border-color: #0e6354;
}

/* Hover Effect */
.checkbox-label:hover .custom-checkbox {
    border-color: #0e6354;
    transform: scale(1.1);
}

.checkbox-label input[type="checkbox"]:checked+.custom-checkbox:hover {
    transform: scale(1.1);
}

.checkbox-label a {
    color: #27ad7a !important;
    text-decoration: none !important;
}

.checkbox-label a:hover {
    text-decoration: underline !important;
}

/* Override any existing benutzerdaten classes that might be constraining width */
.benutzerdaten_checkbox {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: block !important;
    margin: 20px 0 !important;
}

.benutzerdaten_checkbox label {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Ensure the form container allows full width */
.register_light_user .left-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

/* Override any inline styles */
.checkbox-label[style*="width"],
.benutzerdaten_checkbox[style*="width"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

/* Submit Button - Override existing button styles */
.btn-box {
    text-align: center;
    margin: 40px 0;
}

.btn {
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 3px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    margin: 0 !important;
    display: inline-block !important;
    line-height: normal !important;
}

.btn:hover {
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.18), 0 5px 5px rgba(0, 0, 0, 0.12) !important;
}

.btn-submit {
    background: #27ad7a !important;
    color: white !important;
}

.btn-submit:hover {
    background: #1f8f63 !important;
}

.btn-submit:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

/* Password Guidelines */
.password-guidelines-container {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #27ad7a;
}

/* Responsive Design */
@media (max-width: 1080px) {
    .register_light_user {
        width: 95%;
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .register_light_user {
        padding: 20px;
        width: 95%;
        max-width: 95%;
    }

    .register_light_user form h1 {
        font-size: 2em;
    }
}

/* Anrede Section - Radio Buttons with Pagination Style */
.anrede-section {
    margin: 35px 0;
}

.anrede-label {
    color: #666 !important;
    font-size: 16px !important;
    font-weight: normal !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.radio-options {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.radio-option input[type="radio"] {
    display: none !important;
}

.radio-option .radio-text {
    color: #333 !important;
    font-size: 16px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    margin-left: 8px !important;
}

/* Custom Radio Button - Pagination Style */
.radio-option .custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #1f2043;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

/* Selected State */
.radio-option input[type="radio"]:checked+.custom-radio {
    background: #0e6354;
    border-color: #0e6354;
}

/* Hover Effect */
.radio-option:hover .custom-radio {
    border-color: #0e6354;
    transform: scale(1.1);
}

.radio-option input[type="radio"]:checked+.custom-radio:hover {
    transform: scale(1.1);
}

/* Validation Messages for Checkboxes */
.validation-message {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
    font-size: 14px;
    line-height: 1.4;
}

.validation-message .error-icon {
    margin-right: 8px;
    font-size: 16px;
}

.validation-message .error-text {
    color: #856404;
}

/* Show validation message when needed */
.validation-message.show {
    display: block;
}

/* Validation Messages for All Fields */
.validation-message {
    display: none;
    margin-top: 8px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
    font-size: 14px;
    line-height: 1.4;
}

.validation-message .error-icon {
    margin-right: 8px;
    font-size: 16px;
}

.validation-message .error-text {
    color: #856404;
}

/* Error field styling */
.error-field {
    border-bottom-color: #dc3545 !important;
}

/* Show validation message when needed */
.validation-message.show {
    display: block;
}








/* Ensure SweetAlert appears above all popups */
.swal2-container {
    z-index: 999999 !important;
}

.swal2-popup {
    z-index: 1000000 !important;
}

.swal2-backdrop {
    z-index: 999998 !important;
}

/* 1. Add space between Anrede and Titel fields */
.benutzerdaten_edit .benutzerdaten_anrede {
    margin-bottom: 20px !important;
}

/* 2. Reduce gap between E-Mail and Telefon */

/* 3. Move all fields under Kontaktdaten title - fix positioning */
.benutzerdaten_edit .benutzerdaten_kontakt {
    margin-top: 0 !important;
}

.benutzerdaten_edit .benutzerdaten_kontakt h3 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* 4. Fix radio button selection styling */
.benutzerdaten_edit .radio-option.selected .custom-radio {
    background-color: #0e6354 !important;
    border-color: #0e6354 !important;
}


.benutzerdaten_edit .radio-option.selected .custom-radio:after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #ffffff00 !important;
    border-radius: 50% !important;
}

/* Fix spacing for all form fields */
.benutzerdaten_anrede, .benutzerdaten_titel, .benutzerdaten_vorname, .benutzerdaten_familienname, .benutzerdaten_geburtsdatum, .benutzerdaten_email, .benutzerdaten_telefon, .benutzerdaten_strasse, .benutzerdaten_PLZ, .benutzerdaten_ort {
    margin-bottom: 0px !important;
}



.benutzerdaten_edit .benutzerdaten_email {
    margin-bottom: 20px !important;
}

/* Login Loading Animation - Animated Blocks */
.logo_blocks {
    display: flex;
    gap: 5px;
    margin-bottom: 0 !important;
    justify-content: center;
}

.logo_block1,
.logo_block2,
.logo_block3 {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Individual block colors */
.logo_block1 {
    background: #1AB684 !important;
    animation-name: wave1;
}

.logo_block2 {
    background: #00A76D !important;
    animation-name: wave2;
}

.logo_block3 {
    background: #0f5132 !important;
    animation-name: wave3;
}

/* Wave animation keyframes */
@keyframes wave1 {
    0%, 33.33% { opacity: 1; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes wave2 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 1; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes wave3 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 1; }
}

/* Login Loading Animation - Animated Blocks (only for login loading popup) */
.swal2-popup .logo_blocks {
    display: flex;
    gap: 5px;
    margin-bottom: 0 !important;
    justify-content: center;
}

.swal2-popup .logo_block1,
.swal2-popup .logo_block2,
.swal2-popup .logo_block3 {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Individual block colors (only for login loading popup) */
.swal2-popup .logo_block1 {
    background: #1AB684 !important;
    animation-name: wave1;
}

.swal2-popup .logo_block2 {
    background: #00A76D !important;
    animation-name: wave2;
}

.swal2-popup .logo_block3 {
    background: #0f5132 !important;
    animation-name: wave3;
}

/* Wave animation keyframes */
@keyframes wave1 {
    0%, 33.33% { opacity: 1; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes wave2 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 1; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes wave3 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 1; }
}

/* Login Loading Animation - Animated Blocks (ONLY for login loading popup) */
.swal2-popup h2 .logo_blocks {
    display: flex;
    gap: 5px;
    margin-bottom: 0 !important;
    justify-content: center;
}

.swal2-popup h2 .logo_block1,
.swal2-popup h2 .logo_block2,
.swal2-popup h2 .logo_block3 {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Individual block colors (ONLY for login loading popup) */
.swal2-popup h2 .logo_block1 {
    background: #1AB684 !important;
    animation-name: wave1;
}

.swal2-popup h2 .logo_block2 {
    background: #00A76D !important;
    animation-name: wave2;
}

.swal2-popup h2 .logo_block3 {
    background: #0f5132 !important;
    animation-name: wave3;
}

/* Wave animation keyframes */
@keyframes wave1 {
    0%, 33.33% { opacity: 1; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes wave2 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 1; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes wave3 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 1; }
}

/* Login Loading Animation - Animated Blocks (unique class names) */
.login_loading_blocks {
    display: flex;
    gap: 5px;
    margin-bottom: 0 !important;
    justify-content: center;
}

.login_loading_block1,
.login_loading_block2,
.login_loading_block3 {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Individual block colors for login loading */
.login_loading_block1 {
    background: #1AB684 !important;
    animation-name: login_wave1;
}

.login_loading_block2 {
    background: #00A76D !important;
    animation-name: login_wave2;
}

.login_loading_block3 {
    background: #0f5132 !important;
    animation-name: login_wave3;
}

/* Wave animation keyframes for login loading */
@keyframes login_wave1 {
    0%, 33.33% { opacity: 1; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes login_wave2 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 1; }
    66.67%, 100% { opacity: 0.3; }
}

@keyframes login_wave3 {
    0%, 33.33% { opacity: 0.3; }
    33.34%, 66.66% { opacity: 0.3; }
    66.67%, 100% { opacity: 1; }
}

/* FORCE STATIC LOGO BLOCKS IN BENUTZERDATEN POPUP - OVERRIDE ALL ANIMATIONS */
.benutzerdaten-block .logo_blocks {
    display: flex !important;
    gap: 5px !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
}

.benutzerdaten-block .logo_block1,
.benutzerdaten-block .logo_block2,
.benutzerdaten-block .logo_block3 {
    width: 20px !important;
    height: 20px !important;
    border-radius: 3px !important;
    animation: none !important;
    animation-duration: 0s !important;
    animation-timing-function: none !important;
    animation-iteration-count: 0 !important;
    opacity: 1 !important;
}

.benutzerdaten-block .logo_block1 {
    background: #1AB684 !important;
}

.benutzerdaten-block .logo_block2 {
    background: #00A76D !important;
}

.benutzerdaten-block .logo_block3 {
    background: #0f5132 !important;
}

/* CHANGE KONTAKTDATEN LAYOUT TO SINGLE COLUMN */
.benutzerdaten-block .benutzerdaten_kontakt {
    display: block !important;
    gap: 0 !important;
}

.benutzerdaten-block .benutzerdaten_kontakt_left_col_edit,
.benutzerdaten-block .benutzerdaten_kontakt_right_col_edit {
    flex: none !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

/* CHECKBOX STYLING TO MATCH RADIO BUTTONS */
#top input[type="checkbox"] {
    display: none !important;
}

/* Custom Checkbox - Same style as radio buttons */
#top input[type="checkbox"] + label:before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid #1f2043;
    border-radius: 4px;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    margin-right: 8px;
    vertical-align: middle;
}

/* Checkbox checked state - same as radio button */
#top input[type="checkbox"]:checked + label:before {
    background: #0e6354;
    border-color: #0e6354;
}

/* Checkbox checkmark - same style as radio button dot */
#top input[type="checkbox"]:checked + label:after {
    content: "✓" !important;
    position: absolute !important;
    top: 50% !important;
    left: 4px !important;
    transform: translateY(-50%) !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

/* Checkbox hover effect - same as radio button */
#top input[type="checkbox"] + label:hover:before {
    border-color: #0e6354;
    transform: scale(1.1);
}

#top input[type="checkbox"]:checked + label:hover:before {
    transform: scale(1.1);
}

/* Make checkbox labels clickable */
#top input[type="checkbox"] + label {
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

/* FORCE STATIC LOGO BLOCKS IN ID AUSTRIA POPUP - OVERRIDE ALL ANIMATIONS */
.id-austria-block .logo_blocks {
    display: flex !important;
    gap: 5px !important;
    margin-bottom: 0 !important;
    justify-content: center !important;
}

.id-austria-block .logo_block1,
.id-austria-block .logo_block2,
.id-austria-block .logo_block3 {
    width: 20px !important;
    height: 20px !important;
    border-radius: 3px !important;
    animation: none !important;
    animation-duration: 0s !important;
    animation-timing-function: none !important;
    animation-iteration-count: 0 !important;
    opacity: 1 !important;
}

.id-austria-block .logo_block1 {
    background: #1AB684 !important;
}

.id-austria-block .logo_block2 {
    background: #00A76D !important;
}

.id-austria-block .logo_block3 {
    background: #0f5132 !important;
}







/* ========================================
   Hide reCAPTCHA badge
   ======================================== */

.grecaptcha-badge,
.rc-anchor,
.rc-anchor-invisible,
.rc-anchor-light,
.rc-anchor-invisible-hover,
.rc-anchor-normal-footer,
.rc-anchor-logo-large,
[class*="rc-anchor"],
div[id*="recaptcha"],
div[class*="rc-anchor"] {
    visibility: hidden !important;
    opacity: 0 !important;
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -9999 !important;
}

body .rc-anchor,
body .rc-anchor-invisible,
body .grecaptcha-badge {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}



/* ========================================
   SCROLLBAR STYLING 
   ======================================== */


/* Target the entire page */
html::-webkit-scrollbar {
    width: 8px;
  }
  
  html::-webkit-scrollbar-track {
    background: #27ad7a;
  }
  
  html::-webkit-scrollbar-thumb {
    background-color: #0e6354;
    border-radius: 6px;
  }
  
  html::-webkit-scrollbar-thumb:hover {
    background-color: #0b5145;
  }
  
  /* Firefox support */
  html {
    scrollbar-color: #27ad7a #0e6354;
    scrollbar-width: thin;
  }



/* ========================================
   PASSWORT ABGELAUFEN 
   ======================================== */

/* ========================================
   SEARCH RESULTS POST LAYOUT
   ======================================== */

/* Search page font and layout */
body.search .site-main {
    font-family: 'Lato-local', sans-serif;
    position: relative;
    z-index: auto;
}

body.search .page-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: auto;
}

body.search .page-title {
    font-family: 'Lato-local', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: normal;
    color: #555;
}

/* Scope all post styles to search pages only */
body.search .search-results-container {
    position: relative;
    z-index: auto;
}

body.search .search-results-container .post {
    display: flex;
    font-family: sans-serif;
    padding: 20px 0 40px;
    margin: 20px auto;
    width: 1020px;
    max-width: 100%;
    border-bottom: 3px solid #eee;
    box-sizing: border-box;
    position: relative;
    z-index: auto;
}

body.search .search-results-container .post__date {
    flex: 0 0 auto;
    align-self: flex-start;
    padding: 0 30px 0 0;
    font-weight: bold;
    color: #555;
}

body.search .search-results-container .post__date__month {
    font-size: 16px;
    padding-bottom: 16px;
    position: relative;
}

body.search .search-results-container .post__date__month:after {
    content: '';
    position: absolute;
    inset: auto auto 5px 0;
    width: 40%;
    height: 2px;
    background: #ddd;
}

body.search .search-results-container .post__date__day {
    font-size: 35px;
}

body.search .search-results-container .post__img {
    flex: 0 0 250px;
    position: relative;
    z-index: auto;
}

body.search .search-results-container .post__img:hover img {
    transform: translate3d(0, -3px, 0);
}

body.search .search-results-container .post__img:hover img.img-shadow {
    transform: translate3d(0, 8px, 0) scale(0.94);
}

body.search .search-results-container .post__img:before {
    content: ' ';
    display: block;
    padding-top: 63.69%; /* 200px / 314px * 100% */
}

body.search .search-results-container .post__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

body.search .search-results-container .post__img img.img-shadow {
    transform: translate3d(0, 8px, 0) scale(0.94);
    filter: blur(20px);
    opacity: 0.6;
    z-index: -1;
}

body.search .search-results-container .post__img img:not(.img-shadow) {
    z-index: 0;
}

body.search .search-results-container .post__detail {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0 20px 0 40px;
    color: #555;
    overflow: hidden;
}

body.search .search-results-container .post__title {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: 0.3s;
    color: #1f2043;
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.search .search-results-container .post__title:hover {
    color: #27ad7a;
}

body.search .search-results-container .post__summary {
    flex: 1 1 auto;
    font-size: 12px;
    line-height: 1.7;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}

body.search .search-results-container .post__more {
    flex: 0 0 auto;
    display: inline-block;
    padding-top: 10px;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    border-top: 3px solid #eee;
}

body.search .search-results-container .post__more:hover {
    color: #111;
}

body.search .search-results-container .post__more:hover i {
    transform: translate(5px, 0);
}

body.search .search-results-container .post__more i {
    margin-left: 30px;
    color: #999;
    transition: 0.3s;
}

/* Responsive adjustments for search results */
@media (max-width: 768px) {
    body.search .search-results-container .post {
        flex-direction: column;
        width: 100%;
        padding: 20px 15px 40px;
    }

    body.search .search-results-container .post__date {
        padding: 0 0 15px 0;
    }

    body.search .search-results-container .post__img {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }

    body.search .search-results-container .post__img:before {
        padding-top: 63.69%;
    }

    body.search .search-results-container .post__detail {
        padding: 0;
    }
}

/* ========================================
   SEARCH RESULTS PAGINATION
   ======================================== */

/* Only apply pagination styles on search pages */
body.search .kn-pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 8px;
    flex-wrap: wrap;
}

body.search .kn-pagination-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    color: #1f2043;
    border: 2px solid #1f2043;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
}

body.search .kn-pagination-btn.kn-active {
    background: #196355;
    color: #f6f4f2;
    border-color: #196355;
}

body.search .kn-pagination-btn.kn-icon-btn {
    border: none;
}

body.search .kn-pagination-btn.kn-disabled,
body.search .kn-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

body.search .kn-pagination-btn img {
    max-width: 19px;
    max-height: 19px;
    display: block;
}

body.search .kn-pagination-ellipsis {
    color: #1f2043;
    font-size: 14px;
    font-weight: 600;
}

/* ========================================
   SEARCH NO RESULTS ANIMATION
   ======================================== */

body.search #search-no-results-container * {
    user-select: none;
    cursor: default;
}

body.search #search-no-results-container {
    position: relative;
    min-height: calc(70vh - 300px);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 0px 80px 0px;
}

body.search #search-no-results-container h1 {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 50px 0;
    margin: 0 50px;
    font-size: 30px;
    line-height: 30px;
    font-weight: 200;
    font-family: helvetica neue, helvetica, arial, sans-serif;
}

body.search #search-no-results-container p {
    text-align: center;
    position: relative;
    z-index: 1;
    font-size: 14px;
    font-weight: 200;
    margin: 0 50px;
    color: #53646e;
    font-family: helvetica neue, helvetica, arial, sans-serif;
}

body.search #search-no-results-container p em {
    color: #42a6df;
}

body.search #search-no-results-container .search-form-wrapper {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    padding: 20px 0;
}

body.search #search-no-results-container .search-form-wrapper > * {
    margin-top: 0;
    margin-bottom: 0;
}

body.search #search-no-results-container .search-form-wrapper form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

body.search #search-no-results-container .kn-ajax-search-wrapper .input-holder .search-input {
    color: #000000 !important;
}

body.search #search-no-results-container .dot {
    height: 2px;
    width: 2px;
    border-radius: 100%;
    position: absolute;
    z-index: 0;
    animation: sploosh 3s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

@keyframes sploosh {
    0% {
        box-shadow: 0 0 0 0px rgba(39, 173, 122, 0.7);
        background: rgba(39, 173, 122, 0.7);
    }
    100% {
        box-shadow: 0 0 0 300px rgba(39, 173, 122, 0);
        background: rgba(39, 173, 122, 0);
    }
}

/* Custom color for SweetAlert success icon - only checkmark and circle, not animation */
.swal2-icon.swal2-success {
    border-color: #27ad7a !important;
}

.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: #27ad7a !important;
}

/* Hide the fix element and all animation elements that create extra lines */
.swal2-icon.swal2-success .swal2-success-fix {
    display: none !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    display: none !important;
}

.swal2-icon.swal2-success [class^=swal2-success-circular-line] {
    display: none !important;
}

/* Custom color for SweetAlert info icon - same style as success icon */
.swal2-icon.swal2-info {
    border-color: #27ad7a !important;
}

.swal2-icon.swal2-info .swal2-info-icon {
    color: #27ad7a !important;
}

.swal2-icon.swal2-info::before {
    background-color: #27ad7a !important;
}

.swal2-icon.swal2-info::after {
    background-color: #27ad7a !important;
}

/* Hide any animation elements for info icon */
.swal2-icon.swal2-info .swal2-info-ring {
    display: none !important;
}

.swal2-icon.swal2-info [class^=swal2-info-circular-line] {
    display: none !important;
}

/* Custom color for SweetAlert confirm button */
.swal2-popup .swal2-styled.swal2-confirm {
    background-color: #0f6354 !important;
}


/* Woocommerce*/

/*-> Warenkorb page*/
#shipping_method .amount, .woocommerce-shipping-totals .e-checkout-message{
    font-weight: normal !important;
}

.kn-order-variation-name{
    font-weight: bold;
}





.wpadverts-flash.wpa-layout-big .wpa-flash-link-wrap {
    justify-content: center;
    display: none !important;
}


.wpa-flash-link-wrap {
    display: none !important;
}