:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --button-bg: rgba(255, 255, 255, 0.1);
    --button-hover: rgba(255, 255, 255, 0.2);
    --capsule-bg: #1a1a1a;
    --top-capsule-bg: #2a2a2a;
    --capsule-shadow: rgba(0, 0, 0, 0.2);
    --button-border: rgba(255, 255, 255, 0.2);
    --button-color: white;
    --input-color: #333;
    --placeholder-color: #999;
    
    /* Action Button Properties - Dark Mode */
    --aap-button-active: rgba(57,57,60,0.742);
    --aap-button-hover: rgba(73,73,76,0.726);
    --aap-background-color: rgba(66,66,69,0.7);
    --aap-accent-color: rgb(0,113,227);
}

:root[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #000000;
    --button-bg: rgba(0, 0, 0, 0.1);
    --button-hover: rgba(0, 0, 0, 0.2);
    --capsule-bg: #f6f6f7;
    --top-capsule-bg: #f6f6f7;
    --capsule-shadow: rgba(0, 0, 0, 0.1);
    --button-border: rgba(0, 0, 0, 0.2);
    --button-color: black;
    --input-color: #666;
    --placeholder-color: #777;
    
    /* Action Button Properties - Light Mode */
    --aap-button-active: rgba(193,193,198,0.654);
    --aap-button-hover: rgba(223,223,227,0.698);
    --aap-background-color: rgba(232,232,237,0.7);
    --aap-accent-color: rgb(0,113,227);
}


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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.overlay::before {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 50%;
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, 
        rgba(0, 162, 255, 0.8) 0%,
        rgba(217, 64, 255, 0.7) 20%,
        rgba(255, 34, 84, 0.6) 40%,
        rgba(255, 145, 0, 0.4) 60%,
        rgba(255, 145, 0, 0) 100%
    );
    transform: translate(-50%, 50%) scale(0);
    border-radius: 50%;
    opacity: 1;
    filter: blur(5px);
}

.overlay.active::before {
    animation: circleExpand 1.5s ease-out forwards;
}

@keyframes circleExpand {
    0% {
        transform: translate(-50%, 50%) scale(0);
        opacity: 0.9;
        filter: blur(5px);
    }
    100% {
        transform: translate(-50%, 50%) scale(200);
        opacity: 0;
        filter: blur(15px);
    }
}

.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--button-bg);
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.theme-switch:hover {
    background: var(--button-hover);
}

