
/* Add to Home Screen Banner Styles */
.epwa-banner {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: epwaSlideIn 0.5s ease-out;
    transform-origin: bottom;
}

.epwa-banner-bottom {
    bottom: 0;
}

.epwa-banner-top {
    top: 0;
}

@keyframes epwaSlideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.epwa-banner-content {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.epwa-banner-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.epwa-banner-text {
    flex: 1;
}

.epwa-banner-title {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.epwa-banner-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.epwa-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.epwa-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.epwa-button-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.epwa-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.epwa-button-secondary {
    background: #f0f0f0;
    color: #666;
}

.epwa-button-secondary:hover {
    background: #e0e0e0;
}

/* Modern Style */
.epwa-banner-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.epwa-banner-modern .epwa-banner-title {
    color: #fff;
}

.epwa-banner-modern .epwa-banner-message {
    color: rgba(255, 255, 255, 0.9);
}

.epwa-banner-modern .epwa-button-primary {
    background: #fff;
    color: #667eea;
}

.epwa-banner-modern .epwa-button-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(10px);
}

/* Minimal Style */
.epwa-banner-minimal {
    background: #fff;
    border-top: 3px solid #667eea;
}

.epwa-banner-minimal.epwa-banner-top {
    border-top: none;
    border-bottom: 3px solid #667eea;
}

/* Card Style */
.epwa-banner-card {
    background: transparent;
    box-shadow: none;
}

.epwa-banner-card .epwa-banner-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .epwa-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
    }
    
    .epwa-banner-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .epwa-button {
        width: 100%;
    }
    
    .epwa-banner-icon img {
        width: 50px;
        height: 50px;
    }
    
    .epwa-banner-title {
        font-size: 16px;
    }
    
    .epwa-banner-message {
        font-size: 13px;
    }
}

/* iOS Specific Styles */
@supports (-webkit-touch-callout: none) {
    .epwa-banner {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Fade out animation */
@keyframes epwaFadeOut {
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

.epwa-banner.epwa-hiding {
    animation: epwaFadeOut 0.4s ease-in forwards;
}
