﻿.app-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0f172a;
    color: #fff;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .app-banner.show {
        display: block;
    }

.app-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

.app-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.app-text {
    flex: 1;
    min-width: 0;
}

.app-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.app-subtitle {
    font-size: 13px;
    opacity: 0.92;
    margin-top: 2px;
    line-height: 1.2;
}

.app-button {
    display: inline-block;
    background: #22c55e;
    color: #000;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.app-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 6px;
    flex-shrink: 0;
}

body.has-app-banner {
    padding-top: 72px;
}

@media (max-width: 576px) {
    .app-banner-content {
        padding: 10px 12px;
        gap: 10px;
    }

    .app-icon {
        width: 36px;
        height: 36px;
    }

    .app-title {
        font-size: 14px;
    }

    .app-subtitle {
        font-size: 12px;
    }

    .app-button {
        padding: 9px 12px;
        font-size: 12px;
    }

    body.has-app-banner {
        padding-top: 68px;
    }
}
