/* APEX Push Notifications - Public Styles */

.ctfo-push-prompt {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
    max-width: 400px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ctfo-push-prompt-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ctfo-push-prompt-icon {
    text-align: center;
    font-size: 48px;
    line-height: 1;
}

.ctfo-push-prompt-text {
    text-align: center;
}

.ctfo-push-prompt-text h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ctfo-push-prompt-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.ctfo-push-prompt-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.ctfo-push-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.ctfo-push-btn-primary {
    background: linear-gradient(135deg, #005eb8 0%, #004d99 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 94, 184, 0.4);
}

.ctfo-push-btn-primary:hover {
    background: linear-gradient(135deg, #004d99 0%, #003d7a 100%);
    box-shadow: 0 6px 20px rgba(0, 94, 184, 0.6);
}

.ctfo-push-btn-secondary {
    background: transparent;
    color: #888;
    padding: 12px 24px;
    font-size: 14px;
}

.ctfo-push-btn-secondary:hover {
    color: #666;
}

/* Unsubscribe widget */
.ctfo-push-unsubscribe-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999998;
}

.ctfo-push-unsubscribe-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.ctfo-push-unsubscribe-link:hover {
    background: #f8f8f8;
    border-color: #ccc;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ctfo-push-unsubscribe-link .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .ctfo-push-prompt {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 8px 8px 0 0;
    }

    .ctfo-push-prompt-content {
        padding: 15px;
    }

    .ctfo-push-prompt-actions {
        flex-direction: column;
    }

    .ctfo-push-btn {
        width: 100%;
    }

    .ctfo-push-unsubscribe-widget {
        bottom: 10px;
        left: 10px;
    }

    .ctfo-push-unsubscribe-link {
        padding: 8px 12px;
        font-size: 12px;
    }
}