.search-button {
    padding: 12px 24px;
    font-size: 16px;
    background: var(--button-bg);
    border: 1px solid var(--button-border);
    color: var(--text-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.search-button:hover {
    background: var(--button-hover);
    transform: translateX(-50%) scale(1.05);
}

.capsule-container {
    width: 600px;
    height: 68px;
    position: fixed;
    bottom: -68px;
    left: 50%;
    transform: translateX(-50%);
    animation: shadowPulse 6s ease-in-out infinite;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.capsule-container.active {
    opacity: 1;
    bottom: 92px;
    transform: translateX(-50%);
    pointer-events: all;
}

.search-button.hidden {
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
    pointer-events: none;
}

.overlay.active {
    animation: glowEffect 0.8s ease-out forwards;
}

.capsule-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(0, 162, 255, 0.5) 15%,
        rgba(0, 162, 255, 0.9) 25%,
        rgba(217, 64, 255, 0.9) 35%,
        rgba(255, 34, 84, 0.9) 45%,
        rgba(255, 145, 0, 0.9) 55%,
        rgba(255, 145, 0, 0.5) 65%,
        rgba(255, 255, 255, 0) 80%
    );
    border-radius: 34px;
    background-size: 200% 100%;
    animation: waveShift 4s ease-in-out infinite alternate;
    z-index: 0;
}

.capsule {
    width: 100%;
    height: 100%;
    background-color: var(--capsule-bg);
    border-radius: 34px;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 0 10px var(--capsule-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* Firefox-spezifische Fixes */
@-moz-document url-prefix() {
    .capsule {
        backdrop-filter: none;
        background-color: var(--capsule-bg);
        opacity: 0.95;
    }
    
    .capsule-container {
        /* Bessere Positionierung für Firefox */
        display: block;
        position: fixed;
        z-index: 10;
    }
    
    .capsule-container.active {
        /* Stelle sicher, dass die Capsule in Firefox sichtbar ist */
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .capsule-container::before {
        opacity: 0.8;
        /* Verbesserter Gradient-Fallback für Firefox */
        background: linear-gradient(90deg, 
            transparent 0%,
            rgba(0, 162, 255, 0.3) 15%,
            rgba(0, 162, 255, 0.7) 25%,
            rgba(217, 64, 255, 0.7) 35%,
            rgba(255, 34, 84, 0.7) 45%,
            rgba(255, 145, 0, 0.7) 55%,
            rgba(255, 145, 0, 0.3) 65%,
            transparent 80%
        );
    }
    
    .top-capsule {
        backdrop-filter: none;
        background-color: var(--top-capsule-bg);
        opacity: 0.98;
    }
}

.capsule.dragover {
    border: 2px dashed var(--button-border);
    background-color: var(--button-hover);
}

input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 24px;
    color: var(--input-color);
    font-size: 16px;
    transition: color 0.3s ease;
}

input::placeholder {
    color: var(--placeholder-color);
}

.upload-content {
    width: 100%;
    text-align: center;
    color: var(--text-color);
    font-size: 16px;
    padding: 0 24px;
}

@keyframes waveShift {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: -100% 50%;
    }
}

@keyframes shadowPulse {
    0% {
        filter: drop-shadow(0 0 10px rgba(0, 162, 255, 0.9)) 
               drop-shadow(0 0 20px rgba(0, 162, 255, 0.5));
    }
    25% {
        filter: drop-shadow(0 0 10px rgba(217, 64, 255, 0.9)) 
               drop-shadow(0 0 20px rgba(217, 64, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(255, 34, 84, 0.9)) 
               drop-shadow(0 0 20px rgba(255, 34, 84, 0.5));
    }
    75% {
        filter: drop-shadow(0 0 10px rgba(255, 145, 0, 0.9)) 
               drop-shadow(0 0 20px rgba(255, 145, 0, 0.5));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(0, 162, 255, 0.9)) 
               drop-shadow(0 0 20px rgba(0, 162, 255, 0.5));
    }
}

@keyframes glowEffect {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.top-capsule.expanded .processing-content {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.analysis-content {
    text-align: left;
    line-height: 1.5;
    white-space: pre-wrap;
    font-size: 13px;
    color: var(--text-color);
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    overflow-y: auto;
    flex-grow: 1;
    max-height: calc(80vh - 150px);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.error-message {
    color: #ff3b30;
    text-align: center;
    padding: 20px;
}

.error-message h3 {
    margin-bottom: 10px;
}

.error-message button {
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background-color: var(--aap-accent-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.error-message button:hover {
    background-color: #0062cc;
}

/* Top Capsule Styles */
.top-capsule-container {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    width: 600px;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.top-capsule-container.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.top-capsule {
    background-color: var(--top-capsule-bg);
    border-radius: 34px;
    overflow: hidden;
    min-height: 68px;
    box-shadow: 0 4px 20px var(--capsule-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.top-capsule.expanded {
    min-height: 400px;
    max-height: 80vh;
    width: 100%;
}

.processing-content {
    padding: 20px;
    text-align: center;
    color: var(--text-color);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.top-capsule.expanded .processing-content {
    padding: 30px;
    text-align: left;
    overflow-y: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.processing-content h3 {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Analyse Content Formatierung */
.processing-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin: 12px 0 0 0;
    padding: 0;
    line-height: 1.2;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.processing-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin: 10px 0 0 0;
    padding: 0;
    line-height: 1.2;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.processing-content strong {
    font-weight: 600;
    color: var(--text-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.processing-content p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Bulletpoint Formatierung */
.processing-content .bullet-point {
    margin: 1px 0;
    padding-left: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.processing-content {
    font-size: 13px;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* Spezielle Formatierung für nummerierte Abschnitte */
.processing-content [class*="##"] {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px 0;
    color: var(--text-color);
}

/* Verbesserte Abstände für Listen */
.processing-content br + br {
    display: block;
    margin: 8px 0;
    content: "";
}

/* Ensure the error message is properly positioned */
.error-message {
    color: #ff3b30;
    text-align: center;
    padding: 20px;
    margin: auto;
}

.error-message h3 {
    margin-bottom: 10px;
    color: #ff3b30;
}

.error-message button {
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background-color: var(--aap-accent-color);
    color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.error-message button:hover {
    background-color: #0062cc;
}

/* Add scrollbar styling for analysis content */
.top-capsule.expanded .processing-content::-webkit-scrollbar {
    width: 8px;
}

.top-capsule.expanded .processing-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.top-capsule.expanded .processing-content::-webkit-scrollbar-thumb {
    background: var(--button-bg);
    border-radius: 4px;
}

.top-capsule.expanded .processing-content::-webkit-scrollbar-thumb:hover {
    background: var(--button-hover);
}

/* Action Buttons unter der Capsule */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 800px;
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.action-button {
    --size: 56px;
    --icon-size: 36px;
    --duration: .8s;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    gap: 1em;
    align-items: center;
    border: none;
    border-radius: 10em;
    padding: 0;
    isolation: isolate;
    background-color: transparent;
    font-size: 1em;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: background-color var(--aap-background-transition-duration);
    height: var(--size);
}

.action-button::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0 calc(50% - (var(--size)/2));
    border-radius: inherit;
    background: var(--aap-background-color);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: -1;
    transform: scale(0);
}

.action-button:hover::before {
    background: var(--aap-button-hover);
}

.action-button:active::before {
    background: var(--aap-button-active);
}

.action-button i {
    display: flex;
    background-color: var(--aap-accent-color);
    border-radius: 50%;
    padding: 0.125em;
    margin-inline-end: 0.25em;
    position: absolute;
    transform: scale(0);
    right: calc(50% - (var(--size)/2));
    width: var(--icon-size);
    height: var(--icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(var(--icon-size) * 0.5);
    color: rgb(245, 245, 247);
}

/* Styles für benutzerdefinierte SVG-Icons in Action Buttons */
.action-button i.action-icon-container {
    padding: 0.25em;
}

.action-custom-icon {
    width: 60%;
    height: 60%;
    filter: brightness(0) invert(1); /* Macht die Icons weiß */
    display: block;
    object-fit: contain;
}

.action-button:hover i {
    fill: rgb(255, 255, 255);
}

.action-button:hover .action-custom-icon {
    filter: brightness(0) invert(1); /* Bleibt weiß beim Hover */
}

/* Dark Mode Support für Action Button Icons */
:root[data-theme="dark"] .action-custom-icon {
    filter: brightness(0) invert(1); /* Weiß im Dark Mode */
}

:root[data-theme="dark"] .action-button:hover .action-custom-icon {
    filter: brightness(0) invert(1); /* Bleibt weiß im Dark Mode */
}

.action-button span {
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.25;
    padding-block: 0;
    height: var(--size);
    display: flex;
    align-items: center;
    margin-inline-start: 24px;
    margin-inline-end: 62px;
    transform: translateX(1em);
    opacity: 0;
    transition: transform calc(var(--duration)/1.5) -0.5s var(--ease), opacity calc(var(--duration)/1.5) -0.5s;
    font-size: 17px;
}

.action-button.active::before {
    animation: pill var(--duration) forwards var(--ease);
}

.action-button.active i {
    animation: icon var(--duration) forwards var(--ease);
}

.action-button.active span {
    transform: translateX(0);
    transition-delay: calc(var(--duration)/1.5);
    opacity: 1;
}

@keyframes pill {
    50% {
        transform: scale(1);
        inset: 0 calc(50% - (var(--size)/2));
    }
    100% {
        transform: scale(1);
        inset: 0;
    }
}

@keyframes icon {
    50% {
        transform: scale(1);
    }
    60% {
        right: calc(50% - (var(--size)/2));
    }
    100% {
        transform: scale(1);
        right: 10px;
    }
}

/* =================================
   MOBILE RESPONSIVENESS
   ================================= */

/* Tablet und kleinere Bildschirme */
@media screen and (max-width: 1024px) {
    .capsule-container {
        width: 500px;
    }
    
    .action-buttons {
        gap: 12px;
    }
    
    .action-button {
        width: 120px;
        height: 50px;
    }
    
    .action-button span {
        font-size: 13px;
    }
}

/* Mobile Geräte */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
        padding: 0 10px;
    }
    
    .capsule-container {
        width: calc(100vw - 40px);
        max-width: 400px;
        height: 60px;
        bottom: 80px;
    }
    
    .capsule-container.active {
        bottom: 120px;
    }
    
    .capsule {
        height: 60px;
        border-radius: 30px;
    }
    
    .upload-content {
        padding: 15px 20px;
    }
    
    .upload-content p {
        font-size: 14px;
    }
    
    .search-button {
        padding: 10px 20px;
        font-size: 14px;
        bottom: 30px;
    }
    
    /* Action Buttons Mobile Layout */
    .action-buttons {
        flex-direction: column;
        gap: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 40px);
        max-width: 300px;
        bottom: 200px;
    }
    
    .action-button {
        width: 100%;
        height: 44px;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .action-button i {
        font-size: 16px;
        margin-bottom: 0;
    }
    
    .action-button span {
        font-size: 14px;
        margin-top: 0;
    }
    
    /* Top Buttons - Standard Position */
    .top-buttons {
        top: 20px;
        right: 20px;
        flex-direction: column;
        gap: 10px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(0);
    }
    
    /* Settings Button Mobile Styling */
    .settings-button {
        width: 44px;
        height: 44px;
        border-radius: 22px;
        transition: all 0.3s ease;
        transform: scale(1);
    }
    
    .settings-button:hover {
        transform: scale(1.05);
    }
    
    .settings-button img {
        width: 20px;
        height: 20px;
        transition: all 0.3s ease;
    }
    
    /* Dynamische Positionierung bei Top-Capsule aktiv */
    .top-capsule-container.active ~ .top-buttons,
    .top-capsule-container.expanded ~ .top-buttons,
    body.analysis-active .top-buttons {
        top: auto;
        bottom: 80px;
        right: 20px;
        transform: translateY(0) scale(0.95);
        will-change: transform, opacity;
        animation: slideToBottomSmooth 0.8s ease-out forwards;
    }
    
    /* Optimierte Animation für Positionswechsel */
    @keyframes slideToBottomSmooth {
        0% {
            transform: translateY(-50px) scale(1);
            opacity: 0.7;
        }
        60% {
            transform: translateY(5px) scale(0.97);
            opacity: 0.9;
        }
        100% {
            transform: translateY(0) scale(0.95);
            opacity: 1;
        }
    }
}

/* Sehr kleine Mobile Geräte */
@media screen and (max-width: 480px) {
    .capsule-container {
        width: calc(100vw - 30px);
        max-width: 350px;
        height: 55px;
    }
    
    .capsule {
        height: 55px;
        border-radius: 27.5px;
    }
    
    .upload-content {
        padding: 12px 18px;
    }
    
    .upload-content p {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .action-buttons {
        width: calc(100vw - 30px);
        max-width: 280px;
        bottom: 180px;
    }
    
    .action-button {
        height: 42px;
        padding: 0 16px;
    }
    
    .action-button span {
        font-size: 13px;
    }
    
    .search-button {
        padding: 8px 16px;
        font-size: 13px;
        bottom: 25px;
    }
    
    /* Top Buttons für sehr kleine Geräte */
    .top-buttons {
        top: 15px;
        right: 15px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .settings-button {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .settings-button img {
        width: 18px;
        height: 18px;
        transition: all 0.3s ease;
    }
    
    /* Dynamische Positionierung bei Top-Capsule aktiv - kleine Geräte */
    .top-capsule-container.active ~ .top-buttons,
    .top-capsule-container.expanded ~ .top-buttons,
    body.analysis-active .top-buttons {
        top: auto;
        bottom: 70px;
        right: 15px;
        transform: translateY(0) scale(0.95);
        will-change: transform, opacity;
        animation: slideToBottomSmoothSmall 0.8s ease-out forwards;
    }
    
    /* Optimierte Animation für kleine Geräte */
    @keyframes slideToBottomSmoothSmall {
        0% {
            transform: translateY(-40px) scale(1);
            opacity: 0.7;
        }
        60% {
            transform: translateY(3px) scale(0.97);
            opacity: 0.9;
        }
        100% {
            transform: translateY(0) scale(0.95);
            opacity: 1;
        }
    }

    /* Sehr kleine Geräte - optimierte Icon-Größe */
    .action-custom-icon {
        width: 50% !important;
        height: 50% !important;
    }
}

/* Landscape Orientation für Phones */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .capsule-container {
        bottom: 60px;
    }
    
    .capsule-container.active {
        bottom: 80px;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: calc(100vw - 40px);
        max-width: none;
        bottom: 140px;
    }
    
    .action-button {
        width: calc(50% - 6px);
        min-width: 140px;
    }
    
    .search-button {
        bottom: 20px;
    }
    
    /* Top Buttons Landscape */
    .top-buttons {
        top: 15px;
        right: 15px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .settings-button {
        width: 40px;
        height: 40px;
        border-radius: 20px;
        transition: all 0.3s ease;
    }
    
    .settings-button img {
        width: 16px;
        height: 16px;
        transition: all 0.3s ease;
    }
    
    /* Dynamische Positionierung bei Top-Capsule aktiv - Landscape */
    .top-capsule-container.active ~ .top-buttons,
    .top-capsule-container.expanded ~ .top-buttons,
    body.analysis-active .top-buttons {
        top: auto;
        bottom: 60px;
        right: 15px;
        transform: translateY(0) scale(0.9);
        will-change: transform, opacity;
        animation: slideToBottomSmoothLandscape 0.8s ease-out forwards;
    }
    
    /* Optimierte Animation für Landscape */
    @keyframes slideToBottomSmoothLandscape {
        0% {
            transform: translateY(-30px) scale(1);
            opacity: 0.7;
        }
        60% {
            transform: translateY(2px) scale(0.95);
            opacity: 0.9;
        }
        100% {
            transform: translateY(0) scale(0.9);
            opacity: 1;
        }
    }

    /* Mobile-optimierte Größen für benutzerdefinierte Action Button Icons */
    .action-custom-icon {
        width: 55% !important;
        height: 55% !important;
    }
}
