/* APP Info Banner Styles */
.app-info-banner {
    position: fixed;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
    box-sizing: border-box;
    width: 90%; /* Mobile fallback */
}

/* Visibility classes */
.app-info-banner.app-banner-visible {
    opacity: 1;
    visibility: visible;
}

/* Positions */
.app-info-banner.pos-bottom-left {
    bottom: 20px;
    left: 20px;
    transform: translateY(20px);
}
.app-info-banner.pos-bottom-left.app-banner-visible {
    transform: translateY(0);
}

.app-info-banner.pos-bottom-right {
    bottom: 20px;
    right: 20px;
    transform: translateY(20px);
}
.app-info-banner.pos-bottom-right.app-banner-visible {
    transform: translateY(0);
}

.app-info-banner.pos-top-left {
    top: 20px;
    left: 20px;
    transform: translateY(-20px);
}
.app-info-banner.pos-top-left.app-banner-visible {
    transform: translateY(0);
}

.app-info-banner.pos-top-right {
    top: 20px;
    right: 20px;
    transform: translateY(-20px);
}
.app-info-banner.pos-top-right.app-banner-visible {
    transform: translateY(0);
}

.app-info-banner.pos-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
}
.app-info-banner.pos-center.app-banner-visible {
    transform: translate(-50%, -50%);
}

/* Close Button */
.app-banner-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
}
.app-banner-close:hover {
    background: #333;
}

/* Links */
.app-banner-link-wrap {
    text-decoration: none !important;
    display: block;
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-info-banner {
        /* On mobile, usually center bottom is best, or take full width minus margins */
        left: 5% !important;
        right: 5% !important;
        max-width: 90% !important;
        bottom: 20px !important;
        top: auto !important;
        transform: translateY(20px);
    }
    .app-info-banner.app-banner-visible {
        transform: translateY(0);
    }
    .app-info-banner.pos-center {
        top: 50% !important;
        bottom: auto !important;
        transform: translate(0, -40%);
    }
    .app-info-banner.pos-center.app-banner-visible {
        transform: translate(0, -50%);
    }
}
