 .smart-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f2f2f2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.smart-banner-show {
    transform: translateY(0);
}

.smart-banner-hide {
    transform: translateY(-100%);
}

.smart-banner-content {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    max-width: 100%;
    box-sizing: border-box;
}

.smart-banner-close {
    border: none;
    padding: 0;
    border-radius: 50%;
    margin-right: 14px;
}

.smart-banner-close img {
    width: 18px;
    height: auto;
    display: block;
}

.smart-banner-icon {
    flex-shrink: 0;
    margin-right: 12px;
}

.smart-banner-icon img {
    width: 45px;
    height: 45px;
    display: block;
}

.smart-banner-info {
    flex: 1;
    min-width: 0;
    margin-right: 6px;
}

.smart-banner-message {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
    white-space: normal;
}

.smart-banner-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.smart-banner-button {
    display: inline-block;
    padding: 2px 14px;
    background: #007AFF;
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 17px;
    font-weight: 600;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.smart-banner.hide-close-button .smart-banner-close {
    display: none;
}

@supports (-webkit-touch-callout: none) {
    .smart-banner {
        padding-top: env(safe-area-inset-top);
    }
}
