/* Pwacom Notification Styles */

.pwacom-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: slideDown 0.3s ease-out;
    direction: rtl;
    display: none;
    opacity: 0;
}

@keyframes slideDown {
    from { transform: translate(-50%, -20px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.pwacom-message-error {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    border: 1px solid #ff6666;
}

.pwacom-message-success {
    background: linear-gradient(135deg, #00c853, #009624);
    color: white;
    border: 1px solid #00e676;
}

.pwacom-message-warning {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: 1px solid #ffb74d;
}

.pwacom-message-info {
    background: linear-gradient(135deg, #2196f3, #0d47a1);
    color: white;
    border: 1px solid #64b5f6;
}

/* Soft Prompt Styles - optionally moved here or kept in soft-prompt.css if that exists */
#pwacom-soft-prompt-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#pwacom-soft-prompt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
    max-width: 450px;
    width: auto;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    direction: rtl;
}

#pwacom-soft-prompt p {
    margin: 0 0 25px 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    text-align: center;
}

#pwacom-soft-prompt .buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

#pwacom-soft-prompt button {
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#pwacom-soft-prompt button.allow {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

#pwacom-soft-prompt button.deny {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#pwacom-soft-prompt button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#pwacom-soft-prompt button:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    #pwacom-soft-prompt-container {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    
    #pwacom-soft-prompt {
        padding: 20px;
        width: 100%;
    }
    
    #pwacom-soft-prompt .buttons {
        flex-direction: column;
    }
}
