/**
 * App Update Banner Styles
 * Banner für Update-Hinweise bei Android-Nutzern
 */

.app-update-banner {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
    z-index: 9998;
    animation: slideDown 0.3s ease-out;
    padding: 20px;
}

.app-update-banner.app-update-required {
    /* Kritisches Update: Sanfter queermeet Rosa/Lila Gradient */
    background: linear-gradient(135deg, #a78bfa 0%, #c084fc 50%, #e879f9 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 48px rgba(167, 139, 250, 0.4);
}

.app-update-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.app-update-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.app-update-text {
    flex: 1;
    text-align: center;
}

.app-update-text h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
}

.app-update-text p {
    margin: 0 0 12px 0;
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
}

.app-update-version {
    font-size: 13px !important;
    opacity: 0.85 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 500;
}

.app-update-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-shrink: 0;
    width: 100%;
    justify-content: center;
}

.app-update-btn-primary,
.app-update-btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    flex: 1;
    max-width: 200px;
}

.app-update-btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.app-update-btn-primary:hover {
    background: #f7f7f7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.app-update-btn-secondary {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.app-update-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-update-banner {
        top: 60px;
        width: calc(100% - 24px);
    }

    .app-update-content {
        flex-direction: column;
        text-align: center;
    }

    .app-update-text {
        text-align: center;
    }

    .app-update-actions {
        width: 100%;
    }

    .app-update-btn-primary,
    .app-update-btn-secondary {
        width: 100%;
    }

    .app-update-banner.app-update-required .app-update-content {
        padding: 24px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .app-update-banner {
        background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
        box-shadow: 0 8px 32px rgba(90, 103, 216, 0.4);
    }

    .app-update-banner.app-update-required {
        background: linear-gradient(135deg, #9f7aea 0%, #b794f4 50%, #d946ef 100%);
        box-shadow: 0 12px 48px rgba(159, 122, 234, 0.5);
    }

    .app-update-btn-primary {
        background: #f7fafc;
        color: #5a67d8;
    }
}

